[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Postby JasonX » Thu Feb 23, 2012 7:37 pm

I'm having a weird segmentation fault in FitzQuake SDL 0.80 with Ubuntu. I have compiled it myself using scons, instead of using the provided Code::Blocks project. Maybe i missed something? GDB says:

Program terminated with signal 11, Segmentation fault.
#0 0x00007f31fc715996 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
JasonX
 
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Postby JasonX » Thu Feb 23, 2012 7:44 pm

Update: Changed -O3 to -O2 and added -Wall. Now i get a different output from GDB:

Program terminated with signal 11, Segmentation fault.
#0 TexMgr_ReloadImage (glt=0x7fb5056ea0d0, shirt=<optimized out>,
pants=<optimized out>) at src/gl_texmgr.c:1246
1246 *dst++ = translation[*src++];
(gdb) bt
#0 TexMgr_ReloadImage (glt=0x7fb5056ea0d0, shirt=<optimized out>,
pants=<optimized out>) at src/gl_texmgr.c:1246
#1 0x000000000044c999 in R_TranslateNewPlayerSkin (playernum=0)
at src/gl_rmisc.c:283
#2 0x0000000000408a4a in CL_ParseUpdate (bits=78) at src/cl_parse.c:412
#3 0x000000000040911a in CL_ParseServerMessage () at src/cl_parse.c:760
#4 0x0000000000416ded in CL_ReadFromServer () at src/cl_main.c:588
#5 0x0000000000435f0d in _Host_Frame (time=0.00100000005) at src/host.c:689
#6 0x0000000000403df1 in main (argc=<optimized out>, argv=<optimized out>)
at src/main.c:136
JasonX
 
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Postby Baker » Thu Feb 23, 2012 7:45 pm

I'd download Quakespasm and compile that on your target and see if it works if self-compiled in CodeBlocks.

At least before compiling FitzQuake 0.80 SDL.

FitzQuake 0.80 is, to the best of my knowledge, pre-64 bit. Unlike Quakespasm.

Then if Quakespasm worked fine, you could look at the Quakespasm CodeBlocks project settings and options and fix your FitzQuake 0.80.

(Quakespasm is basically FitzQuake 0.80 that has been actively developed and improved).
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Postby JasonX » Thu Feb 23, 2012 7:58 pm

Yeah, that's it. QuakeSpasm works perfectly, same scons build script. I'll mess around in the 64 bit changes they made. :)
JasonX
 
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Postby metlslime » Mon Feb 27, 2012 7:20 pm

metlslime
 
Posts: 316
Joined: Tue Feb 05, 2008 11:03 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Postby SleepwalkR » Tue Feb 28, 2012 1:19 pm

Don't use Fitzquake SDL 0.80 for anything - it never really made it out of beta and was superseded by QuakeSpasm.
SleepwalkR
 
Posts: 53
Joined: Sat Oct 02, 2010 5:42 am


Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest