Bug#392774: wormux: blocks the whole X session when GNU touches the first object

Steve Langasek vorlon at debian.org
Thu Oct 26 07:30:20 CEST 2006


Hi Eddy,

Can you still reproduce this bug now that Xorg 7.1 has reached testing?

FWIW, there is no bug in the assembly that you've cited.  The problem is
with the initial value of 'angle':

$5 = 3.1826378988422823e+306

This number is so large that subtracting pi from it as a floating point
number gives you the same number -- there's not enough precision to record a
difference of 3.14 between two numbers on the order of 10^306!  (And even if
it could, it would take a horribly long time to reach the desired value!)

So the question is, how is angle being set to a value so high?  If that's
expected behavior, then this code needs to get the value down into the
desired range using something better than subtraction/addition.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/




More information about the Pkg-games-devel mailing list