Salut, Le vendredi 17 décembre 2004 à 11:53 +0100, Ole Roeßler a écrit : > i compiled&installed the latest cvs version and it freezes when showing the > "Wormux launching"-screen. > > stracelogs with and without -v option are attached.
I think that segfault appears between config.Applique() (main.cpp:146) and menu.ChargeImage() (main.cpp:147). File game_mode/classic.xml looks to be closed when segfault occurs. But I can't explain the segfault ... Please, try again with gdb. Recompile Wormux with "--enable-debug" : ./configure --enable-debug make clean make Run Wormux : cd src gdb ./wormux In gdb : run After segfault : where (<-- to display backtrace) And send us the backtrace, more usefull than strace ! --- HEY ! I think that I found the bug origin : the segfault may comes from sound ! Try the attached config.xml (you have to copy it in ~/.wormux/). It's a classic config file, but with no sound. Bye, Haypo -- Victor STINNER, étudiant à l'UTBM http://www.wormux.org/fr/ : Jeu libre dont je participe au développement
<?xml version="1.0" encoding="iso-8859-1"?> <config> <data_dir>/usr/local/share/wormux/</data_dir> <locale_dir>/usr/local/share/locale/</locale_dir> <map>Angry Cactus</map> <teams> <team>alien</team> <team>ball</team> </teams> <video> <use_sdl>0</use_sdl> <width>800</width> <height>600</height> <full_screen>0</full_screen> </video> <sound> <active>0</active> <music>0</music> <effects>0</effects> <frequency>22050</frequency> </sound> <game_mode>classic</game_mode> </config>