Modify

Opened 3 months ago

Last modified 3 months ago

#24478 new defect

Hang after using level auto-filter (thread AWT-EventQueue- uses 100% CPU)

Reported by: mikedld Owned by: rebsc
Priority: normal Milestone:
Component: Plugin ​indoorhelper Version:
Keywords: template_report Cc:

Description (last modified by mikedld)

What steps will reproduce the problem?

  1. Open the attached file
  2. in the top-left view corner, switch to level [17] auto-filter and select level -3

What is the expected result?

The view is filtered to only show features from level -3.

What happens instead?

The view is seemingly filtered (not sure if partially) but the app becomes unresponsive right after, the thread "AWT-EventQueue-" is consuming 100% CPU. Waiting for several hours doesn't help, killing the process and recovering from the backup is the only way. Running with --debug doesn't yield any output after opening the file and before the hang.

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-08-31 14:19:57 +0200 (Sun, 31 Aug 2025)
Revision:19439
Build-Date:2025-09-02 01:30:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19439 en) Linux Gentoo Linux
Memory Usage: 1024 MB / 4096 MB (586 MB allocated, but free)
Java version: 21.0.8+9-LTS, Eclipse Adoptium, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Screen: :0.0 1920x1200x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: es_ES.utf8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_ES
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.library.path=/lib64, --module-path=${HOME}/.local/javafx-sdk-21.0.3/lib, --add-modules=javafx.base,javafx.controls,javafx.graphics,javafx.media,javafx.swing, -Dswing.aatext=TRUE, -Dawt.useSystemAAFontSettings=on]

Plugins:
+ MapRoulette (75)
+ Mapillary (1813)
+ MicrosoftStreetside (36438)
+ PicLayer (269)
+ PolygonCutOut (v0.7.3)
+ ShapeTools (e2b1469)
+ apache-commons (36438)
+ apache-http (36438)
+ buildings_tools (36438)
+ ejml (36438)
+ geotools (36438)
+ imagery_offset_db (36438)
+ importvec (36438)
+ indoorhelper (262)
+ jackson (36438)
+ javafx (36438)
+ jaxb (36438)
+ jna (36438)
+ jogl (1.2.3)
+ jts (36438)
+ log4j (36438)
+ lwjgl (36438)
+ lwjgl-unixoid (36438)
+ measurement (36438)
+ opendata (36440)
+ openqa (115)
+ reltoolbox (36438)
+ reverter (36447)
+ scripting (v0.3.5)
+ splinex (36438)
+ undelete (36438)
+ utilsplugin2 (36438)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Addr2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/HighwayAreas&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/CyclewaysStylingBNA&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ ${HOME}/Repo/osm/<user.name>-osm/pt/style.mapcss
- <josm.userdata>/plugins/indoorhelper/resources/sit.mapcss

Validator rules:
- https://josm.openstreetmap.de/josmfile?page=Rules/Portuguese-Errors-PT2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/Portuguese-Specific&zip=1

Attachments (1)

Change History (9)

comment:1 by mikedld, 3 months ago

Simply downloading the area 38.7655783,-9.1023713,38.7701289,-9.0949792 and switching to level -3 leads to the same result.

comment:2 by mikedld, 3 months ago

Description: modified (diff)

comment:3 by anonymous, 3 months ago

After some recent OSM data changes, no longer able to reproduce by simply downloading the area. Opening the file still leads to a hang though.

comment:4 by GerdP, 3 months ago

I cannot reproduce the problem on my laptop.

comment:5 by anonymous, 3 months ago

Anything I can do to troubleshoot myself? Any additional info you might need?

comment:6 by stoecker, 3 months ago

You can backup your config, start with a default config and if that works step by step try to find if something in your config may be needed to cause the behavior. The more relevant details we have, the easier it is to find a problem. Sometimes with enough relevant details it's even possible to fix something we can not reproduce.

comment:7 by mikedld, 3 months ago

Thanks. I played around with the config and it looks like it hangs (with the original steps and clean config) if I have the indoorhelper plugin installed.

Last edited 3 months ago by mikedld (previous) (diff)

comment:8 by mikedld, 3 months ago

Component: CorePlugin ​indoorhelper
Owner: changed from team to rebsc

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain rebsc.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rebsc to the specified user.
Next status will be 'needinfo'. The owner will be changed from rebsc to mikedld.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from rebsc to anonymous. Next status will be 'assigned'.

Add Comment


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