Home
Screenshots
Downloads
Forums
Docs
Servers
Stats
IRC Chat
Mods
SpecialSpecial  SearchSearch  LoginLogin
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
Mobile Phones | Loans | Car Credit | McDonalds | Remortgages
Safe
OpenGL Supporter Available for Linux Available for Windows Available for Mac Available for Solaris Available for Gentoo Available for Debian Available for Slackware Available for FreeBSD
Donate to Scorched3D Visit Scorched3D at SourceForge.net Get it from CNET Download.com! 5 Stars
© Copyright 2008 Gavin Camp. All Rights reserved.