-----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:
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. Chet - -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@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+tWYMACgkQu1hp8GTqdKtjjwCfdf25kdV6xSHhJrU75IBDQuEN lxkAnRbqGJDljZTCPD6oApBXKS602KIp =PvTQ -----END PGP SIGNATURE-----