[PATCH weston v3 01/36] weston: arm SEGV handler earlier

Daniel Stone daniel at fooishbar.org
Tue Oct 31 12:41:08 UTC 2017

On 31 October 2017 at 12:31, Quentin Glidic
<sardemff7+wayland at sardemff7.net> wrote:
> On 10/31/17 12:48 PM, Pekka Paalanen wrote:
>> It is useful to print the backtrace regardless of whether we have a
>> compositor and a backend initialized yet. Move catch_signals() to the
>> earliest point in main() and protect the SEGV handler from dereferencing
>> NULL when we don't yet have a compositor or a backend.
>> The SEGV handler uses weston_log(), so cannot move catch_signals() any
>> earlier.
>> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> Sounds good:
> Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>

Reviewed-by: Daniel Stone <daniels at collabora.com>

More information about the wayland-devel mailing list