sig-monitor: handle SIGSEGV in backtrace
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 6 Sep 2017 16:13:21 +0000 (18:13 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 7 Sep 2017 07:23:54 +0000 (09:23 +0200)
commitbee892ba769f78ede968ad9b6aea006b6aee26e9
treee4dbcb5e7b7050fe70f40f967c2ce2850bcae37f
parent4d5ce1b0b3b41b8fb53126a0c67534db7d010a75
sig-monitor: handle SIGSEGV in backtrace

There was cases were the backtrace raised a segmentation
fault.

This commit also improves unblocking of signals in handler.

Change-Id: I09493d3ecc4b477660366ea213bf451c9ae7d517
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/sig-monitor.c