Modify

Opened 10 months ago

Last modified 4 months ago

#19245 new defect

Adding Bing Aerial Imagery freezes JOSM

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: template_report bing freeze Cc: Don-vip

Description

What steps will reproduce the problem?

  1. Download some data
  2. Try to add aerial imagery BING (bing[1,22]:https://www.bing.com/maps/)
  3. The application freezes and must be terminated

What is the expected result?

What happens instead?

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-04-06 02:17:07 +0200 (Mon, 06 Apr 2020)
Build-Date:2020-04-06 00:18:43
Revision:16239
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16239 it) Windows 10 64-Bit
OS Build number: Windows 10 Home 1903 (18362)
Memory Usage: 758 MB / 1781 MB (171 MB allocated, but free)
Java version: 1.8.0_251-b08, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Plugins:
+ DxfImport (1013)
+ FastDraw (35405)
+ PicLayer (35405)
+ apache-commons (35362)
+ contourmerge (v0.1.6)
+ ejml (35313)
+ geotools (35169)
+ jaxb (35092)
+ jts (35122)
+ log4j (35092)
+ measurement (35405)
+ opendata (35405)
+ reverter (35409)
+ undelete (35405)
+ utilsplugin2 (35440)

Validator rules:
+ https://raw.githubusercontent.com/fansanelli/map-this-way/master/MapThisWay.validator.mapcss

Attachments (0)

Change History (21)

comment:1 Changed 10 months ago by simon04

Component: CoreCore imagery
Keywords: bing freeze added

comment:2 Changed 10 months ago by simon04

Summary: Experiencing the same behaviour described in bug #19172Adding Bing Aerial Imagery freezes JOSM

comment:3 Changed 10 months ago by simon04

Ticket #19172 has been marked as a duplicate of this ticket.

comment:4 Changed 10 months ago by simon04

Getting a stack trace of the frozen application would be very helpful, see https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr016.html for a how-to.

comment:5 Changed 6 months ago by skquinn

I have this issue as well. Sometimes I am able to use Bing imagery if I am careful to add it before downloading data. I have also gotten Bing imagery to work adding it immediately after a crash recovery.

I'm on Ubuntu 18.04 if that makes a difference.

comment:6 Changed 6 months ago by skquinn

Hopefully this helps: I'm finding out that a lot of the time, if loading the Bing imagery layer is not the very first UI action I take, JOSM will freeze/wedge and has to be killed and restarted to continue. Not sure if this is every time but the past couple of times I've done something else minor, then tried to load Bing, and gotten a UI freeze.

comment:7 Changed 6 months ago by skquinn

skquinn@moonpatrol:~$ jstack 18117
2020-09-10 00:36:38
Full thread dump OpenJDK 64-Bit Server VM (11.0.8+10-post-Ubuntu-0ubuntu118.04.1 mixed mode, sharing):

Threads class SMR info:
_java_thread_list=0x00007f3614421430, length=35, elements={
0x00007f363c192800, 0x00007f363c194800, 0x00007f363c19a800, 0x00007f363c19d000,
0x00007f363c19f000, 0x00007f363c1a1000, 0x00007f363c1db800, 0x00007f363c1e0800,
0x00007f363c478000, 0x00007f363c374000, 0x00007f363c685800, 0x00007f363c515800,
0x00007f3614102000, 0x00007f363c825800, 0x00007f363c843000, 0x00007f363c81b000,
0x00007f3609123000, 0x00007f360858a000, 0x00007f3608aaa000, 0x00007f363cbeb000,
0x00007f363cf69000, 0x00005590d13f3800, 0x00007f363d407000, 0x00007f363d60b000,
0x00007f363d77b000, 0x00007f363d548800, 0x00007f363d54a800, 0x00007f363d54c800,
0x00007f363d54f000, 0x00007f363c016800, 0x00007f3614253800, 0x00007f3614368800,
0x00007f36143ca800, 0x00007f3614584000, 0x00007f3614255000
}

"Reference Handler" #2 daemon prio=10 os_prio=0 cpu=28.53ms elapsed=3034.72s tid=0x00007f363c192800 nid=0x46c8 waiting on condition  [0x00007f361fffe000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.ref.Reference.waitForReferencePendingList(java.base@11.0.8/Native Method)
	at java.lang.ref.Reference.processPendingReferences(java.base@11.0.8/Reference.java:241)
	at java.lang.ref.Reference$ReferenceHandler.run(java.base@11.0.8/Reference.java:213)

"Finalizer" #3 daemon prio=8 os_prio=0 cpu=1.07ms elapsed=3034.72s tid=0x00007f363c194800 nid=0x46c9 in Object.wait()  [0x00007f361f7fd000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:155)
	- waiting to re-lock in wait() <0x00000007559224c8> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:176)
	at java.lang.ref.Finalizer$FinalizerThread.run(java.base@11.0.8/Finalizer.java:170)

"Signal Dispatcher" #4 daemon prio=9 os_prio=0 cpu=0.52ms elapsed=3034.70s tid=0x00007f363c19a800 nid=0x46ca runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #5 daemon prio=9 os_prio=0 cpu=47866.24ms elapsed=3034.70s tid=0x00007f363c19d000 nid=0x46cb waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

"C1 CompilerThread0" #6 daemon prio=9 os_prio=0 cpu=13151.33ms elapsed=3034.70s tid=0x00007f363c19f000 nid=0x46cc waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

"Sweeper thread" #7 daemon prio=9 os_prio=0 cpu=832.60ms elapsed=3034.70s tid=0x00007f363c1a1000 nid=0x46cd runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Service Thread" #8 daemon prio=9 os_prio=0 cpu=0.16ms elapsed=3034.57s tid=0x00007f363c1db800 nid=0x46ce runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Common-Cleaner" #9 daemon prio=8 os_prio=0 cpu=11.14ms elapsed=3034.55s tid=0x00007f363c1e0800 nid=0x46d0 in Object.wait()  [0x00007f361d51b000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:155)
	- waiting to re-lock in wait() <0x0000000755922cb8> (a java.lang.ref.ReferenceQueue$Lock)
	at jdk.internal.ref.CleanerImpl.run(java.base@11.0.8/CleanerImpl.java:148)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)
	at jdk.internal.misc.InnocuousThread.run(java.base@11.0.8/InnocuousThread.java:134)

"Java2D Disposer" #13 daemon prio=10 os_prio=0 cpu=18.46ms elapsed=3021.24s tid=0x00007f363c478000 nid=0x46e1 in Object.wait()  [0x00007f36050b0000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:155)
	- waiting to re-lock in wait() <0x0000000755f860a0> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:176)
	at sun.java2d.Disposer.run(java.desktop@11.0.8/Disposer.java:144)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"AWT-XAWT" #16 daemon prio=6 os_prio=0 cpu=4162.62ms elapsed=3004.92s tid=0x00007f363c374000 nid=0x46ee runnable  [0x00007f3607ffe000]
   java.lang.Thread.State: RUNNABLE
	at sun.awt.X11.XToolkit.waitForEvents(java.desktop@11.0.8/Native Method)
	at sun.awt.X11.XToolkit.run(java.desktop@11.0.8/XToolkit.java:684)
	at sun.awt.X11.XToolkit.run(java.desktop@11.0.8/XToolkit.java:648)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"AWT-Shutdown" #20 prio=5 os_prio=0 cpu=0.28ms elapsed=2995.40s tid=0x00007f363c685800 nid=0x46f6 in Object.wait()  [0x00007f35fb71c000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.lang.Object.wait(java.base@11.0.8/Object.java:328)
	at sun.awt.AWTAutoShutdown.run(java.desktop@11.0.8/AWTAutoShutdown.java:291)
	- waiting to re-lock in wait() <0x0000000756a2a540> (a java.lang.Object)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"AWT-EventQueue-0" #19 prio=6 os_prio=0 cpu=172202.40ms elapsed=2995.39s tid=0x00007f363c515800 nid=0x46f7 waiting on condition  [0x00007f35faf16000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x00000007006b4d58> (a java.util.concurrent.FutureTask)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.FutureTask.awaitDone(java.base@11.0.8/FutureTask.java:447)
	at java.util.concurrent.FutureTask.get(java.base@11.0.8/FutureTask.java:190)
	at org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.getAttribution(BingAerialTileSource.java:278)
	at org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.getTileUrl(BingAerialTileSource.java:99)
	at org.openstreetmap.gui.jmapviewer.Tile.getUrl(Tile.java:270)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.getUrl(TMSCachedTileLoaderJob.java:106)
	- locked <0x00000007006b21b8> (a org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.submit(JCSCachedTileLoaderJob.java:144)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.submit(TMSCachedTileLoaderJob.java:149)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.loadTile(AbstractTileSourceLayer.java:904)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.access$200(AbstractTileSourceLayer.java:144)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.loadAllTiles(AbstractTileSourceLayer.java:1298)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.access$1200(AbstractTileSourceLayer.java:1209)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.drawInViewArea(AbstractTileSourceLayer.java:1556)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.access$2900(AbstractTileSourceLayer.java:144)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.doPaint(AbstractTileSourceLayer.java:1957)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.paint(AbstractTileSourceLayer.java:1951)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:466)
	at org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:581)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:488)
	at javax.swing.JComponent.paintChildren(java.desktop@11.0.8/JComponent.java:907)
	- locked <0x00000007565ea168> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(java.desktop@11.0.8/JComponent.java:1083)
	at javax.swing.JComponent.paintChildren(java.desktop@11.0.8/JComponent.java:907)
	- locked <0x00000007565ea168> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JSplitPane.paintChildren(java.desktop@11.0.8/JSplitPane.java:1024)
	at javax.swing.JComponent.paint(java.desktop@11.0.8/JComponent.java:1083)
	at javax.swing.JComponent.paintChildren(java.desktop@11.0.8/JComponent.java:907)
	- locked <0x00000007565ea168> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(java.desktop@11.0.8/JComponent.java:1083)
	at javax.swing.JComponent.paintChildren(java.desktop@11.0.8/JComponent.java:907)
	- locked <0x00000007565ea168> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(java.desktop@11.0.8/JComponent.java:1083)
	at javax.swing.JComponent.paintChildren(java.desktop@11.0.8/JComponent.java:907)
	- locked <0x00000007565ea168> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(java.desktop@11.0.8/JComponent.java:1083)
	at javax.swing.JComponent.paintToOffscreen(java.desktop@11.0.8/JComponent.java:5255)
	at javax.swing.BufferStrategyPaintManager.paint(java.desktop@11.0.8/BufferStrategyPaintManager.java:246)
	at javax.swing.RepaintManager.paint(java.desktop@11.0.8/RepaintManager.java:1323)
	at javax.swing.JComponent._paintImmediately(java.desktop@11.0.8/JComponent.java:5203)
	at javax.swing.JComponent.paintImmediately(java.desktop@11.0.8/JComponent.java:5013)
	at javax.swing.RepaintManager$4.run(java.desktop@11.0.8/RepaintManager.java:865)
	at javax.swing.RepaintManager$4.run(java.desktop@11.0.8/RepaintManager.java:848)
	at java.security.AccessController.doPrivileged(java.base@11.0.8/Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@11.0.8/ProtectionDomain.java:85)
	at javax.swing.RepaintManager.paintDirtyRegions(java.desktop@11.0.8/RepaintManager.java:848)
	at javax.swing.RepaintManager.paintDirtyRegions(java.desktop@11.0.8/RepaintManager.java:823)
	at javax.swing.RepaintManager.prePaintDirtyRegions(java.desktop@11.0.8/RepaintManager.java:772)
	at javax.swing.RepaintManager$ProcessingRunnable.run(java.desktop@11.0.8/RepaintManager.java:1890)
	at java.awt.event.InvocationEvent.dispatch(java.desktop@11.0.8/InvocationEvent.java:313)
	at java.awt.EventQueue.dispatchEventImpl(java.desktop@11.0.8/EventQueue.java:770)
	at java.awt.EventQueue$4.run(java.desktop@11.0.8/EventQueue.java:721)
	at java.awt.EventQueue$4.run(java.desktop@11.0.8/EventQueue.java:715)
	at java.security.AccessController.doPrivileged(java.base@11.0.8/Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@11.0.8/ProtectionDomain.java:85)
	at java.awt.EventQueue.dispatchEvent(java.desktop@11.0.8/EventQueue.java:740)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(java.desktop@11.0.8/EventDispatchThread.java:203)
	at java.awt.EventDispatchThread.pumpEventsForFilter(java.desktop@11.0.8/EventDispatchThread.java:124)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(java.desktop@11.0.8/EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(java.desktop@11.0.8/EventDispatchThread.java:109)
	at java.awt.EventDispatchThread.pumpEvents(java.desktop@11.0.8/EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.run(java.desktop@11.0.8/EventDispatchThread.java:90)

"TimerQueue" #21 daemon prio=5 os_prio=0 cpu=8007.24ms elapsed=2992.60s tid=0x00007f3614102000 nid=0x46f9 waiting on condition  [0x00007f35fa71a000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x0000000756ab5040> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.8/AbstractQueuedSynchronizer.java:2081)
	at java.util.concurrent.DelayQueue.take(java.base@11.0.8/DelayQueue.java:217)
	at javax.swing.TimerQueue.run(java.desktop@11.0.8/TimerQueue.java:171)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"FileSystemWatchService" #22 daemon prio=5 os_prio=0 cpu=0.32ms elapsed=2974.06s tid=0x00007f363c825800 nid=0x4700 runnable  [0x00007f35f9b19000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.fs.LinuxWatchService.poll(java.base@11.0.8/Native Method)
	at sun.nio.fs.LinuxWatchService$Poller.run(java.base@11.0.8/LinuxWatchService.java:316)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"File Watcher" #23 prio=5 os_prio=0 cpu=0.37ms elapsed=2973.96s tid=0x00007f363c843000 nid=0x4701 waiting on condition  [0x00007f35f9318000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x0000000756d26928> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.8/AbstractQueuedSynchronizer.java:2081)
	at java.util.concurrent.LinkedBlockingDeque.takeFirst(java.base@11.0.8/LinkedBlockingDeque.java:483)
	at java.util.concurrent.LinkedBlockingDeque.take(java.base@11.0.8/LinkedBlockingDeque.java:671)
	at sun.nio.fs.AbstractWatchService.take(java.base@11.0.8/AbstractWatchService.java:118)
	at org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:120)
	at org.openstreetmap.josm.io.FileWatcher$$Lambda$321/0x0000000840382040.run(Unknown Source)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"Weak reference cleaner" #24 prio=5 os_prio=0 cpu=0.30ms elapsed=2969.07s tid=0x00007f363c81b000 nid=0x4703 in Object.wait()  [0x00007f35f8917000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <0x0000000757456390> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:155)
	- waiting to re-lock in wait() <0x0000000757456390> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:176)
	at org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60)
	at org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$357/0x0000000840416c40.run(Unknown Source)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"ForkJoinPool.commonPool-worker-3" #30 daemon prio=5 os_prio=0 cpu=9.17ms elapsed=2954.87s tid=0x00007f3609123000 nid=0x470d waiting on condition  [0x00007f35f7f16000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x0000000755fd0248> (a java.util.concurrent.ForkJoinPool)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.ForkJoinPool.runWorker(java.base@11.0.8/ForkJoinPool.java:1628)
	at java.util.concurrent.ForkJoinWorkerThread.run(java.base@11.0.8/ForkJoinWorkerThread.java:183)

"image-fetcher-0" #31 prio=5 os_prio=0 cpu=1428.00ms elapsed=2924.41s tid=0x00007f360858a000 nid=0x471d waiting on condition  [0x00007f35f6914000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x0000000756a1c9b8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.8/AbstractQueuedSynchronizer.java:2081)
	at java.util.concurrent.LinkedBlockingQueue.take(java.base@11.0.8/LinkedBlockingQueue.java:433)
	at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.8/ThreadPoolExecutor.java:1054)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.8/ThreadPoolExecutor.java:1114)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.8/ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"JCS-ElementEventQueue-Thread-1" #33 daemon prio=5 os_prio=0 cpu=0.22ms elapsed=2845.79s tid=0x00007f3608aaa000 nid=0x4752 waiting on condition  [0x00007f35f5038000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x000000076062bcf8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.8/AbstractQueuedSynchronizer.java:2081)
	at java.util.concurrent.LinkedBlockingQueue.take(java.base@11.0.8/LinkedBlockingQueue.java:433)
	at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.8/ThreadPoolExecutor.java:1054)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.8/ThreadPoolExecutor.java:1114)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.8/ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"GT authority factory disposer" #34 daemon prio=5 os_prio=0 cpu=2.69ms elapsed=2836.22s tid=0x00007f363cbeb000 nid=0x4758 in Object.wait()  [0x00007f35f4237000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.util.TimerThread.mainLoop(java.base@11.0.8/Timer.java:553)
	- waiting to re-lock in wait() <0x000000076272d2b8> (a java.util.TaskQueue)
	at java.util.TimerThread.run(java.base@11.0.8/Timer.java:506)

"WeakCollectionCleaner" #35 daemon prio=8 os_prio=0 cpu=0.29ms elapsed=2813.13s tid=0x00007f363cf69000 nid=0x4764 in Object.wait()  [0x00007f35f2436000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <0x00000007635fa788> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:155)
	- waiting to re-lock in wait() <0x00000007635fa788> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(java.base@11.0.8/ReferenceQueue.java:176)
	at org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:65)

"pool-1-thread-1" #37 prio=5 os_prio=0 cpu=23.79ms elapsed=2808.81s tid=0x00005590d13f3800 nid=0x476d waiting on condition  [0x00007f35f1c35000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x00000007635fa930> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.8/AbstractQueuedSynchronizer.java:2081)
	at java.util.concurrent.LinkedBlockingQueue.take(java.base@11.0.8/LinkedBlockingQueue.java:433)
	at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.8/ThreadPoolExecutor.java:1054)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.8/ThreadPoolExecutor.java:1114)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.8/ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"Timer-0" #38 prio=5 os_prio=0 cpu=0.29ms elapsed=2804.45s tid=0x00007f363d407000 nid=0x4772 in Object.wait()  [0x00007f35f1234000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <0x00000007635fab90> (a java.util.TaskQueue)
	at java.lang.Object.wait(java.base@11.0.8/Object.java:328)
	at java.util.TimerThread.mainLoop(java.base@11.0.8/Timer.java:527)
	- waiting to re-lock in wait() <0x00000007635fab90> (a java.util.TaskQueue)
	at java.util.TimerThread.run(java.base@11.0.8/Timer.java:506)

"Timer-1" #39 prio=5 os_prio=0 cpu=157.21ms elapsed=2794.86s tid=0x00007f363d60b000 nid=0x477a in Object.wait()  [0x00007f35f7515000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.util.TimerThread.mainLoop(java.base@11.0.8/Timer.java:553)
	- waiting to re-lock in wait() <0x00000007641c3170> (a java.util.TaskQueue)
	at java.util.TimerThread.run(java.base@11.0.8/Timer.java:506)

"main-worker-0" #40 prio=5 os_prio=0 cpu=1.60ms elapsed=2788.97s tid=0x00007f363d77b000 nid=0x477e waiting on condition  [0x00007f35f0433000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x00000007559a65c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.8/AbstractQueuedSynchronizer.java:2081)
	at java.util.concurrent.LinkedBlockingQueue.take(java.base@11.0.8/LinkedBlockingQueue.java:433)
	at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.8/ThreadPoolExecutor.java:1054)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.8/ThreadPoolExecutor.java:1114)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.8/ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"RemoteControl HTTP Server" #42 daemon prio=5 os_prio=0 cpu=1.02ms elapsed=2781.51s tid=0x00007f363d548800 nid=0x4784 runnable  [0x00007f35ef431000]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(java.base@11.0.8/Native Method)
	at java.net.AbstractPlainSocketImpl.accept(java.base@11.0.8/AbstractPlainSocketImpl.java:458)
	at java.net.ServerSocket.implAccept(java.base@11.0.8/ServerSocket.java:565)
	at java.net.ServerSocket.accept(java.base@11.0.8/ServerSocket.java:533)
	at org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:104)

"RemoteControl HTTP Server" #43 daemon prio=5 os_prio=0 cpu=0.82ms elapsed=2781.51s tid=0x00007f363d54a800 nid=0x4785 runnable  [0x00007f35eec30000]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(java.base@11.0.8/Native Method)
	at java.net.AbstractPlainSocketImpl.accept(java.base@11.0.8/AbstractPlainSocketImpl.java:458)
	at java.net.ServerSocket.implAccept(java.base@11.0.8/ServerSocket.java:565)
	at java.net.ServerSocket.accept(java.base@11.0.8/ServerSocket.java:533)
	at org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:104)

"message-notifier-0" #44 prio=5 os_prio=0 cpu=361.93ms elapsed=2781.49s tid=0x00007f363d54c800 nid=0x4786 waiting on condition  [0x00007f35ee42f000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x0000000756a1d238> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(java.base@11.0.8/LockSupport.java:234)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@11.0.8/AbstractQueuedSynchronizer.java:2123)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@11.0.8/ScheduledThreadPoolExecutor.java:1182)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@11.0.8/ScheduledThreadPoolExecutor.java:899)
	at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.8/ThreadPoolExecutor.java:1054)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.8/ThreadPoolExecutor.java:1114)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.8/ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"changeset-updater-0" #45 prio=5 os_prio=0 cpu=7.83ms elapsed=2781.48s tid=0x00007f363d54f000 nid=0x4787 waiting on condition  [0x00007f35edc2e000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x000000076439e5a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(java.base@11.0.8/LockSupport.java:234)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@11.0.8/AbstractQueuedSynchronizer.java:2123)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@11.0.8/ScheduledThreadPoolExecutor.java:1182)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@11.0.8/ScheduledThreadPoolExecutor.java:899)
	at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.8/ThreadPoolExecutor.java:1054)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.8/ThreadPoolExecutor.java:1114)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.8/ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"DestroyJavaVM" #46 prio=5 os_prio=0 cpu=14465.54ms elapsed=2781.45s tid=0x00007f363c016800 nid=0x46c6 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Timer-2" #50 daemon prio=6 os_prio=0 cpu=1.69ms elapsed=2780.26s tid=0x00007f3614253800 nid=0x478b in Object.wait()  [0x00007f35ecc2c000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.util.TimerThread.mainLoop(java.base@11.0.8/Timer.java:553)
	- waiting to re-lock in wait() <0x000000076439e968> (a java.util.TaskQueue)
	at java.util.TimerThread.run(java.base@11.0.8/Timer.java:506)

"Timer-3" #67 prio=6 os_prio=0 cpu=0.28ms elapsed=22.88s tid=0x00007f3614368800 nid=0x558d in Object.wait()  [0x00007f35ed42d000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@11.0.8/Native Method)
	- waiting on <no object reference available>
	at java.lang.Object.wait(java.base@11.0.8/Object.java:328)
	at java.util.TimerThread.mainLoop(java.base@11.0.8/Timer.java:527)
	- waiting to re-lock in wait() <0x00000007095f0eb0> (a java.util.TaskQueue)
	at java.util.TimerThread.run(java.base@11.0.8/Timer.java:506)

"Map Status Collector" #68 daemon prio=6 os_prio=0 cpu=0.26ms elapsed=20.91s tid=0x00007f36143ca800 nid=0x558e waiting on condition  [0x00007f35efc32000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@11.0.8/Native Method)
	- parking to wait for  <0x00000007095f1060> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.8/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.8/AbstractQueuedSynchronizer.java:2081)
	at java.util.concurrent.LinkedBlockingQueue.take(java.base@11.0.8/LinkedBlockingQueue.java:433)
	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:438)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"bing-attribution-loader" #69 prio=6 os_prio=0 cpu=173.68ms elapsed=18.09s tid=0x00007f3614584000 nid=0x5590 waiting for monitor entry  [0x00007f35ec02b000]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at java.awt.Container.removeAll(java.desktop@11.0.8/Container.java:1312)
	- waiting to lock <0x00000007565ea168> (a java.awt.Component$AWTTreeLock)
	at org.openstreetmap.josm.plugins.damn.DamnDialog.authed(DamnDialog.java:118)
	at org.openstreetmap.josm.plugins.damn.DamnDialog.preferenceChanged(DamnDialog.java:273)
	at org.openstreetmap.josm.data.Preferences.lambda$firePreferenceChanged$2(Preferences.java:305)
	at org.openstreetmap.josm.data.Preferences$$Lambda$946/0x00000008409cec40.fire(Unknown Source)
	at org.openstreetmap.josm.tools.ListenerList.fireEvent(ListenerList.java:156)
	at org.openstreetmap.josm.data.Preferences.firePreferenceChanged(Preferences.java:305)
	at org.openstreetmap.josm.data.Preferences.putSetting(Preferences.java:720)
	at org.openstreetmap.josm.spi.preferences.AbstractPreferences.put(AbstractPreferences.java:26)
	at org.openstreetmap.josm.spi.preferences.AbstractPreferences.putInt(AbstractPreferences.java:56)
	at org.openstreetmap.josm.io.CacheCustomContent.updateForce(CacheCustomContent.java:133)
	at org.openstreetmap.josm.io.CacheCustomContent.updateForceString(CacheCustomContent.java:143)
	at org.openstreetmap.josm.io.CacheCustomContent.updateIfRequiredString(CacheCustomContent.java:121)
	at org.openstreetmap.josm.data.imagery.CachedAttributionBingAerialTileSource.lambda$getAttributionLoaderCallable$0(CachedAttributionBingAerialTileSource.java:82)
	at org.openstreetmap.josm.data.imagery.CachedAttributionBingAerialTileSource$$Lambda$939/0x00000008409ca840.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(java.base@11.0.8/FutureTask.java:264)
	at java.lang.Thread.run(java.base@11.0.8/Thread.java:834)

"Attach Listener" #72 daemon prio=9 os_prio=0 cpu=0.37ms elapsed=0.20s tid=0x00007f3614255000 nid=0x55a8 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"VM Thread" os_prio=0 cpu=7856.25ms elapsed=3034.74s tid=0x00007f363c18f800 nid=0x46c7 runnable  

"VM Periodic Task Thread" os_prio=0 cpu=2408.99ms elapsed=3034.56s tid=0x00007f363c1dd800 nid=0x46cf waiting on condition  

JNI global refs: 97, weak refs: 6207
Last edited 4 months ago by simon04 (previous) (diff)

comment:8 Changed 6 months ago by anonymous

Having the same issue - Bing maps never worked for me - application is not responding, process has to be killed manually and then restarted.

comment:9 Changed 6 months ago by skquinn

Selecting Bing imagery from the download dialog first, cancelling the dialog, then adding it as a JOSM layer seems to be a fairly reliable workaround.

comment:10 Changed 5 months ago by skquinn

Just downloaded some data, then tried downloading more using the download dialog which had already been set to Bing imagery. That also resulted in a freeze. So clearly there is something else at play possibly regarding the Bing attribution data, possibly an issue with uninitialized variables/memory or something overwriting that area of memory?

comment:11 Changed 5 months ago by skyper

@skquinn:
Did you try it with empty and/or new JOSM directories?

I remember problems with timeouts and the download of the Bing attribution in the past. Maybe using a proxy can help.

comment:12 Changed 5 months ago by skquinn

I will try it from a new user account next chance I get.

comment:13 Changed 5 months ago by skquinn

No hang with a new .josm directory.

The hangs I'm seeing come after it says "Successfully loaded Bing attribution data" on stderr, not before.

comment:14 Changed 4 months ago by dje.ellsworth@…

This also has been happening to me for a few months. Upon loading JOSM in Windows 10 even if the very first action I take is to load Bing imagery it always freezes.

comment:15 Changed 4 months ago by GerdP

I don't know if this is related but I can reproduce a freeze in JOSM when I start it from a console Window and - while JOSM is starting - select something in the console Window. The problem disappears when I press Esc in the console.

comment:16 Changed 4 months ago by simon04

comment:7 indicates that the blocking happens inside org.openstreetmap.josm.plugins.damn.DamnDialog.authed. A JOSM status report would be helpful as comment:description does not have this plugin installed. Does the Bing problem disappear when disabling the "damn" plugin?

comment:17 Changed 4 months ago by dje.ellsworth@…

I don't have that plugin installed. I loaded JOSM and did a copy of the status report. Then selected Bing imagery to which it immediately froze. I killed JOSM. Restarted it. Checked the status report again. There were no additional lines when comparing it to the pre-freeze status report. As a resolution the last months I've simply been using other imagery and no longer use Bing.

I did do a complete reinstall of JOSM about 6 weeks ago. The behavior didn't change. Froze before and froze after.

comment:18 Changed 4 months ago by skyper

Is this a problem with the "Bing Attribution" once again? See #14598 and #5765.

comment:19 Changed 4 months ago by anonymous

No. I don't get those errors.

The only errors showing in status are:
Last errors/warnings:

  • 00009.517 W: java.nio.file.FileSystemException: %UserProfile%\AppData\Local\Temp\josm_exec_powershell_549507039420065920.txt: The process cannot access the file because it is being used by another process.
  • 00009.520 W: Unable to request certificate of https://grca.nat.gov.tw
  • 00014.651 W: java.nio.file.FileSystemException: %UserProfile%\AppData\Local\Temp\josm_exec_powershell_4507805228711636913.txt: The process cannot access the file because it is being used by another process.
  • 00014.652 W: Unable to request certificate of https://grca.nat.gov.tw

The temp files it can't access are actually created during the initializing process. It's odd it can't access it's own files. But I don't know if it's related to the bing problem or not.

And I don't know why it's looking for a certificate in Taiwan....

comment:20 Changed 4 months ago by GerdP

JOSM looks for certain certificates at startup. This always happens. You can try to start JOSM with option

--offline=CERTIFICATES

to check if this is the reason for the problems with Bing.

comment:21 Changed 4 months ago by GerdP

Cc: Don-vip added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.