From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.4: thread dumping core
Date: Fri, 10 Aug 2001 08:17:08 +0200 [thread overview]
Message-ID: <3B739883.8859.1BE32B@localhost> (raw)
In-Reply-To: <3B72C08E.3800.1F80245@localhost> from "Ulrich Windl" at Aug 09, 2001 04:55:46 PM
In-Reply-To: <E15UrQ3-0007Qq-00@the-village.bc.nu>
On 9 Aug 2001, at 16:08, Alan Cox wrote:
> > I wonder whether the kernel does the right thing if a thread causes a
> > segmentation violation: Currently it seems the other LWPs just
> > continue. However in practice this means that the application does not
>
> This is a feature in most cases
>
> > I suggest to terminate all LWPs if one receives a fatal signal.
>
> So write some signal handlers.
Actually I'm using a wrapper library that is supposed to do that stuff
for me (libmilter from sendmail-8.12.0.Beta16).
>
> In all cases the other threads will continue for some time, so you gain
> nothing by pretending they dont.
Imagine you aquire a lock in one thread then that thread gets a
SIGSEGV. There are a lot of threads around, possibly consuming a lot of
CPU without getting any (a lot of) work done.
Maybe the real problem is a simple a a binary incompatibility between
libpthread form SuSE 7.1 and SuSE 7.2 (which would be a very bad case).
As for any real bug, the application works most of the time.
Thanks for the statement.
Ulrich
prev parent reply other threads:[~2001-08-10 6:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-09 14:55 2.4.4: thread dumping core Ulrich Windl
2001-08-09 15:08 ` Alan Cox
2001-08-10 6:17 ` Ulrich Windl [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=3B739883.8859.1BE32B@localhost \
--to=ulrich.windl@rz.uni-regensburg.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.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