Opened 5 years ago
Closed 3 years ago
#19812 closed defect (needinfo)
JOSM stop responding while editing
Reported by: | SergeyAstakhov | Owned by: | SergeyAstakhov |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Cc: |
Description (last modified by )
Environment: Windows 10 Pro 2004, Java Oracle JDK 10.0.2, run JOSM with WebStart, JOSM version 17013
Was just editing data in JOSM and it suddenly locked out. After connecting via jconsole, this thread was found among the others, apparently performing some kind of endless drawing cycle:
Name: AWT-EventQueue-2 State: RUNNABLE Total blocked: 406 545 Total waited: 702 781 Stack trace: java.desktop@10.0.2/sun.java2d.marlin.DRenderer.closePath(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DRenderer.moveTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DStroker.emitMoveTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DStroker.drawJoin(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DStroker.lineTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DStroker.lineTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DDasher.emitSeg(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DDasher.goTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DDasher.lineTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DMarlinRenderingEngine.pathToLoop(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DMarlinRenderingEngine.pathTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DMarlinRenderingEngine.strokeTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DMarlinRenderingEngine.strokeTo(Unknown Source) java.desktop@10.0.2/sun.java2d.marlin.DMarlinRenderingEngine.getAATileGenerator(Unknown Source) java.desktop@10.0.2/sun.java2d.pipe.AAShapePipe.renderPath(Unknown Source) java.desktop@10.0.2/sun.java2d.pipe.AAShapePipe.draw(Unknown Source) java.desktop@10.0.2/sun.java2d.pipe.PixelToParallelogramConverter.draw(Unknown Source) java.desktop@10.0.2/sun.java2d.SunGraphics2D.draw(Unknown Source) org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.displaySegments(StyledMapRenderer.java:403) org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.drawWay(StyledMapRenderer.java:1373) org.openstreetmap.josm.gui.mappaint.styleelement.LineElement.paintPrimitive(LineElement.java:160) org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$StyleRecord.paintPrimitive(StyledMapRenderer.java:226) org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.paintRecord(StyledMapRenderer.java:1713) org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.paintWithLock(StyledMapRenderer.java:1695) org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.render(StyledMapRenderer.java:1644) org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:542) org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable$CompatibilityModeLayerPainter.paint(AbstractMapViewPaintable.java:27) org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:466) org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:581) org.openstreetmap.josm.gui.MapView.paint(MapView.java:488) java.desktop@10.0.2/javax.swing.JComponent.paintChildren(Unknown Source) - locked java.awt.Component$AWTTreeLock@6d6a811c java.desktop@10.0.2/javax.swing.JComponent.paint(Unknown Source) java.desktop@10.0.2/javax.swing.JComponent.paintToOffscreen(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedFPScales(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager$PaintManager.paint(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager.paint(Unknown Source) java.desktop@10.0.2/javax.swing.JComponent._paintImmediately(Unknown Source) java.desktop@10.0.2/javax.swing.JComponent.paintImmediately(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager$4.run(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager$4.run(Unknown Source) java.base@10.0.2/java.security.AccessController.doPrivileged(Native Method) java.base@10.0.2/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager.access$1200(Unknown Source) java.desktop@10.0.2/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) java.desktop@10.0.2/java.awt.event.InvocationEvent.dispatch(Unknown Source) java.desktop@10.0.2/java.awt.EventQueue.dispatchEventImpl(Unknown Source) java.desktop@10.0.2/java.awt.EventQueue.access$600(Unknown Source) java.desktop@10.0.2/java.awt.EventQueue$4.run(Unknown Source) java.desktop@10.0.2/java.awt.EventQueue$4.run(Unknown Source) java.base@10.0.2/java.security.AccessController.doPrivileged(Native Method) java.base@10.0.2/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.desktop@10.0.2/java.awt.EventQueue.dispatchEvent(Unknown Source) java.desktop@10.0.2/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) java.desktop@10.0.2/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) java.desktop@10.0.2/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) java.desktop@10.0.2/java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.desktop@10.0.2/java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.desktop@10.0.2/java.awt.EventDispatchThread.run(Unknown Source)
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-09-06 16:54:59 +0200 (Sun, 06 Sep 2020) Revision:17013 Build-Date:2020-09-07 01:30:48 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17013 ru) Windows 10 64-Bit OS Build number: Windows 10 Pro 2004 (19041) Memory Usage: 2044 MB / 2048 MB (970 MB allocated, but free) Java version: 10.0.2+13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 3840x2160 (scaling 1.75x1.75) Maximum Screen Size: 3840x2160 Best cursor sizes: 16x16 -> 48x48, 32x32 -> 48x48 VM arguments: [--add-modules=ALL-DEFAULT,javafx.deploy, -Djava.security.manager, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, --add-modules=java.scripting,java.sql, --add-exports=java.base/sun.security.util=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=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, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.home=<java.home>, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=%UserProfile%\AppData\Local\Temp\session2339113020267024122, -Djnlpx.heapsize=-1,2147483648, -Djava.security.policy=file:<java.home>\conf\security\javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-2ef1e8c2, --illegal-access=deny, --add-modules=ALL-DEFAULT, --add-exports=java.base/com.sun.net.ssl.internal.ssl=jdk.deploy, --add-exports=java.base/jdk.internal.misc=jdk.deploy, --add-exports=java.base/jdk.internal.util.jar=jdk.deploy, --add-exports=java.base/sun.net.www=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.file=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.http=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.http.ntlm=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.https=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.jar=jdk.deploy, --add-exports=java.base/sun.nio=jdk.deploy, --add-exports=java.base/sun.reflect.misc=jdk.deploy, --add-exports=java.base/sun.security.action=jdk.deploy, --add-exports=java.base/sun.security.pkcs=jdk.deploy, --add-exports=java.base/sun.security.provider=jdk.deploy, --add-exports=java.base/sun.security.provider.certpath=jdk.deploy, --add-exports=java.base/sun.security.rsa=jdk.deploy, --add-exports=java.base/sun.security.ssl=jdk.deploy, --add-exports=java.base/sun.security.timestamp=jdk.deploy, --add-exports=java.base/sun.security.util=jdk.deploy, --add-exports=java.base/sun.security.validator=jdk.deploy, --add-exports=java.base/sun.security.x509=jdk.deploy, --add-exports=java.base/sun.usagetracker=jdk.deploy, --add-exports=java.desktop/sun.awt=jdk.deploy, --add-exports=java.naming/com.sun.jndi.toolkit.url=jdk.deploy, --add-exports=java.base/jdk.internal.misc=jdk.javaws, --add-exports=java.desktop/com.sun.media.sound=jdk.javaws, --add-exports=java.desktop/sun.awt=jdk.javaws, --add-exports=java.desktop/sun.awt.image=jdk.javaws, --add-exports=java.base/jdk.internal.misc=jdk.plugin, --add-exports=java.base/sun.net=jdk.plugin, --add-exports=java.base/sun.net.www=jdk.plugin, --add-exports=java.base/sun.net.www.protocol.jar=jdk.plugin, --add-exports=java.base/sun.security.action=jdk.plugin, --add-exports=java.base/sun.security.util=jdk.plugin, --add-exports=java.desktop/com.sun.media.sound=jdk.plugin, --add-exports=java.desktop/java.awt.peer=jdk.plugin, --add-exports=java.desktop/sun.applet=jdk.plugin, --add-exports=java.desktop/sun.applet.resources=jdk.plugin, --add-exports=java.desktop/sun.awt=jdk.plugin, --add-exports=java.desktop/sun.awt.windows=jdk.plugin, --add-exports=java.desktop/sun.swing=jdk.plugin, --add-exports=jdk.jsobject/jdk.internal.netscape.javascript.spi=jdk.plugin, --add-exports=java.desktop/sun.awt.image=jdk.plugin, -Djdk.module.main=jdk.plugin] Plugins: + apache-commons (35524) + buildings_tools (35500) + ejml (35313) + geotools (35169) + jaxb (35092) + jts (35122) + opendata (35513) + reverter (35499) + turnrestrictions (35515) + utilsplugin2 (35487)
Attachments (1)
Change History (7)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Anyway looks like a java issue. I'd recommend not to use java 10, but update either to 11 or 14.
comment:4 by , 5 years ago
Description: | modified (diff) |
---|
comment:5 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Java 10 in unsupported. Either use Java 11 (LTS) or latest (15 right now).
comment:6 by , 3 years ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
Would you, please, add a status report to get the information about your installed plugins, presets and styles. Thanks