This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
Re: [PATCH] Ignore realitme signals.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: rda at sources dot redhat dot com
- Date: Sat, 24 Apr 2004 11:43:59 -0400
- Subject: Re: [PATCH] Ignore realitme signals.
- References: <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