bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash crashes when forking jobs and dynamically switching posix mode


From: Mike Frysinger
Subject: Re: bash crashes when forking jobs and dynamically switching posix mode
Date: Fri, 11 May 2012 14:49:48 -0400
User-agent: KMail/1.13.7 (Linux/3.4.0-rc6; KDE/4.6.5; x86_64; ; )

On Friday 11 May 2012 14:25:08 Chet Ramey wrote:
> On 5/11/12 11:43 AM, Mike Frysinger wrote:
> > in light of the recent discussion, i thought i could switch posix mode
> > on/off on the fly so that i restricted myself to this mode only when
> > using `wait`.
> 
> > unfortunately, that randomly crashes bash :).  simple test case:
> I ran through around 20,000 children on RHEL5 before I quit, and it didn't
> crash using bash-4.2.28.  However, there is a change in the development
> branch that does a better job of not running the SIGCHLD trap in a signal
> handling context.  That's the only change I can see, though it should not
> matter because the posix mode toggling means that code isn't executed.

hrm, i'll see if i can't get something that crashes better for me
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]