[PATCH] os/osinit: Allow builders to --disable-segv-handler

Keith Packard keithp at keithp.com
Mon Jan 21 00:51:15 PST 2013


Colin Walters <walters at verbum.org> writes:

> 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.

Seems like this might benefit from being a run-time option, rather than
a build-time option? Mostly because some video drivers behave very badly
if you don't clean up on server crash.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130121/3b464f0b/attachment.pgp>


More information about the xorg-devel mailing list