• [^] # Re: Compilation reussi mais....

    Posté par . En réponse au journal Wormux 0.7beta1. Évalué à 1.

    Voici déjà la sortie du where de gdb (je ne sais pas si ça peut t'aider) :

    [ Lancement du jeu ]
    [New Thread -1219368016 (LWP 25446)]
    *** glibc detected *** free(): invalid pointer: 0x081f6a28 ***

    Program received signal SIGABRT, Aborted.
    [Switching to Thread -1217620288 (LWP 25443)]
    0xffffe410 in __kernel_vsyscall ()
    (gdb) where
    #0 0xffffe410 in __kernel_vsyscall ()
    #1 0xb7a0d9b1 in raise () from /lib/tls/i686/cmov/libc.so.6
    #2 0xb7a0f2c9 in abort () from /lib/tls/i686/cmov/libc.so.6
    #3 0xb7a416ea in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
    #4 0xb7a47f54 in malloc_trim () from /lib/tls/i686/cmov/libc.so.6
    #5 0xb7a482ca in free () from /lib/tls/i686/cmov/libc.so.6
    #6 0xb7be88b1 in operator delete () from /usr/lib/libstdc++.so.6
    #7 0x0805b543 in std::_List_base<xmlpp::Node*, std::allocator<xmlpp::Node*> >::_M_clear (this=0x3f) at new_allocator.h:94
    #8 0xb7e621ef in xmlpp::Node::get_children () from /usr/lib/libxml++-2.6.so.2
    #9 0xb7e627f6 in xmlpp::Node::get_children () from /usr/lib/libxml++-2.6.so.2
    #10 0x0805a72f in LitDocXml::Access (x=0x0, name=@0x0, attr_name=@0xbf8d03f0) at tool/xml_document.cpp:48
    #11 0x0805cd08 in ResourceManager::GetElement (this=0x80cfa00, profile=0x8175f90, resource_type=@0xbf8d03f4, resource_name=@0xbf8d03f0) at tool/resource_manager.cpp:156
    #12 0x0805d3dd in ResourceManager::LoadImage (this=0x80cfa00, profile=0x8175f90, resource_name=@0xbf8d0450) at tool/resource_manager.cpp:181
    #13 0x0809758a in Weapon::Init (this=0x8179338) at weapon/weapon.cpp:232
    #14 0x08098be6 in WeaponsList::InitAndAddToList (this=0x80d0120, arme=0x8179338, num_sort=1) at weapon/weapons_list.cpp:59
    #15 0x08098cdd in WeaponsList::Init (this=0x80d0120) at weapon/weapons_list.cpp:76
    #16 0x0804ddb7 in Wormux::Config::Applique (this=0x80cf8c0) at game/config.cpp:228
    #17 0x0804c686 in AppWormux::Init (this=0x80cf89c, argc=1, argv=0xbf8d0714) at main.cpp:183
    #18 0x0804cb3b in AppWormux::main (this=0x80cf89c, argc=0, argv=0x0) at main.cpp:230
    #19 0x0804cd10 in main (argc=0, argv=0x0) at main.cpp:285
    (gdb)



    Prochaine étape, essayé de compiler en mode débug, j'aurai peut-être plus de résultats