[Bf-committers] Save session recovery on SIGSEGV

Austin Benesh bfdeveloper at gmail.com
Thu Feb 24 00:30:13 CET 2005


And what if the error occurs during an undo push? Can SIGSEGV account for
this?

-----Original Message-----
From: bf-committers-bounces at projects.blender.org
[mailto:bf-committers-bounces at projects.blender.org] On Behalf Of joeedh
Sent: Wednesday, February 23, 2005 3:27 PM
To: bf-blender developers
Subject: Re: [Bf-committers] Save session recovery on SIGSEGV

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
_______________________________________________
Bf-committers mailing list
Bf-committers at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-committers



More information about the Bf-committers mailing list