Search code examples
linuxkernelsignalsabort

Where linux signals are sent or processed inside the kernel?


How is the signalling(interrupts) mechanism handled in kernel? The cause why I ask is: somehow a SIGABRT signal is received by my application and I want to find where does that come from..


Solution

  • You should be looking in your application for the cause, not in the kernel.

    Usually a process receives SIGABRT when it directly calls abort or when an assert fails. Finding exactly the piece of the kernel that delivers the signal will gain you nothing.

    In conclusion, your code or a library your code is using is causing this. See abort(3) and assert.