Modify

Opened 16 months ago

Last modified 16 months ago

#21444 new defect

Computer suspend while uploading freezes JOSM

Reported by: xeruf Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report upload Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

Not sure if that can reproduce, but that is what I did:

  1. Upload a changeset while quitting
  2. Suspend computer (shut lid of laptop)
  3. Wake up again

What is the expected result?

Upload continues or is aborted

What happens instead?

JOSM hangs unresponsively, unable to do anything.
I had to kill it in the end.

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

https://i.imgur.com/RWUn8rD.png

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021)
Revision:18193
Build-Date:2021-09-03 01:31:19
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18193 en) Linux Arch Linux
Memory Usage: 898 MB / 5984 MB (609 MB allocated, but free)
Java version: 11.0.12+7, Oracle Corporation, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
VM arguments: [-Djosm.restart=true, -Djava.util.prefs.userRoot=${HOME}/.config/java]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35640)
+ auto_tools (81)
+ buildings_tools (35823)
+ changeset-viewer (25)
+ continuosDownload (99)
+ imagery_offset_db (35640)
+ jts (35458)
+ openvisible (35640)
+ turnlanes (35812)
+ undelete (35640)
+ utilsplugin2 (35792)
+ wikipedia (1.1.4)

Last errors/warnings:
- 00026.614 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm>
- 00026.625 E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.</html>
- 00028.292 W: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- 00028.294 E: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- 00028.810 W: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- 00028.811 E: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- 00029.113 W: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- 00029.114 E: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- 00029.417 W: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- 00029.418 E: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server

Attachments (0)

Change History (3)

comment:1 Changed 16 months ago by skyper

Description: modified (diff)

comment:2 Changed 16 months ago by skyper

Description: modified (diff)
Keywords: upload added
Version: tested

comment:3 in reply to:  description Changed 16 months ago by skyper

Replying to xeruf:

What steps will reproduce the problem?

Not sure if that can reproduce, but that is what I did:

  1. Upload a changeset while quitting
  2. Suspend computer (shut lid of laptop)

Don't do that. Suspending while uploading asks for problems. Either upload or save and upload later.

The complete stall is probably the same problem as #9330 and #21255. JOSM stalls if the connection timeouts at the wrong moment.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to xeruf
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.