Modify

Opened 6 years ago

Closed 6 years ago

#16115 closed defect (fixed)

Freeze on Saving to File with New Name

Reported by: Hb--- Owned by: team
Priority: major Milestone: 18.03
Component: Core Version:
Keywords: template_report deadlock Cc:

Description

What steps will reproduce the problem?

  1. Create a new layer.
  2. Set a point on it to make it dirty.
  3. Delete this layer. The dialog Unsaved changes - Save/Upload before deleting? appears.
  4. Click in the text field Click here to choose save path. (Do not click on the small … button to provoke this bug.)
  5. Enter a filename in the text field, datalay4 for example.
  6. Deselect Upload in the column Actions to take.
  7. Click the button Perform actions before deleting.

What is the expected result?

Create a file datalay4.osm in the current directory and save the data of the layer.

What happens instead?

Freeze. No file is created, data is lost and JOSM needs to be restarted.

Please provide any additional information below. Attach a screenshot if possible.


Occurs on Windows and on Ubuntu.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-03-19 00:48:34 +0100 (Mon, 19 Mar 2018)
Build-Date:2018-03-19 02:32:19
Revision:13544
Redirecting:to URL 'https://josm.openstreetmap.de/svn/trunk':
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13544 en) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 162 MB / 247 MB (26 MB allocated, but free)
Java version: 1.8.0_172-ea-b03, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1280x1024
Maximum Screen Size: 1280x1024
Program arguments: [--language=en]

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.

Attachments (1)

somefilename.png (37.5 KB ) - added by Hb--- 6 years ago.

Download all attachments as: .zip

Change History (4)

by Hb---, 6 years ago

Attachment: somefilename.png added

comment:1 by Don-vip, 6 years ago

Milestone: 18.03

comment:2 by Don-vip, 6 years ago

Keywords: deadlock added
Priority: normalmajor

comment:3 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 13570/josm:

fix #16115 - avoid deadlock in save/upload dialog when a save action fails

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.