Modify

Opened 4 years ago

Closed 4 years ago

#21473 closed defect (duplicate)

Loading gpx files one after the other freezes JOSM completely

Reported by: anonymous Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Load a gpx file
  2. Load another gpx file
  3. Maybe load another gpx file

What is the expected result?

Load gpx files.

What happens instead?

  1. Console log of all gpx files is be ok, this is the last one: "INFO: Open file: path.gpx (2120172 bytes) completed in 82 ms"
  2. Freeze, even background auto save doesn't work (I waited long enough), thus edits are lost

If I select all gpx files at the same time, loading works, without freeze, but this isn't possible, if the gpx files are inside different folders.

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

Revision:18291
Is-Local-Build:true
Build-Date:2021-10-26 14:07:44

Identification: JOSM/1.5 (18291 de) Linux Ubuntu 20.04.3 LTS
Memory Usage: 312 MB / 10240 MB (165 MB allocated, but free)
Java version: 17+35-Ubuntu-120.04, Private Build, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: de_DE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1
libcommons-compress-java: libcommons-compress-java:all-1.19-1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-
VM arguments: [-Djosm.home=<josm.pref>]

Plugins:
+ Mapillary (2.0.0-alpha.38)
+ PicLayer (1.0.1)
+ apache-commons (35524)
+ apache-http (35589)
+ buildings_tools (35823)
+ ejml (35458)
+ geotools (35458)
+ jaxb (35543)
+ jna (35662)
+ jts (35458)
+ reverter (35732)
+ utilsplugin2 (35792)

Attachments (0)

Change History (8)

comment:1 by skyper, 4 years ago

Similar to #21462.

comment:2 by skyper, 4 years ago

Owner: changed from team to anonymous
Status: newneedinfo

Just tried with some random gpx files and cannot reproduce. Can you please attach examples, thanks.

Despite that this would be a major regression, I thought, there was some option for a tree view in the file dialog added recently, probably only if "native file dialog" is used.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-10-26 00:57:23 +0200 (Tue, 26 Oct 2021)
Revision:18291
Build-Date:2021-10-26 01:31:03
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18291 en) Linux Debian GNU/Linux 11 (bullseye)
Memory Usage: 168 MB / 256 MB (56 MB allocated, but free)
Java version: 17-ea+19-Debian-1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Environment variable LANG: en_US.utf8
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: GNOME
libcommons-compress-java: libcommons-compress-java:all-1.20-1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20201225-1
VM arguments: [-Djosm.home=<josm.pref>]

comment:3 by anonymous, 4 years ago

Can you please attach examples, thanks.

It affects any gps file, you may try:
https://www.openstreetmap.org/trace/3044898/data
https://www.openstreetmap.org/trace/3045798/data
https://www.openstreetmap.org/trace/3046219/data
https://www.openstreetmap.org/trace/3046503/data
https://www.openstreetmap.org/trace/3046632/data
I don't want to upload my private ones, but I also tested the gpx files above.
Freezes after loading three gpx files.
I tested these files with completely new JOSM profile.

comment:4 by anonymous, 4 years ago

This patch https://josm.openstreetmap.de/attachment/ticket/21462/21462-synchronized.patch I found here https://josm.openstreetmap.de/ticket/21462 solves the problem for me. I don't know, if this is a correct fix.

comment:5 by skyper, 4 years ago

Thanks, strange I still cannot reproduce.

comment:6 by skyper, 4 years ago

Owner: changed from anonymous to team
Status: needinfonew

comment:7 by anonymous, 4 years ago

Priority: criticalmajor

comment:8 by Don-vip, 4 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #21462.

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.