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
Segmentation fault in FitzQuake SDL 0.80 with Ubuntu
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
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
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).
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? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
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.
Re: Segmentation fault in FitzQuake SDL 0.80 with Ubuntu
0.85 actuallyBaker wrote:(Quakespasm is basically FitzQuake 0.80 that has been actively developed and improved).
-
- Posts: 53
- Joined: Sat Oct 02, 2010 5:42 am
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.