FS1: crash when leaving mission 2

fatty fatty at gsklan.de
Mon Oct 3 05:20:32 EDT 2005


Hello Mailinglist!

I think I've found a bug in FreeSpace1. Everytime I leave mission 2 of 
the standard campaign with the jump device FreeSpace crashes and I'm 
back on xterm with the following error message:

-----------
$ ./freespace.bin.testing -w -g
Warning: (src/parse/parselo.cpp:339): (1):
Warning: Error opening externalization file! File likely does not exist 
or could not be found
*** glibc detected *** double free or corruption (!prev): 0x08c8f380 ***
Abgebrochen
-----------


Maybe the following backtrace with gdb gives you a hint, what went wrong:

-----------
Starting program: /usr/local/games/freespace/freespace.bin.testing -w -g
[Thread debugging using libthread_db enabled]
[New Thread -1221445104 (LWP 22890)]
Warning: (src/parse/parselo.cpp:339): (1):
Warning: Error opening externalization file! File likely does not exist 
or could not be found
[New Thread -1221821520 (LWP 22891)]
[New Thread -1230574672 (LWP 22892)]
*** glibc detected *** double free or corruption (!prev): 0x08c55620 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1221445104 (LWP 22890)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7c7dd1d in raise () from /lib/libc.so.6
#2  0xb7c7f333 in abort () from /lib/libc.so.6
#3  0xb7cb0b52 in __fsetlocking () from /lib/libc.so.6
#4  0xb7cb6497 in malloc_usable_size () from /lib/libc.so.6
#5  0xb7cb6e9b in free () from /lib/libc.so.6
#6  0x08230667 in vm_free (ptr=0x8c55620) at unix.cpp:201
#7  0x080d6677 in mission_brief_common_reset () at 
missionbriefcommon.cpp:632
#8  0x0804c8d1 in game_level_close () at freespace.cpp:1718
#9  0x0804caa3 in freespace_stop_mission () at freespace.cpp:1822
#10 0x08052387 in game_leave_state (old_state=2, new_state=28) at 
freespace.cpp:5898
#11 0x080765b2 in gameseq_set_state (new_state=28, override=0) at 
gamesequence.cpp:493
#12 0x08051831 in game_process_event (current_state=2, event=33) at 
freespace.cpp:5326
#13 0x08076824 in gameseq_process_events () at gamesequence.cpp:610
#14 0x08053b67 in WinMainSub (hInst=1, hPrev=0, szCmdLine=0x8974d70 
"-w", nCmdShow=0) at freespace.cpp:7249
#15 0x08053baf in WinMain (hInst=1, hPrev=0, szCmdLine=0x8974d70 "-w", 
nCmdShow=0) at freespace.cpp:7287
#16 0x080551d8 in main (argc=3, argv=0xbfcc0554) at unixmain.cpp:49
-----------


I have compiled my binaries from latest cvs and I'm using the German 
version of FreeSpace1, which was bundled with a gaming magazine some 
years ago.

If you need more information, please let me know.

Stephan "fatty" Wurm



More information about the freespace2 mailing list