Skip to content

Instantly share code, notes, and snippets.

@soronpo
Created December 23, 2019 22:35
Show Gist options
  • Save soronpo/5aeb2a44e2f4e56593ee994de1b4809f to your computer and use it in GitHub Desktop.
Save soronpo/5aeb2a44e2f4e56593ee994de1b4809f to your computer and use it in GitHub Desktop.
SBT stuck
2019-12-24 00:34:03
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.231-b11 mixed mode):
"classloader-cache-cleanup-0" #13 daemon prio=5 os_prio=0 tid=0x00000000560d6000 nid=0x41c in Object.wait() [0x000000005b2ef000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c14784a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000c14784a8> (a java.lang.ref.ReferenceQueue$Lock)
at sbt.internal.classpath.ClassLoaderCache$CleanupThread.run(ClassLoaderCache.scala:102)
"Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00000000506ed800 nid=0x9d0 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000000005065f800 nid=0x28a0 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x0000000050658800 nid=0x165c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x0000000050652800 nid=0x5b8 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x00000000062af000 nid=0x1330 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x00000000062ae000 nid=0x271c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" #3 daemon prio=8 os_prio=1 tid=0x000000000628d800 nid=0x1ef4 in Object.wait() [0x000000005064f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c000a3e8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000c000a3e8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x0000000006246800 nid=0x268c in Object.wait() [0x000000005012e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c0003e08> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference.tryHandlePending(Unknown Source)
- locked <0x00000000c0003e08> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
"main" #1 prio=5 os_prio=0 tid=0x00000000020f8800 nid=0x1e98 runnable [0x000000000282a000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked <0x00000000ed6a9ae8> (a java.io.BufferedInputStream)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
- locked <0x00000000ed6ac3b8> (a java.io.InputStreamReader)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
- locked <0x00000000ed6ac3b8> (a java.io.InputStreamReader)
at java.io.BufferedReader.readLine(Unknown Source)
at lmcoursier.internal.shaded.coursier.cache.shaded.io.github.soc.directories.Util.runCommands(Util.java:160)
at lmcoursier.internal.shaded.coursier.cache.shaded.io.github.soc.directories.Util.getWinDirs(Util.java:122)
at lmcoursier.internal.shaded.coursier.cache.shaded.io.github.soc.directories.ProjectDirectories.fromPath(ProjectDirectories.java:221)
at lmcoursier.internal.shaded.coursier.cache.shaded.io.github.soc.directories.ProjectDirectories.from(ProjectDirectories.java:274)
at lmcoursier.internal.shaded.coursier.paths.CoursierPaths.coursierDirectories(CoursierPaths.java:82)
- locked <0x00000000ed666760> (a java.lang.Object)
at lmcoursier.internal.shaded.coursier.paths.CoursierPaths.computeCacheDirectory(CoursierPaths.java:44)
at lmcoursier.internal.shaded.coursier.paths.CoursierPaths.cacheDirectory(CoursierPaths.java:70)
- locked <0x00000000ed666770> (a java.lang.Object)
at lmcoursier.internal.shaded.coursier.paths.CachePath.defaultCacheDirectory(CachePath.java:93)
at lmcoursier.internal.shaded.coursier.cache.CacheDefaults$.location$lzycompute(CacheDefaults.scala:16)
- locked <0x00000000ed614370> (a lmcoursier.internal.shaded.coursier.cache.CacheDefaults$)
at lmcoursier.internal.shaded.coursier.cache.CacheDefaults$.location(CacheDefaults.scala:16)
at lmcoursier.CoursierDependencyResolution$.defaultCacheLocation(CoursierDependencyResolution.scala:262)
at sbt.coursierint.LMCoursier$.defaultCacheLocation(LMCoursier.scala:43)
at sbt.Defaults$.globalIvyCore$lzycompute(Defaults.scala:253)
- locked <0x00000000ec2266a0> (a sbt.Defaults$)
at sbt.Defaults$.globalIvyCore(Defaults.scala:212)
at sbt.Defaults$.globalCore$lzycompute(Defaults.scala:165)
- locked <0x00000000ec2266a0> (a sbt.Defaults$)
at sbt.Defaults$.globalCore(Defaults.scala:150)
at sbt.Defaults$.buildCore(Defaults.scala:143)
at sbt.internal.BuildDef.settings(BuildDef.scala:23)
at sbt.internal.BuildDef.settings$(BuildDef.scala:23)
at sbt.internal.BuildDef$$anon$1.settings(BuildDef.scala:34)
at sbt.internal.Load$.$anonfun$buildSettings$1(Load.scala:532)
at sbt.internal.Load$$$Lambda$1651/1566311673.apply(Unknown Source)
at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:245)
at scala.collection.TraversableLike$$Lambda$93/511717113.apply(Unknown Source)
at scala.collection.immutable.List.foreach(List.scala:392)
at scala.collection.TraversableLike.flatMap(TraversableLike.scala:245)
at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:242)
at scala.collection.immutable.List.flatMap(List.scala:355)
at sbt.internal.Load$.buildSettings(Load.scala:532)
at sbt.internal.Load$.loaded(Load.scala:524)
at sbt.internal.Load$.loadURI$1(Load.scala:542)
at sbt.internal.Load$.loadAll(Load.scala:558)
at sbt.internal.Load$.loadURI(Load.scala:488)
at sbt.internal.Load$.load(Load.scala:467)
at sbt.internal.Load$.$anonfun$apply$1(Load.scala:243)
at sbt.internal.Load$$$Lambda$920/775423528.apply(Unknown Source)
at sbt.internal.Load$.timed(Load.scala:1376)
at sbt.internal.Load$.apply(Load.scala:243)
at sbt.internal.Load$.buildPluginDefinition(Load.scala:1293)
at sbt.internal.Load$.buildPlugins(Load.scala:1223)
at sbt.internal.Load$.plugins(Load.scala:1202)
at sbt.internal.Load$.$anonfun$loadUnit$2(Load.scala:688)
at sbt.internal.Load$$$Lambda$951/164757726.apply(Unknown Source)
at sbt.internal.Load$.timed(Load.scala:1376)
at sbt.internal.Load$.$anonfun$loadUnit$1(Load.scala:688)
at sbt.internal.Load$$$Lambda$950/1809995046.apply(Unknown Source)
at sbt.internal.Load$.timed(Load.scala:1376)
at sbt.internal.Load$.loadUnit(Load.scala:682)
at sbt.internal.Load$.$anonfun$builtinLoader$4(Load.scala:480)
at sbt.internal.Load$$$Lambda$946/1582277082.apply(Unknown Source)
at sbt.internal.BuildLoader$.$anonfun$componentLoader$5(BuildLoader.scala:180)
at sbt.internal.BuildLoader$$$Lambda$948/1066582857.apply(Unknown Source)
at sbt.internal.BuildLoader.apply(BuildLoader.scala:245)
at sbt.internal.Load$.loadURI$1(Load.scala:542)
at sbt.internal.Load$.loadAll(Load.scala:558)
at sbt.internal.Load$.loadURI(Load.scala:488)
at sbt.internal.Load$.load(Load.scala:467)
at sbt.internal.Load$.$anonfun$apply$1(Load.scala:243)
at sbt.internal.Load$$$Lambda$920/775423528.apply(Unknown Source)
at sbt.internal.Load$.timed(Load.scala:1376)
at sbt.internal.Load$.apply(Load.scala:243)
at sbt.internal.Load$.defaultLoad(Load.scala:55)
at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:839)
at sbt.BuiltinCommands$.doLoadProject(Main.scala:839)
at sbt.BuiltinCommands$.$anonfun$loadProjectImpl$2(Main.scala:801)
at sbt.BuiltinCommands$$$Lambda$697/46259342.apply(Unknown Source)
at sbt.Command$.$anonfun$applyEffect$4(Command.scala:149)
at sbt.Command$$$Lambda$548/749443480.apply(Unknown Source)
at sbt.Command$.$anonfun$applyEffect$2(Command.scala:144)
at sbt.Command$$$Lambda$674/3886839.apply(Unknown Source)
at sbt.Command$.process(Command.scala:187)
at sbt.MainLoop$.process$1(MainLoop.scala:193)
at sbt.MainLoop$.processCommand(MainLoop.scala:229)
at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:142)
at sbt.MainLoop$$$Lambda$531/579447973.apply(Unknown Source)
at sbt.State$StateOpsImpl$.runCmd$1(State.scala:273)
at sbt.State$StateOpsImpl$.process$extension(State.scala:277)
at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:142)
at sbt.MainLoop$$$Lambda$530/1160487387.apply(Unknown Source)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
at sbt.MainLoop$.next(MainLoop.scala:142)
at sbt.MainLoop$.run(MainLoop.scala:133)
at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:111)
at sbt.MainLoop$$$Lambda$523/1681094402.apply(Unknown Source)
at sbt.io.Using.apply(Using.scala:27)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:105)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:60)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:45)
at sbt.MainLoop$.runLogged(MainLoop.scala:36)
at sbt.StandardMain$.runManaged(Main.scala:132)
at sbt.xMain$.run(Main.scala:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sbt.internal.XMainConfiguration.run(XMainConfiguration.scala:45)
at sbt.xMain.run(Main.scala:39)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:111)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:130)
at xsbt.boot.Launch$.run(Launch.scala:111)
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:37)
at xsbt.boot.Launch$.launch(Launch.scala:119)
at xsbt.boot.Launch$.apply(Launch.scala:20)
at xsbt.boot.Boot$.runImpl(Boot.scala:56)
at xsbt.boot.Boot$.main(Boot.scala:18)
at xsbt.boot.Boot.main(Boot.scala)
"VM Thread" os_prio=2 tid=0x000000000623f000 nid=0x96c runnable
"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x000000000210d800 nid=0x760 runnable
"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x000000000210f000 nid=0xd48 runnable
"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x0000000002110800 nid=0x1d78 runnable
"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x0000000002114000 nid=0x2b9c runnable
"VM Periodic Task Thread" os_prio=2 tid=0x00000000506f7000 nid=0x2004 waiting on condition
JNI global references: 2803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment