Re: bash enters endless loop when under unreasonably low RLIMIT_NPROC

2014-12-06 Thread Chet Ramey
On 12/6/14 7:06 AM, Robert Clausecker wrote: > Fix the way bash blocks the delivery of signals when it can't > fork so keyboard interrupts or signals received otherwise still > have a way to get through. Stop trying to fork after some > attempts and provide a reasonable eme

Re: bash enters endless loop when under unreasonably low RLIMIT_NPROC

2014-12-06 Thread Linda Walsh
Robert Clausecker wrote: Description: When an unreasonable low limit for the number of executable processes (e.g. 2) is configured for bash, Doctor -- when I cut the blood flow to my brain down to 2 cells/second, I pass out and die. Is this a bug? Good thing I'm not a bash mainta

bash enters endless loop when under unreasonably low RLIMIT_NPROC

2014-12-06 Thread Robert Clausecker
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA