[Bf-committers] Save session recovery on SIGSEGV
Chris Want
cwant at ualberta.ca
Thu Feb 24 01:53:41 CET 2005
joeedh wrote:
> of course I did! But the only way to test it is through deliberately
> triggering a bug in my HE mesh project, and of course while your in
> editmode it doesn't even touch the Main tree. So it isn't as if there
> was any possibility of it becoming corrupted, unless the undo function
> called load_heeditMesh(), which wasn't really very likely.
For testing purposes, you can make it segfault anywhere
you want by calling this handy function:
void crash(void)
{
int *die=0;
*die = 1;
}
Chris
More information about the Bf-committers
mailing list