URL:
<http://gna.org/bugs/?func=detailitem&item_id=5973>
Summary: Segfault on game message reset
Project: Wormux
Submitted by: lodesi
Submitted on: lundi 22.05.2006 à 11:35
Category: None
Priority: 9 - Immediate
Severity: 4 - Important
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
To reproduce:
Start a game (démarrer la partie)
Quit the game (quitter la partie, pas le jeu ;))
Start a new game
Segfault there:
[ Starting a new game ]
Loading game... => Splashscreen is TODO
o Find a random position for characters
o Ground initialization... done
o Initialise objects
*** glibc detected *** double free or corruption (fasttop): 0x09a4c800 ***
Program received signal SIGABRT, Aborted.
[Switching to Thread -1218021696 (LWP 11085)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb79e2ef1 in raise () from /lib/tls/libc.so.6
#2 0xb79e483b in abort () from /lib/tls/libc.so.6
#3 0xb7a18ff5 in __fsetlocking () from /lib/tls/libc.so.6
#4 0xb7a1f587 in malloc_usable_size () from /lib/tls/libc.so.6
#5 0xb7a1fa02 in free () from /lib/tls/libc.so.6
#6 0xb7bc76f1 in operator delete () from /usr/lib/libstdc++.so.6
#7 0xb7ba435d in std::string::_Rep::_M_destroy () from
/usr/lib/libstdc++.so.6
#8 0xb7ba5508 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string () from /usr/lib/libstdc++.so.6
#9 0x080703a2 in ~Text (this=0x9a4c848) at graphic/text.cpp:57
#10 0x080a3192 in ~Message (this=0x9a4c848) at interface/game_msg.h:37
#11 0x080a2a86 in GameMessages::Reset (this=0x999f060) at
interface/game_msg.cpp:59
#12 0x0806269d in GameLoop::InitData (this=0x8ba7a80) at
game/game_loop.cpp:249
#13 0x08062ad4 in GameLoop::Init (this=0x8ba7a80) at game/game_loop.cpp:282
#14 0x0805df23 in Game::Start (this=0x8152c10) at game/game.cpp:226
#15 0x08096ff8 in GameMenu::__sig_ok (this=0xbffa260c) at
menu/game_menu.cpp:193
#16 0x0809037f in Menu::sig_ok (this=0xbffa260c) at menu/menu.cpp:55
#17 0x080911b8 in Menu::Run (this=0xbffa260c) at menu/menu.cpp:117
#18 0x08055a46 in AppWormux::main (this=0x81285a8, argc=1, argv=0xbffa2734)
at main.cpp:78
#19 0x08055d46 in main (argc=1, argv=0xbffa2734) at main.cpp:236
(gdb)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?func=detailitem&item_id=5973>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna