Advertisement
cypren

Thread dump of ComputerCraft deadlock

Jan 30th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. "Finalizer" daemon prio=8 tid=7fd2da875800 nid=0x14a2d2000 in Object.wait() [14a2d1000]
  2. java.lang.Thread.State: WAITING (on object monitor)
  3. at java.lang.Object.wait(Native Method)
  4. at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
  5. - locked <73b291708> (a java.lang.ref.ReferenceQueue$Lock)
  6. at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
  7. at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
  8.  
  9. "Reference Handler" daemon prio=10 tid=7fd2da874800 nid=0x14a1cf000 in Object.wait() [14a1ce000]
  10. java.lang.Thread.State: WAITING (on object monitor)
  11. at java.lang.Object.wait(Native Method)
  12. at java.lang.Object.wait(Object.java:485)
  13. at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
  14. - locked <73b259990> (a java.lang.ref.Reference$Lock)
  15.  
  16. "VM Thread" prio=9 tid=7fd2da870000 nid=0x14a0cc000 runnable
  17.  
  18. "Gang worker#0 (Parallel GC Threads)" prio=9 tid=7fd2da800800 nid=0x142d01000 runnable
  19.  
  20. "Gang worker#1 (Parallel GC Threads)" prio=9 tid=7fd2da801000 nid=0x142e04000 runnable
  21.  
  22. "Concurrent Mark-Sweep GC Thread" prio=9 tid=7fd2da84c000 nid=0x149b41000 runnable
  23. "VM Periodic Task Thread" prio=10 tid=7fd2da89a000 nid=0x14aa6f000 waiting on condition
  24.  
  25. "Exception Catcher Thread" prio=10 tid=7fd2dc001800 nid=0x1019b3000 runnable
  26. JNI global references: 1556
  27.  
  28.  
  29. Found one Java-level deadlock:
  30. =============================
  31. "Thread-6":
  32. waiting to lock monitor 7fd2bb2ddf08 (object 7630396e0, a dan200.computer.core.Computer),
  33. which is held by "Server thread"
  34. "Server thread":
  35. waiting to lock monitor 7fd2bb2c16c8 (object 76303b370, a dan200.turtle.shared.TurtleModem$Peripheral),
  36. which is held by "Coroutine-33"
  37. "Coroutine-33":
  38. waiting to lock monitor 7fd2bb2ddf08 (object 7630396e0, a dan200.computer.core.Computer),
  39. which is held by "Server thread"
  40.  
  41. Java stack information for the threads listed above:
  42. ===================================================
  43. "Thread-6":
  44. at dan200.computer.core.Computer.writeToNBT(Computer.java:311)
  45. - waiting to lock <7630396e0> (a dan200.computer.core.Computer)
  46. at dan200.computer.shared.NetworkedComputerHelper.writeToNBT(NetworkedComputerHelper.java:147)
  47. at dan200.turtle.shared.TileEntityTurtle.b(TileEntityTurtle.java:1222)
  48. at aam.a(AnvilChunkLoader.java:311)
  49. at aam.a(AnvilChunkLoader.java:127)
  50. at im.b(ChunkProviderServer.java:232)
  51. at im.a(ChunkProviderServer.java:284)
  52. at in.a(WorldServer.java:844)
  53. at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:373)
  54. at net.minecraft.server.MinecraftServer.k(MinecraftServer.java:406)
  55. at fx.run(SourceFile:837)
  56. "Server thread":
  57. at dan200.computer.shared.WirelessModemPeripheral.pollChanged(WirelessModemPeripheral.java:50)
  58. - waiting to lock <76303b370> (a dan200.turtle.shared.TurtleModem$Peripheral)
  59. at dan200.turtle.shared.TurtleModem$Peripheral.update(TurtleModem.java:66)
  60. at dan200.computer.core.apis.PeripheralAPI$PeripheralWrapper.update(PeripheralAPI.java:100)
  61. at dan200.computer.core.apis.PeripheralAPI.advance(PeripheralAPI.java:349)
  62. - locked <7630356a0> (a [Ldan200.computer.core.apis.PeripheralAPI$PeripheralWrapper;)
  63. at dan200.computer.core.Computer.advance(Computer.java:552)
  64. - locked <76301c3f8> (a java.util.ArrayList)
  65. - locked <7630396e0> (a dan200.computer.core.Computer)
  66. at dan200.computer.shared.NetworkedComputerHelper.update(NetworkedComputerHelper.java:112)
  67. at dan200.turtle.shared.TileEntityTurtle.g(TileEntityTurtle.java:2368)
  68. at yc.h(World.java:2153)
  69. at in.h(WorldServer.java:516)
  70. at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
  71. at ho.r(DedicatedServer.java:269)
  72. at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
  73. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
  74. at fy.run(SourceFile:849)
  75. "Coroutine-33":
  76. at dan200.computer.core.Computer.getID(Computer.java:409)
  77. - waiting to lock <7630396e0> (a dan200.computer.core.Computer)
  78. at dan200.computer.core.Computer$APIEnvironment.getComputerID(Computer.java:62)
  79. at dan200.computer.core.apis.PeripheralAPI$PeripheralWrapper.getID(PeripheralAPI.java:202)
  80. - locked <762fd04e8> (a dan200.computer.core.apis.PeripheralAPI$PeripheralWrapper)
  81. at dan200.computer.shared.WirelessModemPeripheral.getID(WirelessModemPeripheral.java:88)
  82. - locked <76303b370> (a dan200.turtle.shared.TurtleModem$Peripheral)
  83. at dan200.computer.shared.WirelessNetwork.tryTransmit(WirelessNetwork.java:71)
  84. at dan200.computer.shared.WirelessNetwork.broadcast(WirelessNetwork.java:56)
  85. - locked <73d091080> (a dan200.computer.shared.WirelessNetwork)
  86. at dan200.computer.shared.WirelessModemPeripheral.callMethod(WirelessModemPeripheral.java:189)
  87. - locked <74a0e9380> (a dan200.turtle.shared.TurtleModem$Peripheral)
  88. at dan200.computer.core.apis.PeripheralAPI$PeripheralWrapper.call(PeripheralAPI.java:111)
  89. - locked <74b0c1f88> (a dan200.computer.core.apis.PeripheralAPI$PeripheralWrapper)
  90. at dan200.computer.core.apis.PeripheralAPI.callMethod(PeripheralAPI.java:459)
  91. at dan200.computer.core.LuaJLuaMachine$2.invoke(LuaJLuaMachine.java:299)
  92. - locked <74a06f6e8> (a dan200.computer.core.LuaJLuaMachine$2)
  93. at org.luaj.vm2.lib.VarArgFunction.onInvoke(Unknown Source)
  94. at org.luaj.vm2.TailcallVarargs.eval(Unknown Source)
  95. at org.luaj.vm2.TailcallVarargs.arg1(Unknown Source)
  96. at org.luaj.vm2.LuaClosure.call(Unknown Source)
  97. at org.luaj.vm2.LuaClosure.execute(Unknown Source)
  98. at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)
  99. at org.luaj.vm2.LuaClosure.invoke(Unknown Source)
  100. at org.luaj.vm2.LuaClosure.execute(Unknown Source)
  101. at org.luaj.vm2.LuaClosure.call(Unknown Source)
  102. at org.luaj.vm2.LuaClosure.execute(Unknown Source)
  103. at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)
  104. at org.luaj.vm2.LuaClosure.invoke(Unknown Source)
  105. at org.luaj.vm2.LuaThread$State.run(Unknown Source)
  106. - locked <74b1a3a68> (a org.luaj.vm2.LuaThread$State)
  107. at java.lang.Thread.run(Thread.java:680)
  108.  
  109. Found 1 deadlock.
  110.  
  111. Heap
  112. par new generation total 943744K, used 716924K [6fae00000, 73ae00000, 73ae00000)
  113. eden space 838912K, 84% used [6fae00000, 726639ac0, 72e140000)
  114. from space 104832K, 3% used [72e140000, 72e525738, 7347a0000)
  115. to space 104832K, 0% used [7347a0000, 7347a0000, 73ae00000)
  116. concurrent mark-sweep generation total 1048576K, used 663036K [73ae00000, 77ae00000, 7fae00000)
  117. concurrent-mark-sweep perm gen total 83968K, used 66678K [7fae00000, 800000000, 800000000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement