This is the mail archive of the rda@sources.redhat.com mailing list for the rda project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Ignore realitme signals.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]