kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: riel@surriel.com (Rik van Riel)
To: kernelnewbies@lists.kernelnewbies.org
Subject: userspace app receive SIGSEGV, but not is crash, why?
Date: Tue, 11 Oct 2016 03:54:23 -0400	[thread overview]
Message-ID: <1476172463.2922.7.camel@surriel.com> (raw)
In-Reply-To: <CAN-HW4Q6SdGa_16L-LcHPwar72e8Y23dxZyny0DvSiExJbiwgA@mail.gmail.com>

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.

      reply	other threads:[~2016-10-11  7:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 14:36 userspace app receive SIGSEGV, but not is crash, why? Lucha Chen
2016-10-11  7:54 ` Rik van Riel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476172463.2922.7.camel@surriel.com \
    --to=riel@surriel.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).