Modify ↓
Opened 8 years ago
Closed 8 years ago
#14475 closed defect (fixed)
Deadlock while starting unit tests
Reported by: | michael2402 | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 17.03 |
Component: | Unit tests | Version: | |
Keywords: | regression | Cc: |
Description
Just encountered a deadlock while trying to start unit tests. It happens every time. If you enable headless mode, everything works fine.
MapRendererPerformanceTest [JUnit] org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localhost:42318 (Suspended) Daemon System Thread [Signal Dispatcher] (Suspended) Daemon System Thread [Finalizer] (Suspended) Daemon System Thread [Reference Handler] (Suspended) Thread [main] (Suspended) Thread [ReaderThread] (Suspended) Daemon Thread [Thread-1] (Suspended) Daemon System Thread [Java2D Disposer] (Suspended) Daemon System Thread [AWT-XAWT] (Suspended) System Thread [AWT-Shutdown] (Suspended) Thread [AWT-EventQueue-0] (Suspended) Unsafe.park(boolean, long) line: not available [native method] LockSupport.park(Object) line: 175 FutureTask<V>.awaitDone(boolean, long) line: 429 FutureTask<V>.get() line: 191 [local variables unavailable] ThreadPoolExecutor(AbstractExecutorService).invokeAll(Collection<Callable<T>>) line: 244 MainApplication(Main).initialize() line: 559 JOSMFixture.setupGUI() line: 150 JOSMFixture.access$0(JOSMFixture) line: 140 JOSMFixture$1.run() line: 129 InvocationEvent.dispatch() line: 301 EventQueue.dispatchEventImpl(AWTEvent, Object) line: 756 EventQueue.access$500(EventQueue, AWTEvent, Object) line: 97 EventQueue$3.run() line: 709 EventQueue$3.run() line: 703 AccessController.doPrivileged(PrivilegedAction<T>, AccessControlContext) line: not available [native method] ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(PrivilegedAction<T>, AccessControlContext, AccessControlContext) line: 76 EventQueue.dispatchEvent(AWTEvent) line: 726 EventDispatchThread.pumpOneEventForFilters(int) line: 201 EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: 116 EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: 105 EventDispatchThread.pumpEvents(int, Conditional) line: 101 EventDispatchThread.pumpEvents(Conditional) line: 93 EventDispatchThread.run() line: 82 Thread [File Watcher] (Suspended) Daemon System Thread [TimerQueue] (Suspended) Thread [main-init-1] (Suspended) owns: Class<T> (org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog) (id=54) owns: Class<T> (org.openstreetmap.josm.tools.RightAndLefthandTraffic) (id=55) waiting for: EventQueue$1AWTInvocationLock (id=53) Object.wait(long) line: not available [native method] EventQueue$1AWTInvocationLock(Object).wait() line: 502 EventQueue.invokeAndWait(Object, Runnable) line: 1315 EventQueue.invokeAndWait(Runnable) line: 1296 SwingUtilities.invokeAndWait(Runnable) line: 1348 GuiHelper.runInEDTAndWait(Runnable) line: 119 CombinePrimitiveResolverDialog.getInstance() line: 101 CombinePrimitiveResolverDialog.launchIfNecessary(TagCollection, Collection<OsmPrimitive>, Collection<OsmPrimitive>) line: 518 CombineWayAction.combineWaysWorker(Collection<Way>) line: 184 JoinAreasAction.joinOrientedWays(List<WayInPolygon>) line: 1339 JoinAreasAction.joinWays(List<WayInPolygon>) line: 1304 JoinAreasAction.joinPolygon(JoinAreasAction$AssembledMultipolygon) line: 1275 JoinAreasAction.joinAreas(List<Multipolygon>) line: 668 RightAndLefthandTraffic.computeOptimizedBoundaries() line: 112 RightAndLefthandTraffic.initialize() line: 67 1671376799.run() line: not available Main$InitializationTask.call() line: 605 Main$InitializationTask.call() line: 1 FutureTask<V>.run() line: 266 ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1142 ThreadPoolExecutor$Worker.run() line: 617 Thread.run() line: 745 Thread [main-init-0] (Suspended) Thread [main-init-3] (Suspended) Thread [main-init-4] (Suspended) Thread [main-init-2] (Suspended) Thread [main-init-5] (Suspended) /usr/lib/jvm/java-8-openjdk-amd64/bin/java (05.03.2017, 17:55:40)
Build-Date:2017-03-05 17:38:12 Revision:11691 Is-Local-Build:true Identification: JOSM/1.5 (11691 SVN en) Linux Ubuntu 14.04.5 LTS Memory Usage: 541 MB / 3559 MB (356 MB allocated, but free) Java version: 1.8.0_111-8u111-b14-3~14.04.1-b14, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1920x1080, :0.1 1920x1080 Maximum Screen Size: 1920x1080 Java package: openjdk-8-jre:amd64-8u111-b14-3~14.04.1 Java ATK Wrapper package: libatk-wrapper-java:all-0.30.4-4 VM arguments: [-Dfile.encoding=UTF-8] Program arguments: [--trace]
Attachments (0)
Change History (2)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 11772/josm: