[PATCH] os/osinit: Allow builders to --disable-segv-handler
Colin Walters
walters at verbum.org
Fri Jan 18 11:19:54 PST 2013
Modern operating systems come with systemwide "crash catching"
facilities; for example, the Linux kernel can now pipe core
dumps out to userspace, and programs like "systemd-coredump"
and "abrt" record these.
In this model, it's actively counterproductive for individual
processes to catch SIGSEGV because:
1) Trying to unwind from inside the process after arbitrary
corruption is destined to fail.
2) It hides the fact that a crash happened at all - my OS test
framework wants to know if any process crashed, and I don't
want to guess by running regexps against /var/log/Xorg.0.log
or whatever.
Signed-off-by: Colin Walters <walters at verbum.org>
---
configure.ac | 12 ++++++++++++
os/osinit.c | 8 ++++----
2 files changed, 16 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-os-osinit-Allow-builders-to-disable-segv-handler.patch
Type: text/x-patch
Size: 3356 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130118/186d86ba/attachment.bin>
More information about the xorg-devel
mailing list