[Bf-committers] Save session recovery on SIGSEGV
Stephane SOPPERA
stephane.soppera at wanadoo.fr
Thu Feb 24 00:05:09 CET 2005
joeedh wrote:
> Hi. I've made a patch where BKE_undo_save_quit (the session recovery
> saving function) is called whenever a segmentation fault occurs.
>
> I don't know if this is a good idea, if it'll work cross platforms, or
> whatever, but anyway heres a patch.
Maybe it should not be included when building in debug mode. I made a
little test and catching SIGSEGV prevents from creating a core.XXXX
file. This file can be usefull if you were running blender outside the
debugger when it crashed.
--
Stephane SOPPERA
More information about the Bf-committers
mailing list