userspace app receive SIGSEGV, but not is crash, why?

Rik van Riel riel at surriel.com
Tue Oct 11 03:54:23 EDT 2016


On Mon, 2016-10-10 at 22:36 +0800, Lucha Chen wrote:
> Dear All,
>   userspace app receive SIGSEGV, but not crash, why?
>   The mtk kernel log is :
> <4>[67330.976640] -(6)[25390:ndroid.systemui][25390:ndroid.systemui]
> sig 11 to [25390:ndroid.systemui] stat=R
> 
The userspace application can tell the kernel
it has a handler for SIGSEGV. If it does that,
the kernel will make sure that the handler is
invoked when SIGSEGV is sent to the process.



More information about the Kernelnewbies mailing list