public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Kevin Buettner <kevinb@redhat.com>
Cc: rda@sources.redhat.com
Subject: Re: [PATCH] Ignore realitme signals.
Date: Sat, 24 Apr 2004 15:44:00 -0000	[thread overview]
Message-ID: <20040424154359.GA2621@nevyn.them.org> (raw)
In-Reply-To: <20040420131308.0f8af440@saguaro>

On Tue, Apr 20, 2004 at 01:13:08PM -0700, Kevin Buettner wrote:
> I've just committed the patch below.
> 
> The comment in the patch explains what it's about.  I've seen this
> problem (in which rda terminates due to getting a signal intended for
> one of the inferior threads and terminates) in at three different
> environments now (all embedded linux, but different architectures). 
> While I suspect that the real problem lies in the kernel, it certainly
> doesn't hurt for RDA to ignore any real-time signals sent to it.
> 
> 	* server.c (main): Ignore realtime signals.

At least some versions of the kernel will send a child's exit signal to
the debugger, instead of SIGCHLD - this should be fixed in 2.6 series
kernels, but I think it was broken through all of 2.2 and 2.4.  GDB had
the same problem for a while, IIRC.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

      reply	other threads:[~2004-04-24 15:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-20 20:13 Kevin Buettner
2004-04-24 15:44 ` Daniel Jacobowitz [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=20040424154359.GA2621@nevyn.them.org \
    --to=drow@false.org \
    --cc=kevinb@redhat.com \
    --cc=rda@sources.redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).