Modify

Opened 2 years ago

Closed 8 months ago

#22670 closed defect (needinfo)

CPU spins at max when Find Dialog opened (no repro, memory dump available)

Reported by: watmildon Owned by: watmildon
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description (last modified by taylor.smock)

What steps will reproduce the problem?

  1. Downloaded 39.8765464;-86.2722015;39.9318539;-86.1558151 with this overpass:
    [out:json][timeout:25];
    (  
      way[highway]({{bbox}});
    );
    // print results
    out body;
    >;
    out skel qt;
    
  2. searched for this ("tiger:reviewed" AND highway AND -name_1 AND -"tiger:name_base_1")
  3. moved around the area looking at results
  4. Opened search again

What is the expected result?

Search box opens and is operational

What happens instead?

CPU spun up to the max for one core for an indeterminate time.

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

I hit a weird condition where opening the JOSM search box caused it to spike the cpu continuously and the search box was unresponsive to keyboard and mouse input for many minutes with no sign of stopping. I am not able to reproduce this issue but did collect a memory dump if that's interesting or useful.

Revision:18622
Build-Date:2023-01-04 12:54:08

Identification: JOSM/1.5 (18622 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 588 MB / 4088 MB (327 MB allocated, but free)
Java version: 17.0.5+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1440×2560 (scaling 1.00×1.00) \Display1 3840×2160 (scaling 1.50×1.50)
Maximum Screen Size: 3840×2560
Best cursor sizes: 16×16→48×48, 32×32→48×48
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18622, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35978)
+ FixAddresses (36011)
+ apache-commons (36034)
+ apache-http (35924)
+ buildings_tools (36011)
+ conflation (0.6.9)
+ continuosDownload (105)
+ contourmerge (v0.1.9)
+ ejml (35924)
+ geotools (36028)
+ gridify (1606242219)
+ imagery_offset_db (35978)
+ jackson (36034)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ mapwithai (v1.10.3)
+ opendata (36025)
+ tageditor (36011)
+ terracer (35978)
+ todo (30306)
+ turnrestrictions (36011)
+ utilsplugin2 (36011)
+ wikipedia (605)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/TigerReviewedNo&zip=1
+ %UserProfile%\Address Tags Validator - Highlight unaddressed
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1

Last errors/warnings:
- 00000.424 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.427 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00002.718 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00018.382 E: Failed to locate image 'MapWithAI'

Attachments (0)

Change History (5)

comment:1 by taylor.smock, 2 years ago

Description: modified (diff)
Owner: changed from team to watmildon
Status: newneedinfo

It would be appreciated if you could upload the memory dump. I'm not hopeful -- profiling would probably have been a better option, since it would have shown which methods were taking up the CPU time/memory allocations (depending upon settings). If you have a JDK installed, look for Java Flight Recorder if this happens again.

If we are lucky the memory dump will show something very wrong, but things that are not the problem are likely to overwhelm the problem.

comment:2 by watmildon, 2 years ago

I'm happy to send you a link to the dump via slack. Not sure I want a full memory dump available broadly (has my tokens, ip etc etc). I will make sure to have Java Flight Recorder on hand in case the issue reappears.

in reply to:  2 comment:3 by gaben, 2 years ago

Replying to watmildon:

via slack

Is it an official communication channel? Because I don't see modern apps in the contact section, although interested in one where I can get answers without creating a ticket.

comment:4 by taylor.smock, 2 years ago

I'm on the following networks:

  • Matrix
  • Slack
    • OSMUS
    • HOTOSM (bridged in via Matrix)
  • OFTC IRC (#josm and #osm, bridged in from Matrix)
  • OSM World Discord (bridged in from Matrix)

My handle on most of the networks is some derivative of vorpalblade for the most part. You should see the display name as Taylor Smock.

EDIT: To clarify, none of them except for #josm are official communication channels.

Last edited 2 years ago by taylor.smock (previous) (diff)

comment:5 by taylor.smock, 8 months ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain watmildon.
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.