[bf1942] seg fault

Ryan C. Gordon icculus at clutteredmind.org
Mon Dec 16 14:07:33 EST 2002


> strace...
> No options strace ./bf1942_lnxded
> Hope this helps.

Don't send straces!  The 's' stands for "system call" not "stack", and
generally, it's a ton of output that is pretty useless to me.

Stack traces can be recovered through gdb. Remember that if you are going
for more than one mapchange, the game will restart itself with an execl()
call, which replaces the current process, making running under gdb
useless. In such a case, use the "ulimit" command to have crashes output a
core file, and use gdb with that corefile to get a stack trace.

gdb ./bf1942_lnxded core.39382  (or whatever process id was...)

Then run the "bt" command from inside gdb.

--ryan.





More information about the Bf1942 mailing list