FAQ  •  Register  •  Login

Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Moderator: Inside3D Admins

<<

JasonX

Posts: 300

Joined: Tue Apr 21, 2009 2:08 pm

Post Thu Feb 23, 2012 7:37 pm

Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

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: 300

Joined: Tue Apr 21, 2009 2:08 pm

Post Thu Feb 23, 2012 7:44 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

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
<<

Baker

User avatar

Posts: 3170

Joined: Tue Mar 14, 2006 5:15 am

Post Thu Feb 23, 2012 7:45 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

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 ..
<<

JasonX

Posts: 300

Joined: Tue Apr 21, 2009 2:08 pm

Post Thu Feb 23, 2012 7:58 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Yeah, that's it. QuakeSpasm works perfectly, same scons build script. I'll mess around in the 64 bit changes they made. :)
<<

metlslime

Posts: 310

Joined: Tue Feb 05, 2008 11:03 pm

Post Mon Feb 27, 2012 7:20 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Baker wrote:(Quakespasm is basically FitzQuake 0.80 that has been actively developed and improved).


0.85 actually :)
<<

SleepwalkR

Posts: 33

Joined: Sat Oct 02, 2010 5:42 am

Post Tue Feb 28, 2012 1:19 pm

Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu

Don't use Fitzquake SDL 0.80 for anything - it never really made it out of beta and was superseded by QuakeSpasm.

Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.
Icons provided by Aha Soft