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: Morten Delenk
Subject: Re: Execution of "prlimit --nproc=1 bash" yields segmentation fault
Date: Wed, 2 Mar 2016 19:52:21 +0100

That's because of bash limiting the number of child processes to 1. ls
uses multiple threads, thus the crash.

On Wed, Mar 2, 2016 at 7:48 PM, Florian Mayer <mayerflorian@me.com> 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)
>
> Best regards
> Florian



reply via email to

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