Page 1 of 1

Possible data racing in RequestSkillUse

Posted: Sun Jun 05, 2011 8:53 am
by Sylar88
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:

This bug have been spoted in three different servers, running different versions of l2jserver thus stating a revision wouldnt be of any help. After checking some tickets and forum posts ( http://trac.l2jserver.com/ticket/2870 ) it seems that those are connected somehow.

Player reports:

During farming or pvp ( as i suspect on heavy skill usage ) the player gets frozen. He can receive packets from the server normally, but cannot send any packet back. To solve it the player must crash the client ( ctrl alt del ) and restart the application.

Video report:

Taken from youtube, this player experiences the same consequences: http://www.youtube.com/watch?v=lVnXxsjP2fI

Reproduced:

I have managed to reproduce the previously stated bug in live servers with 100+ count. It seems that the lower the reusedelay/cast delay of a skill, the faster the bug occurs. The amount of skills casted before the bug happens is random, thus pointing to some parallel programming issue probably.

I have tried placing custom skilluse flood protectors of 1, 2,3 interval in the entry point of runImpl() function of RequestSkillUse client packet, but it doesnt seem to help the situation at all. There is also no exception thrown into the console.