maciekph / joscar

Automatically exported from code.google.com/p/joscar
0 stars 0 forks source link

infinity loop #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sometimes client start overloading cpu

the issue is in the SeqNum
for (i = n; (i >>= 3) != 0; s += i);

if new Random().nextLong() in RvProcessor returns negative value - we r
getting infinity loop

Original issue reported on code.google.com by dimaz...@gmail.com on 26 May 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Duplicate of issue #10 -- but fixed in trunk!

Original comment by jadest...@gmail.com on 3 Mar 2011 at 3:26