[Bf-committers] Save session recovery on SIGSEGV

joeedh joeeagar at prodigy.net
Wed Feb 23 23:27:24 CET 2005


Alexander Ewering wrote:

>
> On Wed, 23 Feb 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.
>
>
> Cool, I wouldn't have thought the state is sane enough still to save a 
> file
> in that situation.

It should be, assuming that the error didn't arise while making an undo 
push.

It depends on how the undo session saves works; if it simply calls a 
normal save, then yes there could be problems, but if it saves an undo 
push, then there shouldn't be a problem.

Ton, am I right?

joeedh


More information about the Bf-committers mailing list