Home
Screenshots
Downloads
Forums
Docs
Servers
Stats
IRC Chat
Mods

Special Special    Search Search    Login/Logout Login

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.




Edit this pagePage historyWhat links hereRelated changes
Donate to Scorched3D Get Scorched 3D at SourceForge.net. Fast, secure and Free Open Source software downloads Get it from CNET Download.com! 5 Stars
Scorched3D a totally free game, mountaintop removal at its finest.
© Copyright 2009 Gavin Camp. All Rights reserved.