[quake3-bugzilla] [Bug 5196] Segmentation fault after restarting Q3DM12 single player
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Sat Aug 20 05:39:41 EDT 2011
https://bugzilla.icculus.org/show_bug.cgi?id=5196
--- Comment #3 from yellow at rg3.name 2011-08-20 05:39:38 EDT ---
I think I have found the cause of the problem. When building from trunk, the
building process creates a file baseq3/vm/qagame.qvm, like this:
Q3ASM build/release-linux-x86_64/baseq3/vm/cgame.qvm
Q3ASM build/release-linux-x86_64/baseq3/vm/qagame.qvm
Q3ASM build/release-linux-x86_64/baseq3/vm/ui.qvm
When I launch the game normally with everything in place, I cannot restart at
least those matches because I get an error about that qagame.qvm file in the
terminal, which triggers some error handling code and ends up in a segmentation
fault for some reason.
==== ShutdownGame ====
VM_Restart()
Loading vm file vm/qagame.qvm...
Failed.
^3Warning: Couldn't open VM file vm/qagame.qvm
********************
ERROR: VM_Restart failed
********************
----- Server Shutdown (Server crashed: VM_Restart failed) -----
----- Client Shutdown (Received signal 11) -----
----- FS_Startup -----
Current search path:
/home/rg3/.q3a/baseq3
./baseq3
./baseq3/pak8.pk3 (9 files)
./baseq3/pak7.pk3 (4 files)
./baseq3/pak6.pk3 (64 files)
./baseq3/pak5.pk3 (7 files)
./baseq3/pak4.pk3 (272 files)
./baseq3/pak3.pk3 (4 files)
./baseq3/pak2.pk3 (148 files)
./baseq3/pak1.pk3 (26 files)
./baseq3/pak0.pk3 (3539 files)
handle 1: music/win.wav
----------------------
4073 files in pk3 files
RE_Shutdown( 1 )
Closing SDL audio device...
SDL audio device shut down.
-----------------------
----- Server Shutdown (Received signal 11) -----
Segmentation fault
However, if I put those "vm" files out of sight, the game works and does not
crash, and it seems to take them from the official pak files.
==== ShutdownGame ====
VM_Restart()
Loading vm file vm/qagame.qvm...
File "vm/qagame.qvm" found in "./baseq3/pak8.pk3"
------- Game Initialization -------
gamename: baseq3
gamedate: Sep 30 2002
I'm attaching the generated .qvm files in case they are wrong.
--
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the quake3-bugzilla
mailing list