Modify

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#5559 closed defect (fixed)

josm still does not use or even delete saved osm-states

Reported by: wambacher Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: autosave Cc:

Description

hi, still the old problem - for me -

i can only delete the autosave-directory to get rid of that stuff.
some older release "fixed" that bug, but i don't see any changes.
i'm using version 3609 but i've seen NO version dealing with that problem.
regards
walter

Attachments (5)

snap2.png (16.7 KB ) - added by anonymous 14 years ago.
snap1.png (25.7 KB ) - added by anonymous 14 years ago.
discard_strace.log.bz2 (937.9 KB ) - added by wambacher 13 years ago.
strace discarding recovery-files
recover_strace.log.bz2 (978.0 KB ) - added by wambacher 13 years ago.
trying to recover edits.
5548.tar.bz2 (589.8 KB ) - added by frief 13 years ago.
debug output for ticket #5548 with josm 3678

Change History (17)

by anonymous, 14 years ago

Attachment: snap2.png added

by anonymous, 14 years ago

Attachment: snap1.png added

comment:1 by peter_ille, 14 years ago

found that #5548 is the same problem but less infos.

comment:2 by jttt, 13 years ago

Next time this happen, can you please run it in strace? The command would be:

strace -f -o strace.log java -jar josm-latest.jar

Start josm, click on Discard button, close josm and attach strace.log to this ticket.

by wambacher, 13 years ago

Attachment: discard_strace.log.bz2 added

strace discarding recovery-files

by wambacher, 13 years ago

Attachment: recover_strace.log.bz2 added

trying to recover edits.

in reply to:  2 comment:3 by anonymous, 13 years ago

Replying to jttt:

Next time this happen, can you please run it in strace? The command would be:

strace -f -o strace.log java -jar josm-latest.jar

Start josm, click on Discard button, close josm and attach strace.log to this ticket.

done.

regards
walter

comment:4 by bastiK, 13 years ago

Added debug output in [3675], could you please run again, click on "discard" (3rd button, just to avoid misunderstanding) and report the console output?

(I looked at the strace. There should be 2 attempts to read/list the autosave folder: one on start and one after you clicked the discard button. But only the first is present, which leads me to believe that for some reason, some code isn't executed at all.)

comment:5 by bastiK, 13 years ago

Ticket #5548 has been marked as a duplicate of this ticket.

comment:6 by bastiK, 13 years ago

Ticket #5499 has been marked as a duplicate of this ticket.

by frief, 13 years ago

Attachment: 5548.tar.bz2 added

debug output for ticket #5548 with josm 3678

comment:7 by frief, 13 years ago

continuing from ticket #5548

Could you please rerun with r3675 and report
debugging output to ticket #5559?

not fixed for me with r3678.

I'm attaching the strace output mentioned above,
console output and the output of
josm/help/show_status_report.txt

(just start, then discard)

Greetings,
Frieder

comment:8 by bastiK, 13 years ago

In [3679/josm]:

see #5559 - ExtendedDialog.showDialog() blocks when called in main thread, so move gui stuff to edt. This problem is highly system dependent (i could never reproduce it myself, but seems to be quite common)

comment:9 by bastiK, 13 years ago

This should solve the problem, please confirm!

comment:10 by frief, 13 years ago

Fixes the problem for me, thanks!)

comment:11 by bastiK, 13 years ago

Resolution: fixed
Status: newclosed

comment:12 by bastiK, 13 years ago

Ticket #5656 has been marked as a duplicate of this ticket.

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.