pedrohas2000 / pingus

Automatically exported from code.google.com/p/pingus
GNU General Public License v3.0
0 stars 0 forks source link

Game crashes with StateSprite error #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The game crashed with a StateSprite while bashing through the grid in 
alien/aliens1-phil1.pingus

...
DemoRecorder: Writing demo to: 
/home/ingo/.pingus/demos/alien_aliens1-phil-20110901-225557.pingus-demo
Pingus: Standard exception caught!:
StateSprite error

The game should not crash in those situation, but just print a warning that 
something went wrong.

Original issue reported on code.google.com by grum...@gmail.com on 1 Sep 2011 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
Backtrace for the issue:

Breakpoint 1, StateSprite::operator[] (this=0xb29101b8, state=-1291845504) at 
src/pingus/state_sprite.cpp:63
63      out << "StateSprite error: state " << state << " not available";
(gdb) where
#0  StateSprite::operator[] (this=0xb29101b8, state=-1291845504) at 
src/pingus/state_sprite.cpp:63
#1  0x08124e5a in Actions::Basher::update (this=0xb29101b0) at 
src/pingus/actions/basher.cpp:94
#2  0x0811364a in Pingu::update (this=0xb2b659f8) at src/pingus/pingu.cpp:357
#3  0x08116163 in PinguHolder::update (this=0xb30a11f8) at 
src/pingus/pingu_holder.cpp:95
#4  0x0811feed in World::update (this=0xb30216d8) at src/pingus/world.cpp:180
#5  0x0811bcc5 in Server::update (this=0xb3026ce0) at src/pingus/server.cpp:102
#6  0x080746e5 in DemoSession::update (this=0x83b9630, delta=0.0250000004) at 
src/pingus/screens/demo_session.cpp:158
#7  0x080fcfc2 in ScreenManager::update (this=0xbffff300, delta=0.0250000004, 
events=...) at src/engine/screen/screen_manager.cpp:265
#8  0x080fd56d in ScreenManager::display (this=0xbffff300) at 
src/engine/screen/screen_manager.cpp:225
#9  0x0804fa43 in PingusMain::start_game (this=0xbffff46c) at 
src/pingus/pingus_main.cpp:655
#10 0x080553b6 in PingusMain::main (this=0xbffff46c, argc=2, argv=0xbffff5b4) 
at src/pingus/pingus_main.cpp:700
#11 0x0804ea0c in main (argc=2, argv=0xbffff5b4) at src/main.cpp:22

Original comment by grum...@gmail.com on 6 Sep 2011 at 2:38

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 65a5d1f9d3ac.

Original comment by grum...@gmail.com on 6 Sep 2011 at 2:55