Hi, I am writing an application in Linux OS using C++. It is getting killed in a mysterious way during interactions with a removable storage media. I wrote a signal handler for all the possible Linux signals, but signal handler is not getting called. To solve this problem, I want to know these things with respect to Linux OS:
1) Is it possible to kill a process without sending any signal to it? 2) If answer to 1 is yes, how to kill without sending any signal? 3) If answer to 1 is yes, how can the process getting killed know the way in which it is being killed? 4) If I kill a process by sending SIGKILL to that process, is there any way for that process to know that it got killed by SIGKILL? 5) What other debugging methods can I follow to know the reason for crash? (I can't obtain core dump or run debugger due to hardware limitations. I can get log statements) Thank you in advance, Vijay [Non-text portions of this message have been removed]
