We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

What this is DEADLOCK?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
KGB1st
Posts: 230
Joined: Sat Jul 26, 2014 5:58 pm

What this is DEADLOCK?

Post by KGB1st » Thu Jun 25, 2015 3:38 pm

Code: Select all

2015.06.25 21:06:44,484	WARNING	12	com.mchange.v2.async.ThreadPoolAsynchronousRunner	com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2dbdef4d -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
2015.06.25 21:08:07,482	WARNING	12	com.mchange.v2.async.ThreadPoolAsynchronousRunner	com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2dbdef4d -- APPARENT DEADLOCK!!! Complete Status: 
	Managed Threads: 3
	Active Threads: 3
	Active Tasks: 
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@591d5c51
			on thread: C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#0
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@1b9817b8
			on thread: C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#2
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@8908bd1
			on thread: C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#1
	Pending Tasks: 
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@682ef5ba
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@5b62d33a
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@9c3a39
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@cdef7f8
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@134240fc
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@5e74aaad
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@3fd81ea8
Pool thread stack traces:
	Thread[C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#0,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:722)
	Thread[C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#1,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:722)
	Thread[C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#2,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:722)
and after when go loggin in console I saw many errors, such as:

Code: Select all

[25/06 21:38:16] L2World: Previous object: Coarse Bone Powder(1881)[268482561] already exist in OID map!
[25/06 21:38:16] java.lang.Thread.getStackTrace(Unknown Source)
com.l2jserver.gameserver.model.L2World.storeObject(L2World.java:113)
com.l2jserver.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1679)
com.l2jserver.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:781)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:6955)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1089)
com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:611)
com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:137)
com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:69)
com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1134)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

[25/06 21:38:16] ---------------------- End ---------------------
[25/06 21:38:16] L2World: Current object: Mithril Ore(1876)[268482586] already exist in OID map!
[25/06 21:38:16] java.lang.Thread.getStackTrace(Unknown Source)
com.l2jserver.gameserver.model.L2World.storeObject(L2World.java:105)
com.l2jserver.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1679)
com.l2jserver.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:781)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:6955)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1089)
com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:611)
com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:137)
com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:69)
com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1134)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 6966
Joined: Tue Aug 11, 2009 3:36 am

Re: What this is DEADLOCK?

Post by Zoey76 » Sun Oct 18, 2015 8:09 pm

Please update to last version and use HikariCP as connection pool.
Using Eclipse 4.15 - OpenJDK11 - MariaDB 10.4.12 - L2J Server 2.6.2.0

Post Reply