Main Page » Coredump


In Linux, to help with debugging a problem, you may wish to get a core dump after a segmentation fault.

To tell scorched3d to allow a core dump, run with the -allowexceptions flag. For example scorched3ds -startserver server.xml -allowexceptions runs the server to allowing core dumps, and scorched3dc -allowexceptions runs the client allowing core dumps.

If this does not produce a core dump, you may also need to run ulimit -c unlimited command on the shell command line prior to running scorched (but in the same command window). This raises the default maximum size for core dumps which is zero on some distributions.

To get some information about the crash, run gdb scorched3dc core*, then, in the debugger, type "where" and it'll show the last few functions before the crash.

Donate to Scorched3D Get it from CNET Download.com! 5 Stars