You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the current master branch, when sleeping the game crashes, heres what it says in GDB
/usr/include/c++/4.9.0/debug/vector:357:error: attempt to subscript
container with out-of-bounds index 0, but container only holds 0
elements.
Objects involved in the operation:
sequence "this" @ 0x0x7fffffffae70 {
type = NSt7__debug6vectorI5dreamSaIS1_EEE;
}
Program received signal SIGABRT, Aborted.
0x00007ffff6b07d67 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff6b07d67 in raise () from /lib/libc.so.6 #1 0x00007ffff6b09118 in abort () from /lib/libc.so.6 #2 0x00007ffff7454955 in __gnu_debug::_Error_formatter::_M_error() const () from /lib/libstdc++.so.6 #3 0x00000000009f9474 in operator[](__n=0, this=0x7fffffffae70) at /usr/include/c++/4.9.0/debug/vector:357 #4 player::get_category_dream (this=this@entry=0x35da378, cat="", strength=strength@entry=4) at src/player.cpp:3619 #5 0x0000000000aa98c6 in manage_sleep (p=..., dis=...) at src/disease.cpp:2673 #6 0x0000000000ab2530 in dis_effect (p=..., dis=...) at src/disease.cpp:929 #7 0x0000000000a41a99 in player::suffer (this=this@entry=0x35da378) at src/player.cpp:5474 #8 0x0000000000a47308 in player::process_turn (this=this@entry=0x35da378) at src/player.cpp:537 #9 0x00000000005cb64f in game::do_turn (this=0x3588b90) at src/game.cpp:1416 #10 0x00000000008b8aad in main (argc=0, argv=) at src/main.cpp:314
The text was updated successfully, but these errors were encountered:
pouar
changed the title
crash when sleeping in master branch
crash when sleeping in development branch
Jul 22, 2014
in the current master branch, when sleeping the game crashes, heres what it says in GDB
/usr/include/c++/4.9.0/debug/vector:357:error: attempt to subscript
container with out-of-bounds index 0, but container only holds 0
elements.
Objects involved in the operation:
sequence "this" @ 0x0x7fffffffae70 {
type = NSt7__debug6vectorI5dreamSaIS1_EEE;
}
Program received signal SIGABRT, Aborted.
0x00007ffff6b07d67 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff6b07d67 in raise () from /lib/libc.so.6
#1 0x00007ffff6b09118 in abort () from /lib/libc.so.6
#2 0x00007ffff7454955 in __gnu_debug::_Error_formatter::_M_error() const () from /lib/libstdc++.so.6
#3 0x00000000009f9474 in operator[](__n=0, this=0x7fffffffae70) at /usr/include/c++/4.9.0/debug/vector:357
#4 player::get_category_dream (this=this@entry=0x35da378, cat="", strength=strength@entry=4) at src/player.cpp:3619
#5 0x0000000000aa98c6 in manage_sleep (p=..., dis=...) at src/disease.cpp:2673
#6 0x0000000000ab2530 in dis_effect (p=..., dis=...) at src/disease.cpp:929
#7 0x0000000000a41a99 in player::suffer (this=this@entry=0x35da378) at src/player.cpp:5474
#8 0x0000000000a47308 in player::process_turn (this=this@entry=0x35da378) at src/player.cpp:537
#9 0x00000000005cb64f in game::do_turn (this=0x3588b90) at src/game.cpp:1416
#10 0x00000000008b8aad in main (argc=0, argv=) at src/main.cpp:314
The text was updated successfully, but these errors were encountered: