Opened 14 years ago
Closed 14 years ago
#4356 closed defect (worksforme)
josm locked up temporarily after some edits and "unselect"
Reported by: | Cobra | Owned by: | team |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
I edited some things (bus stops and line relations to be exact), had some ways selected and wanted to unselect them by pressing "u". Immediately after that josm locked up completely. No response to anything, the window stayed in my background color (grey), only the window manager's frame was drawn, the rest stayed empty for several minutes (I had enough time to wait a bit, get a terminal, look into the log (josm's stdout+stderr), "kill -QUIT" josm, look at the output and start writing this ticket).
Layers were (all active) the default ones: Data Layer, Downloaded GPX Data, Validation errors
CPU load stayed normal for the whole time josm was locked up, no 100% load.
At least it worked again after that time and could upload fine, so no data got lost.
thread dump, maybe someone can find a problem here:
Full thread dump Java HotSpot(TM) Client VM (14.3-b01 mixed mode, sharing): "OpenStreetBugs download loop" prio=10 tid=0x08b2a800 nid=0x3664 waiting on condition [0xb13c7000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at org.openstreetmap.josm.plugins.osb.OsbDownloadLoop.run(OsbDownloadLoop.java:94) "Map Status Collector" daemon prio=10 tid=0x08b55400 nid=0x3663 in Object.wait() [0xb17c3000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:148) - locked <0x6dcead88> (a org.openstreetmap.josm.gui.MapStatus$Collector) at java.lang.Thread.run(Thread.java:619) "pool-1-thread-1" prio=10 tid=0x0855ec00 nid=0x365b waiting on condition [0xb1ce4000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x6ce0e0a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) "Timer-0" daemon prio=10 tid=0x08479800 nid=0x3645 in Object.wait() [0xb1990000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at java.util.TimerThread.mainLoop(Timer.java:483) - locked <0x6d8158a0> (a java.util.TaskQueue) at java.util.TimerThread.run(Timer.java:462) "OSMJobThread 1" daemon prio=10 tid=0x0879f800 nid=0x3644 waiting on condition [0xb1865000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x6d7f7c48> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358) at org.openstreetmap.gui.jmapviewer.JobDispatcher$JobThread.executeJobs(JobDispatcher.java:111) at org.openstreetmap.gui.jmapviewer.JobDispatcher$JobThread.run(JobDispatcher.java:98) "DestroyJavaVM" prio=10 tid=0x08059c00 nid=0x3620 waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE "RemoteControl HTTP Server" daemon prio=10 tid=0x0879a800 nid=0x363e runnable [0xb1917000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) - locked <0x6d756ee0> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.openstreetmap.josm.plugins.remotecontrol.HttpServer.run(HttpServer.java:51) "TimerQueue" daemon prio=10 tid=0x08482000 nid=0x362f in Object.wait() [0xb18b6000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at javax.swing.TimerQueue.run(TimerQueue.java:232) - locked <0x6d102fd8> (a javax.swing.TimerQueue) at java.lang.Thread.run(Thread.java:619) "AWT-EventQueue-0" prio=10 tid=0x0825b800 nid=0x362c in Object.wait() [0xb1d35000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at java.awt.EventQueue.getNextEvent(EventQueue.java:479) - locked <0x6ce8b560> (a java.awt.EventQueue) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:236) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) "AWT-Shutdown" prio=10 tid=0x0825a800 nid=0x362b in Object.wait() [0xb1d86000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0x6ce07970> (a java.lang.Object) at java.lang.Thread.run(Thread.java:619) "AWT-XAWT" daemon prio=10 tid=0x0822bc00 nid=0x362a waiting on condition [0xb1dd7000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x6ce23220> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2054) at sun.awt.SunToolkit.awtLockWait(SunToolkit.java:256) at sun.awt.X11.XlibWrapper.XNextSecondaryLoopEvent(Native Method) at sun.awt.X11.XToolkit.run(XToolkit.java:537) at sun.awt.X11.XToolkitThreadBlockedHandler.enter(XToolkitThreadBlockedHandler.java:31) at sun.awt.datatransfer.DataTransferer.convertData(DataTransferer.java:2173) at sun.awt.X11.XSelection.convertAndStore(XSelection.java:527) at sun.awt.X11.XSelection.handleSelectionRequest(XSelection.java:689) at sun.awt.X11.XSelection.access$600(XSelection.java:30) at sun.awt.X11.XSelection$SelectionEventHandler.dispatchEvent(XSelection.java:790) at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:489) at sun.awt.X11.XToolkit.run(XToolkit.java:588) at sun.awt.X11.XToolkit.run(XToolkit.java:523) at java.lang.Thread.run(Thread.java:619) "Java2D Queue Flusher" daemon prio=10 tid=0x08225800 nid=0x3629 in Object.wait() [0xb1ec8000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:176) - locked <0x6ce96118> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher) "Java2D Disposer" daemon prio=10 tid=0x081a7000 nid=0x3628 in Object.wait() [0xb1f32000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x6ce1e5c8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at sun.java2d.Disposer.run(Disposer.java:125) at java.lang.Thread.run(Thread.java:619) "Low Memory Detector" daemon prio=10 tid=0x080ca400 nid=0x3626 runnable [0x00000000] java.lang.Thread.State: RUNNABLE "CompilerThread0" daemon prio=10 tid=0x080c7000 nid=0x3625 waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" daemon prio=10 tid=0x080c5800 nid=0x3624 waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE "Finalizer" daemon prio=10 tid=0x08081400 nid=0x3623 in Object.wait() [0xb4fb9000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x6cd8d148> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x0807fc00 nid=0x3622 in Object.wait() [0xb500a000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0x6cd8d1d0> (a java.lang.ref.Reference$Lock) "VM Thread" prio=10 tid=0x0807e000 nid=0x3621 runnable "VM Periodic Task Thread" prio=10 tid=0x080de000 nid=0x3627 waiting on condition JNI global references: 5960 Heap def new generation total 4352K, used 640K [0x69f60000, 0x6a410000, 0x6cd80000) eden space 3904K, 12% used [0x69f60000, 0x69fda578, 0x6a330000) from space 448K, 33% used [0x6a330000, 0x6a355c58, 0x6a3a0000) to space 448K, 0% used [0x6a3a0000, 0x6a3a0000, 0x6a410000) tenured generation total 57292K, used 35820K [0x6cd80000, 0x70573000, 0x8f760000) the space 57292K, 62% used [0x6cd80000, 0x6f07b058, 0x6f07b200, 0x70573000) compacting perm gen total 12288K, used 8461K [0x8f760000, 0x90360000, 0x93760000) the space 12288K, 68% used [0x8f760000, 0x8ffa3540, 0x8ffa3600, 0x90360000) ro space 8192K, 74% used [0x93760000, 0x93d593f0, 0x93d59400, 0x93f60000)
josm's status after the lockup was over:
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-01-12 02:32:13 Last Changed Author: mjulius Revision: 2818 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-01-11 21:25:29 +0100 (Mon, 11 Jan 2010) Last Changed Rev: 2818 Memory Usage: 60 MB / 595 MB (20 MB allocated, but free) Java version: 1.6.0_17 Dataset consistency test: No problems found Plugins: PicLayer,colorscheme,measurement,openstreetbugs,openvisible,remotecontrol,validator,wmsplugin Plugin openstreetbugs Version: 19366 Plugin colorscheme Version: 19290 Plugin wmsplugin Version: 19306 Plugin openvisible Version: 19352 Plugin PicLayer Version: 19062 Plugin remotecontrol Version: 19298 Plugin validator Version: 19335 Plugin measurement Version: 19058
java version "1.6.0_17", running on ubuntu 8.04 LTS
Attachments (0)
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I don't see anything wrong in the stacktrace, only strange thing is the AWT-XAWT thread. My guess is that something went wrong in communication between Java and XServer (that's what AWT-XAWT thread is for), there is not much we can't do about it in JOSM.