L'adresse de la liste de diffusion est wormux-dev AT gna.org ---------- Message transmis ----------
Subject: [Wormux-gna] Glibc error Date: Dimanche 9 Avril 2006 20:45 From: "Théophile Helleboid - Chtitux" <[EMAIL PROTECTED]> To: wormux-gna@gna.org Hello all, I've just compiled wormux 0.7 on my 686 with gcc 3.4.6 and glibc-2.4-r with gentoo. After compiling, I launch wormux : (gdb) run Starting program: /usr/local/bin/wormux [Thread debugging using libthread_db enabled] [New Thread -1219295568 (LWP 324)] === Wormux version 0.7 === Auteurs : Lawrence AZZOUG, Laurent DEFERT SIMONNEAU, Jean-Christophe DUBERGA, Matthieu FERTRE, Renaud LOTTIAUX, Victor STINNER === Site web : http://www.wormux.org Wormux version 0.7, Copyright (C) 2001-2004 Lawrence Azzoug Wormux comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Read COPYING file for details. !!! This program was compiled in DEBUG mode (development version) !!! [ Lancement du jeu ] [New Thread -1219728480 (LWP 332)] *** glibc detected *** /usr/local/bin/wormux: free(): invalid pointer: 0x081802e8 *** ======= Backtrace: ========= ... Total backtrace here : http://pastebin.com/649844 I print the backtrace get by gdb here : (gdb) backtrace #0 0xffffe410 in __kernel_vsyscall () #1 0xb79c4aed in raise () from /lib/libc.so.6 #2 0xb79c6143 in abort () from /lib/libc.so.6 #3 0xb79f81d3 in __fsetlocking () from /lib/libc.so.6 #4 0xb79fdc4a in malloc_usable_size () from /lib/libc.so.6 #5 0xb79fe6dd in free () from /lib/libc.so.6 #6 0xb7b815cd in operator delete () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #7 0xb7b628a1 in std::string::_Rep::_M_destroy () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #8 0xb7b62b3f in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #9 0x0807c85f in ResourceManager::LoadImage (this=0x811fe7c, profile=0x8153938, resource_name= {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x816d174 "bazooka"}}) at tool/resource_manager.cpp:150 #10 0x080d0974 in Weapon (this=0x816cf10, type=WEAPON_BAZOOKA, [EMAIL PROTECTED], params=0x816cf88, visibility=0) at weapon/weapon.cpp:110 #11 0x080d7a6b in WeaponLauncher (this=0x816cf10, type=WEAPON_BAZOOKA, [EMAIL PROTECTED], params=0x816cf88, visibility=0) at weapon/launcher.cpp:268 #12 0x080de80c in Bazooka (this=0x816cf10) at weapon/bazooka.cpp:62 #13 0x080d3b7b in WeaponsList::Init (this=0x8120d00) at weapon/weapons_list.cpp:73 #14 0x08056613 in Config::Apply (this=0x8123590) at game/config.cpp:214 #15 0x080530c8 in AppWormux::Init (this=0x8123568, argc=1, argv=0xbfe16b34) at main.cpp:127 #16 0x08052b80 in AppWormux::main (this=0x8123568, argc=1, argv=0xbfe16b34) at main.cpp:64 #17 0x08054019 in main (argc=1, argv=0xbfe16b34) at main.cpp:232 (gdb) (the same text here : http://pastebin.com/649847 ) The "where" of gdb is here : http://pastebin.com/649856 I don't know why wormuw crashed ... My next mail is about wormux-svn compiling :) Bye -- Chtitux - Théophile Helleboid _______________________________________________ Wormux-gna mailing list Wormux-gna@gna.org https://mail.gna.org/listinfo/wormux-gna ------------------------------------------------------- _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev