Hi all,

I didn't manage to run wormux 0.8alpha1 on my FreeBSD system (x86),
the screen flickers, then the program crashes.

If you need the core I can send it, I configured wormux using --enable-debug
to gather the following traces:

> ./wormux 
=== Wormux version 0.8alpha1
=== Authors: Lawrence AZZOUG, Anthony CARRE, Laurent DEFERT SIMONNEAU, 
Jean-Christophe DUBERGA, Matthieu FERTRE, Renaud LOTTIAUX, Yannig PERRE, Olivie 
SERRES, Victor STINNER
=== Website: http://www.wormux.org

Wormux version 0.8alpha1, Copyright (C) 2001-2006 Wormux Team
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) !!!

[ Run game ]

object/object_cfg.cpp:55: Missed assertion "doc.Charge (file)".
Abort (core dumped)
> gdb ./wormux wormux.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `wormux'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libSDL_net.so.0...done.
Loaded symbols for /usr/local/lib/libSDL_net.so.0
Reading symbols from /usr/local/lib/libSDL_ttf.so.6...done.
Loaded symbols for /usr/local/lib/libSDL_ttf.so.6
Reading symbols from /usr/local/lib/libSDL_mixer.so.2...done.
Loaded symbols for /usr/local/lib/libSDL_mixer.so.2
Reading symbols from /usr/local/lib/libSDL_image.so.1...done.
Loaded symbols for /usr/local/lib/libSDL_image.so.1
Reading symbols from /usr/local/lib/libSDL_gfx.so.13...done.
Loaded symbols for /usr/local/lib/libSDL_gfx.so.13
Reading symbols from /usr/local/lib/libSDL.so.11...done.
Loaded symbols for /usr/local/lib/libSDL.so.11
Reading symbols from /usr/local/lib/libxml++-2.6.so.2...done.
Loaded symbols for /usr/local/lib/libxml++-2.6.so.2
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.3...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /usr/local/lib/libglibmm-2.4.so.1...done.
Loaded symbols for /usr/local/lib/libglibmm-2.4.so.1
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libsigc-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libsigc-2.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/lib/libpthread.so.2...done.
Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/local/lib/libintl.so.6...done.
Loaded symbols for /usr/local/lib/libintl.so.6
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libjpeg.so.9...done.
Loaded symbols for /usr/local/lib/libjpeg.so.9
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.2
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libvga.so.1...done.
Loaded symbols for /usr/local/lib/libvga.so.1
Reading symbols from /usr/local/lib/compat/libvgl.so.3...done.
Loaded symbols for /usr/local/lib/compat/libvgl.so.3
Reading symbols from /usr/local/lib/libaa.so.1...done.
Loaded symbols for /usr/local/lib/libaa.so.1
Reading symbols from /usr/local/lib/compat/libusbhid.so.1...done.
Loaded symbols for /usr/local/lib/compat/libusbhid.so.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/lib/libncurses.so...done.
Loaded symbols for /usr/lib/libncurses.so
Reading symbols from 
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXfixes.so.3...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.3
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x286c84ab in pthread_testcancel () from /usr/lib/libpthread.so.2
[New Thread 0x81c6400 (runnable)]
[New Thread 0x81c6200 (LWP 100155)]
[New Thread 0x8193000 (LWP 100169)]
(gdb) info thr
  3 Thread 0x8193000 (LWP 100169)  0x28783363 in kill () from /lib/libc.so.6
* 2 Thread 0x81c6200 (LWP 100155)  0x286c84ab in pthread_testcancel () from 
/usr/lib/libpthread.so.2
  1 Thread 0x81c6400 (runnable)  0x286c0f0f in pthread_mutexattr_init () from 
/usr/lib/libpthread.so.2
(gdb) thr 1
[Switching to thread 1 (Thread 0x81c6400 (runnable))]#0  0x286c0f0f in 
pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x286c0f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#1  0x286ba9ae in _nanosleep () from /usr/lib/libpthread.so.2
#2  0x286bab12 in nanosleep () from /usr/lib/libpthread.so.2
#3  0x28263a75 in SDL_Delay () from /usr/local/lib/libSDL.so.11
#4  0x28263ac6 in RunTimer () from /usr/local/lib/libSDL.so.11
#5  0x28227682 in SDL_RunThread () from /usr/local/lib/libSDL.so.11
#6  0x282627cb in RunThread () from /usr/local/lib/libSDL.so.11
#7  0x286b9319 in pthread_create () from /usr/lib/libpthread.so.2
#8  0x2876d637 in _ctx_start () from /lib/libc.so.6
(gdb) thr 2
[Switching to thread 2 (Thread 0x81c6200 (LWP 100155))]#0  0x286c84ab in 
pthread_testcancel () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x286c84ab in pthread_testcancel () from /usr/lib/libpthread.so.2
#1  0x286b67ec in sigaction () from /usr/lib/libpthread.so.2
#2  0x286c0e3c in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#3  0x28690450 in ?? ()
(gdb) thr 3
[Switching to thread 3 (Thread 0x8193000 (LWP 100169))]#0  0x28783363 in kill 
() from /lib/libc.so.6
(gdb) bt
#0  0x28783363 in kill () from /lib/libc.so.6
#1  0x080ac468 in WakeUpDebugger () at tool/error.cpp:41
#2  0x080ac502 in MissedAssertion (filename=0x81485e9 "object/object_cfg.cpp", 
line=55, 
    message=0x81485d7 "doc.Charge (file)") at tool/error.cpp:53
#3  0x080ec819 in ObjectConfig::LoadXml (this=0x8200af4, [EMAIL PROTECTED], 
[EMAIL PROTECTED])
    at object/object_cfg.cpp:55
#4  0x080e3534 in PhysicalObj (this=0x8200a00, [EMAIL PROTECTED], [EMAIL 
PROTECTED]) at object/physical_obj.cpp:79
#5  0x0811f25d in WeaponProjectile (this=0x8200a00, [EMAIL PROTECTED], [EMAIL 
PROTECTED], p_launcher=0x81d4600)
    at weapon/launcher.cpp:101
#6  0x081283d0 in RoquetteBazooka (this=0x8200a00, [EMAIL PROTECTED], 
p_launcher=0x81d4600) at weapon/bazooka.cpp:37
#7  0x08128919 in Bazooka::GetProjectileInstance (this=0x81d4600) at 
weapon/bazooka.cpp:68
#8  0x081204c5 in WeaponLauncher::ReloadLauncher (this=0x81d4600) at 
weapon/launcher.cpp:340
#9  0x081288b1 in Bazooka (this=0x81d4600) at weapon/bazooka.cpp:63
#10 0x0811b81c in WeaponsList::Init (this=0x8188ec0) at 
weapon/weapons_list.cpp:72
#11 0x0807d4b9 in Config::Apply (this=0x818b680) at game/config.cpp:218
#12 0x0807a579 in AppWormux::Init (this=0x81961c0, argc=1, argv=0xbfbfe878) at 
main.cpp:139
#13 0x0807a0e0 in AppWormux::main (this=0x81961c0, argc=1, argv=0xbfbfe878) at 
main.cpp:65
#14 0x0807b312 in main (argc=1, argv=0xbfbfe878) at main.cpp:234
(gdb) q
> 

If you need more information or a few tests, I'll be glad to help.

-- 
Alain

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à