commit -- Re: SEGV in SEGV handler


Subject: commit -- Re: SEGV in SEGV handler
From: Sam TH (sam@uchicago.edu)
Date: Mon Feb 26 2001 - 01:22:09 CST


On Mon, Feb 26, 2001 at 06:04:16PM +1100, Tim Allen wrote:
> The attached patch fixes a segfault in the segfault handler. The previous
> code was scribbling on potentially unallocated memory while creating the
> backup file name. This bit my wife when Abiword crashed while she was
> typing in a chocolate cake recipe, and the automatic backup didn't work
> (and she hadn't saved recently...). I wasn't able to track down the
> original cause of the crash, since it was a non-debug build, other than
> that it was in UT_GrowBuf::ins(). However I did manage to track down the
> probable cause for the backup failing. I can't prove that this was the
> problem, but it seems the most likely culprit.
>
> Evidently, by sheer luck, the previous code often worked; it actually
> worked more often than not when I was testing it. In view of the
> circumstances, I would like to invoke a minor variation on the donut
> rule: someone owes my wife a chocolate cake :-). Or a chocolate cake
> recipe would do, actually :).

Committed fix for segfault in the segfault handler. Oh no!
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: xap_Frame.cpp
CVS: ----------------------------------------------------------------------

           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key




This archive was generated by hypermail 2b25 : Mon Feb 26 2001 - 01:18:27 CST