Page 1 of 1

Deadlock detected

Posted: Wed Aug 31, 2011 1:53 pm
by Starter
L2J Revision: 4881
L2JDP Revision: 8325

Hello everyone,

im kinda desperate meanwhile because I searched and searched but didnt find any kind of solution to this problem.

The problem is that since I use H5 on my server im getting randomly deadlocks. One of the most messages is this one and im not sure if its caused by my server mods which I had on Freya as well and there didnt happen anything like that or if its due to that changeset (http://trac.l2jserver.com/changeset/479 ... acter.java) maybe..

Code: Select all

    2011.08.31 12:41:51,167 WARNING 288 com.l2jserver.util.DeadLockDetector DeadLock Found!    "Normal Packet Pool-1" Id=299 BLOCKED on [Lcom.l2jserver.gameserver.skills.Calculator;@5fcb4783 owned by "EffectsSTPool-6" Id=41    at com.l2jserver.gameserver.model.actor.L2Character.addStatFunc(L2Character.java:3874)    -  blocked on [Lcom.l2jserver.gameserver.skills.Calculator;@5fcb4783    at com.l2jserver.gameserver.model.L2Augmentation$AugmentationStatBoni.applyBonus(L2Augmentation.java:84)    at com.l2jserver.gameserver.model.L2Augmentation.applyBonus(L2Augmentation.java:126)    at com.l2jserver.gameserver.model.itemcontainer.Inventory$ItemSkillsListener.notifyEquiped(Inventory.java:336)    at com.l2jserver.gameserver.model.itemcontainer.Inventory.setPaperdollItem(Inventory.java:1010)    -  locked com.l2jserver.gameserver.model.itemcontainer.PcInventory@26dfe82f    at com.l2jserver.gameserver.model.itemcontainer.Inventory.equipItem(Inventory.java:1318)    at com.l2jserver.gameserver.model.itemcontainer.Inventory.equipItemAndRecord(Inventory.java:1247)    at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.useEquippableItem(L2PcInstance.java:2600)        Number of locked synchronizers = 2    - java.util.concurrent.ThreadPoolExecutor$Worker@4e9444a7    - java.util.concurrent.locks.ReentrantLock$NonfairSync@36047999        "EffectsSTPool-6" Id=41 BLOCKED on com.l2jserver.gameserver.model.itemcontainer.PcInventory@26dfe82f owned by "Normal Packet Pool-1" Id=299    at com.l2jserver.gameserver.model.itemcontainer.Inventory.getPaperdollItem(Inventory.java:832)    -  blocked on com.l2jserver.gameserver.model.itemcontainer.PcInventory@26dfe82f    at com.l2jserver.gameserver.skills.conditions.ConditionUsingItemType.testImpl(ConditionUsingItemType.java:59)    at com.l2jserver.gameserver.skills.conditions.Condition.test(Condition.java:119)    at com.l2jserver.gameserver.skills.conditions.ConditionLogicNot.testImpl(ConditionLogicNot.java:67)    at com.l2jserver.gameserver.skills.conditions.Condition.test(Condition.java:119)    at com.l2jserver.gameserver.skills.funcs.FuncMul.calc(FuncMul.java:31)    at com.l2jserver.gameserver.skills.Calculator.calc(Calculator.java:177)    at com.l2jserver.gameserver.model.actor.stat.CharStat.calcStat(CharStat.java:101)    ...    Number of locked synchronizers = 1    - java.util.concurrent.ThreadPoolExecutor$Worker@6dc11b9        Java-level deadlock:    Normal Packet Pool-1 is waiting to lock [Lcom.l2jserver.gameserver.skills.Calculator;@5fcb4783 which is held by EffectsSTPool-6    EffectsSTPool-6 is waiting to lock com.l2jserver.gameserver.model.itemcontainer.PcInventory@26dfe82f which is held by Normal Packet Pool-1        Java-level deadlock:    EffectsSTPool-6 is waiting to lock com.l2jserver.gameserver.model.itemcontainer.PcInventory@26dfe82f which is held by Normal Packet Pool-1    Normal Packet Pool-1 is waiting to lock [Lcom.l2jserver.gameserver.skills.Calculator;@5fcb4783 which is held by EffectsSTPool-6 
Please, if anyone has a small idea let me know.. :S

Re: Deadlock detected

Posted: Wed Nov 30, 2011 9:38 pm
by thorl2
yeah i have this problem too, older l2jrev and no one give help...

Re: Deadlock detected

Posted: Sun Dec 04, 2011 5:02 pm
by Sho17
thorl2 wrote:yeah i have this problem too, older l2jrev and no one give help...
well,i think that h5 its not so stable as many peoples think.

however,try to update your core