Back to the Vavoom Forum Archives


Forum

[Fixed] [1.30] segfault when no arguments provided

Tue, 21 Apr 2009 08:08:48

jeremyhu

I didn't expect it to start a particular game, but I did expect SOMETHING useful (usage information, whatever). Instead I got a segfault. This should not happen. [jeremy@localhost Download]$ gdb /usr/bin/vavoom GNU gdb (GDB) Fedora (6.8.50.20090302-19.fc11) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "ppc-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... (gdb) run Starting program: /usr/bin/vavoom [Thread debugging using libthread_db enabled] Adding /usr/share/vavoom/basev/common/basepak.pk3 Doing C_Shutdown Doing CL_Shutdown Doing SV_Shutdown Program received signal SIGSEGV, Segmentation fault. 0x101ab778 in SV_ShutdownGame () at /usr/src/debug/vavoom-1.30/source/sv_main.cpp:1006 1006 if (GGameInfo->NetMode == NM_None) Missing separate debuginfos, use: debuginfo-install SDL-1.2.13-9.fc11.ppc SDL_mixer-1.2.8-12.fc11.ppc alsa-lib-1.0.19-3.fc11.ppc audiofile-0.2.6-10.fc11.ppc esound-libs-0.2.41-2.fc11.ppc flac-1.2.1-5.fc11.ppc glibc-2.9.90-16.ppc libX11-1.2-3.fc11.ppc libXau-1.0.4-5.fc11.ppc libXcursor-1.1.9-4.fc11.ppc libXdamage-1.1.1-6.fc11.ppc libXext-1.0.99.1-2.fc11.ppc libXfixes-4.0.3-5.fc11.ppc libXrandr-1.2.99.4-3.fc11.ppc libXrender-0.9.4-5.fc11.ppc libXxf86vm-1.0.2-2.fc11.ppc libdrm-2.4.6-4.fc11.ppc libgcc-4.4.0-0.34.ppc libjpeg-6b-45.fc11.ppc libmikmod-3.2.0-4.beta2.fc11.ppc libogg-1.1.3-11.fc11.ppc libpng-1.2.35-1.fc11.ppc libstdc++-4.4.0-0.34.ppc libvorbis-1.2.0-7.fc11.ppc libxcb-1.2-3.fc11.ppc mesa-libGL-7.5-0.9.fc11.ppc openal-0.0.9-0.17.20060204cvs.fc11.ppc zlib-1.2.3-22.fc11.ppc (gdb) bt #0 0x101ab778 in SV_ShutdownGame () at /usr/src/debug/vavoom-1.30/source/sv_main.cpp:1006 #1 0x101abd04 in SV_Shutdown () at /usr/src/debug/vavoom-1.30/source/sv_main.cpp:167 #2 0x1009c044 in Host_Shutdown () at /usr/src/debug/vavoom-1.30/source/host.cpp:711 #3 0x10252f54 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/vavoom-1.30/source/sys_sdl.cpp:680 (gdb) print GGameInfo $1 = (VGameInfo *) 0x0 (gdb)
Sat, 25 Apr 2009 19:34:48

Janis Legzdinsh

Fixed.

Back to the Vavoom Forum Archives