Bug#546514: Infinite lives (related to 64 bit?)

Julien Jorge julien.jorge at gamned.org
Tue Sep 15 08:09:56 UTC 2009


> Package: plee-the-bear
> Version: 0.4.1-1
> Severity: minor

> After losing all my lives, the game over screen shows.  After waiting
> a few seconds, the game restarts at the beginning of the current
> level, with 4294967295 lives (2^32-1).

> Some bugs are /fun/, I'm not sure if this is a intended development
> feature.

> Steve

Hi Steve,

Thank you for reporting the bug. Actually, it is not related to 64 bit.
The explanation is that Plee continues to be injured during the game
over, until losing one more life, thus obtaining 2^32-1 lives by
integer overflow.

The bug has been resolved in the development tree but the changes may
be too big to be immediately inserted here (complete changes in the
states of Plee when dying). We are thinking about a workaround for this
release. Nevertheless, one can suppose it won't be fixed before release
0.5.

Regards,

Julien





More information about the Pkg-games-devel mailing list