Remove SIGSEGV handling 62/78162/1
authorKunhoon Baik <knhoon.baik@samsung.com>
Mon, 4 Jul 2016 11:01:31 +0000 (20:01 +0900)
committerKunhoon Baik <knhoon.baik@samsung.com>
Mon, 4 Jul 2016 11:07:26 +0000 (20:07 +0900)
SIGSEGV (signal number - 11) may occur double crash when sys-assert tries to unwind backtrace.
like that

If the double crash is generated, it causes useless backtrace of corefile (double crashed memory dump)
Thus, sys-assert does not handle SIGSEGV.

Change-Id: I826ee2bab796fc87b2b4a003683315514af96339

src/sys-assert/sys-assert.c

index e68c946..382e56e 100644 (file)
@@ -88,7 +88,7 @@
 
 int sig_to_handle[] = {
        SIGILL, SIGTRAP, SIGABRT, SIGBUS,
-       SIGFPE, SIGSEGV, SIGSTKFLT, SIGXCPU, SIGXFSZ, SIGSYS };
+       SIGFPE, SIGSTKFLT, SIGXCPU, SIGXFSZ, SIGSYS };
 
 #define NUM_SIG_TO_HANDLE      \
        ((int)(sizeof(sig_to_handle)/sizeof(sig_to_handle[0])))