URL:
<http://gna.org/bugs/?15634>
Summary: Game crashes while initialisation phase in game
mode blitz
Project: Wormux
Submitted by: fuzxxl
Submitted on: Dienstag 16.03.2010 um 18:34
Category: Game
Severity: 4 - Important
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 0.9.1
Discussion Lock: Any
_______________________________________________________
Details:
Wormux crashes while initialisation with a SIGFPE (an Division by zero
occurs) if you try to start a game in mode blitz. GDB shows up, that this is
during a possibly wrong value for sprite.GetCurrentFrameObject().delay. GDB
says:
Program received signal SIGFPE, Arithmetic exception.
0x080a96be in SpriteAnimation::Update (this=0x9cc07d0)
at graphic/spriteanimation.cpp:94
94 int delta_to_next_f = (int)((float)((Time::GetInstance()->Read() -
last_update) / sprite.GetCurrentFrameObject().delay) * speed_factor);
(gdb) p sprite.GetCurrentFrameObject().delay
$1 = 0
The whole log is available in attachement.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Dienstag 16.03.2010 um 18:34 Name: Crashlog Wormux.log Size: 10kB
By: fuzxxl
Log file of the crash.
<http://gna.org/bugs/download.php?file_id=8545>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15634>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna