bug-bash
[Top][All Lists]
Advanced

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

Re: Execution of "prlimit --nproc=1 bash" yields segmentation fault


From: Chet Ramey
Subject: Re: Execution of "prlimit --nproc=1 bash" yields segmentation fault
Date: Wed, 2 Mar 2016 13:57:13 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 3/2/16 1:48 PM, Florian Mayer wrote:
> Hello,
> 
> doing the following yields an segmentation fault.
> I am using bash 4.3.42(1) under Archlinux.
> 
> /prlimit --nproc=1 bash//
> //[florian@kurerm ~]$ pwd//
> ///home/florian//
> //[florian@kurerm ~]$ ls//
> //bash: fork: retry: No child processes//
> //bash: fork: retry: No child processes//
> //bash: fork: retry: No child processes//
> //bash: fork: retry: No child processes//
> //bash: fork: Resource temporarily unavailable//
> //Segmentation fault (core dumped)/

chet(1)$ ./bash
chet(2)$ ulimit -u 1
chet(2)$ ls
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: Resource temporarily unavailable
chet(2)$ echo $BASH_VERSION
4.4.0(13)-rc1

I'm calling it fixed.

-- 
``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/



reply via email to

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