Deadlock in server.
jstack of deadlock (core part):
Found one Java-level deadlock: ============================= "SERVER-PROCESSOR: null; PID: 467": waiting to lock monitor 0x00007fabb806d698 (object 0x00000003fcd8d168, a obfuscated.aoY), which is held by "ServerEntityWriterThread" "ServerEntityWriterThread": waiting for ownable synchronizer 0x000000043323c620, (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync), which is held by "ServerController" "ServerController": waiting to lock monitor 0x00007fabb806d698 (object 0x00000003fcd8d168, a obfuscated.aoY), which is held by "ServerEntityWriterThread" Java stack information for the threads listed above: =================================================== "SERVER-PROCESSOR: null; PID: 467": at org.schema.schine.network.server.ServerProcessor.run(SourceFile:564) - waiting to lock <0x00000003fcd8d168> (a obfuscated.aoY) at java.lang.Thread.run(Thread.java:745) "ServerEntityWriterThread": at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x000000043323c620> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:967) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1283) at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:727) at obfuscated.acw.a(SourceFile:455) - locked <0x00000004a4e8b790> (a [B) at org.schema.game.common.controller.io.SegmentDataIO.a(SourceFile:943) at obfuscated.Su.handle(SourceFile:2062) at obfuscated.Sc.a(SourceFile:382) at org.schema.game.common.controller.SegmentBuffer.a(SourceFile:646) - locked <0x000000048b3655d0> (a org.schema.game.common.controller.SegmentBuffer) at org.schema.game.common.controller.SegmentBufferManager.a(SourceFile:513) - locked <0x000000043b0c14a0> (a it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap) at obfuscated.Sr.writeAllBufferedSegmentsToDatabase(SourceFile:290) - locked <0x0000000435b5ef88> (a org.schema.game.common.controller.SegmentBufferManager) at obfuscated.acx.a(SourceFile:2408) at obfuscated.acx.a(SourceFile:107) at obfuscated.acA.run(SourceFile:2486) - locked <0x00000003fccb1b28> (a org.schema.schine.network.NetworkStateContainer) - locked <0x00000003fcd8d168> (a obfuscated.aoY) at org.schema.schine.network.server.ServerEntityWriterThread.run(SourceFile:48) "ServerController": at org.schema.schine.network.server.ServerController.synchronizePrivate(SourceFile:462) - waiting to lock <0x00000003fcd8d168> (a obfuscated.aoY) at org.schema.schine.network.server.ServerController.synchronize(SourceFile:390) at org.schema.game.server.controller.GameServerController.update(SourceFile:1410) at org.schema.schine.network.server.ServerController.run(SourceFile:256) at java.lang.Thread.run(Thread.java:745) Found 1 deadlock.