From: gknispel@proformatique.com (Guillaume Knispel)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Regarding SIGSEGV
Date: Wed, 2 Feb 2011 22:28:52 +0100 [thread overview]
Message-ID: <20110202222852.118a9d5f@xilun> (raw)
In-Reply-To: <AANLkTi=xNPXKgR0gQhYu8-1Ae3teDG1wDm58scnXQYUP@mail.gmail.com>
On Wed, 2 Feb 2011 16:11:41 -0500
Sri Ram Vemulpali <sri.ram.gmu06@gmail.com> wrote:
> Thanks for introducing me to 'phrack' magazine. I read the article.
> It seems its kind of hack, which might leave process in unexpected
> state. I am more of looking at which thread in the task generated the
> SIGSEGV. This article is very helpful, but some more information the
> direction would do for me. Thanks in advance
If you don't kill the whole process on SIGSEGV, you don't have any
warranty that you won't encounter further unexpected behavior anyway
in the general case -- and achieving hypothetical requirements to
partly ignore SIGSEGV in a way that would still allow to have fully
defined behavior after the event would probably be far more harder to
achieve than doing a clean design. And just to be extra clear: stopping
thread that generated the SIGSEGV is not going to get you a completely
sane state.
Just use multiple processes or be prepared to introduce even more
problems than those supposed to be fixed by what you are trying to do
(which won't even fix them properly anyway...)
--
Guillaume Knispel
prev parent reply other threads:[~2011-02-02 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-02 7:08 Regarding SIGSEGV Sri Ram Vemulpali
2011-02-02 7:16 ` Mulyadi Santosa
2011-02-02 21:11 ` Sri Ram Vemulpali
2011-02-02 21:28 ` Guillaume Knispel [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=20110202222852.118a9d5f@xilun \
--to=gknispel@proformatique.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).