Colin Walters <[email protected]> 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.

-- 
[email protected]

Attachment: pgpU0UocfeaBU.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to