Re: Some example code for a new crash handler
- From: "Brandon S. Allbery " KF8NH <allbery ece cmu edu>
- To: Hongl Lai <hongli telekabel nl>
- Cc: gnome-list gnome org
- Subject: Re: Some example code for a new crash handler
- Date: 11 Jan 2002 17:45:45 -0500
On Fri, 2002-01-11 at 16:15, Hongl Lai wrote:
> This *isn't* intended to be a fix for segfaults.
> It is a workaround, to give the user time to save the document.
The problem with that is that a SEGV can leave libc's internal metadata
a shambles, thereby guaranteeing that nothing will work properly
afterward. In particular, invoking any libc routine from the SEGV
handler itself is a good way to lose badly.
--
brandon s. allbery [os/2][linux][solaris][japh] allbery kf8nh apk net
system administrator [WAY too many hats] allbery ece cmu edu
electrical and computer engineering KF8NH
carnegie mellon university ["better check the oblivious first" -ke6sls]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]