Discussion:
Segfault with build_release, but not with build_debug
Asfand Yar Qazi
2005-02-13 07:27:35 UTC
Permalink
Hi,

i386 CVS build test here....

It crashes after running for about 10 seconds in release mode
("Received signal 11, exiting....") but its fine with debug mode...
any ideas, or should I delve further?
Brendan Burns
2005-02-13 14:44:55 UTC
Permalink
Not sure, is that 10 seconds of running? or ten seconds of playing a
game?

--brendan
Post by Asfand Yar Qazi
Hi,
i386 CVS build test here....
It crashes after running for about 10 seconds in release mode
("Received signal 11, exiting....") but its fine with debug mode...
any ideas, or should I delve further?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2377 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake2/attachments/20050213/316ec22d/attachment.bin>
x0563511
2005-02-14 01:27:30 UTC
Permalink
Have you tried recompiling? Sounds like removing the debugging
symbols/breaks is killing something. Im not really sure, i haven't but
glanced at the code.

Well, if debug works, why not use it? The only difference should be a
slightly larger and slightly (if any) slower binary.
Not sure, is that 10 seconds of running? or ten seconds of playing a game?
--brendan
Post by Asfand Yar Qazi
Hi,
i386 CVS build test here....
It crashes after running for about 10 seconds in release mode
("Received signal 11, exiting....") but its fine with debug mode...
any ideas, or should I delve further?
Asfand Yar Qazi
2005-02-14 07:54:40 UTC
Permalink
Post by x0563511
Have you tried recompiling? Sounds like removing the debugging
symbols/breaks is killing something. Im not really sure, i haven't but
glanced at the code.
Well, if debug works, why not use it? The only difference should be a
slightly larger and slightly (if any) slower binary.
Isn't the point to weed out the bugs?
Post by x0563511
Not sure, is that 10 seconds of running? or ten seconds of playing a game?
10 seconds of running.

I'll delve further, since it doesn't seem to be a known matter :-)
Brendan Burns
2005-02-15 13:00:21 UTC
Permalink
Thanks for investigating... GDB is your friend here:

bash> gdb quake2
gdb> run

<wait for crash>

gdb> list

should tell you where the problem occured...

Good luck!
--brendan
Post by Asfand Yar Qazi
Post by x0563511
Have you tried recompiling? Sounds like removing the debugging
symbols/breaks is killing something. Im not really sure, i haven't
but glanced at the code.
Well, if debug works, why not use it? The only difference should be a
slightly larger and slightly (if any) slower binary.
Isn't the point to weed out the bugs?
Post by x0563511
Not sure, is that 10 seconds of running? or ten seconds of playing a game?
10 seconds of running.
I'll delve further, since it doesn't seem to be a known matter :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2377 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake2/attachments/20050215/c6e6c471/attachment.bin>
Loading...