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 08:02:34 +0000 (10:02 +0200)
commite2ad3e670ac79f5271ce7273368610d7130ac167
tree11438a9bc4a815917321034fbc578edaff510c32
parent2e4df370fed59a25d0bc157ccfb4642fb26d223f
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