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: Chet Ramey
Subject: Re: bash crashes when forking jobs and dynamically switching posix mode
Date: Fri, 11 May 2012 13:37:58 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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:

Did you try this with bash-4.2?

I've been running it for quite a while with the current development version
and, while it has to reallocate the jobs list a lot so it keeps track of
only the latest 1024 jobs, it hasn't crashed.  RHEL 5.

Chet
- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+tTnYACgkQu1hp8GTqdKuqvwCbBek4ZOPrs83TRmai/6putYFq
p6cAoIuxoTUFSJBgA4YKmGAnROQu0sr1
=wi+6
-----END PGP SIGNATURE-----



reply via email to

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