[quake3-bugzilla] [Bug 5702] New: QVM execution crashes when compiled with -fstack-protector
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Sat Jun 30 21:27:34 EDT 2012
https://bugzilla.icculus.org/show_bug.cgi?id=5702
Summary: QVM execution crashes when compiled with
-fstack-protector
Product: ioquake3
Version: SVN HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Misc
AssignedTo: zakk at icculus.org
ReportedBy: brian.webbs at gmx.de
QAContact: quake3-bugzilla at icculus.org
When ioq3ded+ioquake3 are compiled with -fstack-protector in CFLAGS, the
executables crash while loading QVMs;
Loading vm file vm/qagame.qvm...
File "vm/qagame.qvm" found in "/usr/share/games/quake3/baseq3/pak8.pk3"
VM file qagame compiled to 1823488 bytes of code
qagame loaded in 3270528 bytes on the hunk
********************
ERROR: program tried to execute code outside VM
********************
----- Server Shutdown (Server crashed: program tried to execute code
outside VM) -----
recursive error after: program tried to execute code outside VM
This compile option is enabled by default on Gentoo Hardened and similar
setups.
I guess there is no easy way to selectively disable SSP for the function(s)
which cause trouble. As such it might be a good idea to add
-fno-stack-protector and a comment to the default CFLAGS?
--
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