strace can SIGSEGV lead to SIGKILL?
Hi There,
I'm still afflicted by SIGKILLs in my application and I have not been able to locate the error with gdb and instead I put on strace now. And following output is what i got just before the SIGKILL:
Code:
[pid 1241] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 1241 detached
[pid 1245] <... nanosleep resumed> NULL) = ? ERESTART_RESTARTBLOCK (To be restarted)
[pid 1221] <... nanosleep resumed> {4, 868304250}) = ? ERESTART_RESTARTBLOCK (To be restarted)
[pid 1246] <... read resumed> 0xbebff918, 1024) = ? ERESTARTSYS (To be restarted)
[pid 1242] <... accept resumed> 0xbf3ffb88, [16]) = ? ERESTARTSYS (To be restarted)
[pid 1259] <... recv resumed> 0xbe9ffcff, 1, 0) = ? ERESTARTSYS (To be restarted)
[pid 1243] <... mq_timedreceive resumed> "\330\21\6\10", 4, -1088422596, NULL) = ? ERESTARTSYS (To be restarted)
[pid 1244] <... mq_timedreceive resumed> "\0\1\17\0y\0\0\0T0001\0\0\0", 16, 0, NULL) = ? ERESTARTSYS (To be restarted)
[pid 1240] <... poll resumed> ) = -1 EINTR (Interrupted system call)
[pid 1245] +++ killed by SIGKILL +++
[pid 1221] +++ killed by SIGKILL +++
[pid 1246] +++ killed by SIGKILL +++
[pid 1242] +++ killed by SIGKILL +++
[pid 1259] +++ killed by SIGKILL +++
[pid 1243] +++ killed by SIGKILL +++
[pid 1244] +++ killed by SIGKILL +++
+++ killed by SIGKILL +++
Kinda looks as if the SIGSEV up there eventually lead to the SIGKILL - is this possible at all? I've caught a couple of segfault in my code with gdb but sometimes (most of the times) it would say SIGKILL only on termination. I have an idea where the segfault may come from... please take this thread into consideration:'another SEGFAULT'
Hints and suggestions are appreciated...
Thanks!
Ron