weston/man
Pekka Paalanen bb707dc0fe weston: remove SEGV and ABRT handlers
Catching an ABRT is kind of ok, catching a SEGV is russian roulette. We
have been quite lucky with it, but I've started hitting crashes inside
malloc() which causes a deadlock when our SEGV handler needs to malloc()
as well (weston_log_timestamp()).

One reason to catch SEGV and ABRT was to attempt to restore the VT on
the DRM-backend. Nowadays that job is done by logind or weston-launch.

The signal handler also printed a backtrace, which for me personally has
been extremely helpful. Arguably it's not necessary though, when we have
core files and services that catch cores. For instance, if using
systemd, 'coredumpctl gdb' is delightfully easy for getting into the
saved core.

Therefore, this code does more harm than it is useful, so remove it. We
also drop an optional dependency to libunwind.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2018-02-09 15:16:07 +00:00
..
.gitignore update .gitignores for src/ and man/ 2013-02-26 11:20:29 -05:00
weston-drm.man weston: add --drm-device option for DRM-backend 2017-12-18 13:58:17 +02:00
weston-rdp.man rdp compositor: add a man page and add links to that page 2017-12-18 09:47:52 +02:00
weston.ini.man weston: add wait-for-debugger option 2017-11-28 09:17:24 +02:00
weston.man weston: remove SEGV and ABRT handlers 2018-02-09 15:16:07 +00:00