[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash on process-substitution of many processes
From: |
Gregory Price |
Subject: |
Re: crash on process-substitution of many processes |
Date: |
Thu, 25 Mar 2004 20:19:29 -0500 |
User-agent: |
Mutt/1.3.28i |
On Thu, Mar 25, 2004 at 08:40:42AM -0500, Chet Ramey wrote:
> This bug is unlikely to affect many actual users, but it imposes a
> fixed upper limit, an irksome thing reminiscent of pre-GNU Unix
> utilities. And anything that permits a crash is bad...
This is a resource limit problem. Try increasing your data segment size
with `ulimit -d'.
Hmm -- I've already got `ulimit -d' as `unlimited'.
For completeness:
$ bash -c 'ulimit -a; . bug-case'
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 3839
virtual memory (kbytes, -v) unlimited
252 is OK
253 is OK
malloc: /build/packages/bash/bash-2.05b/subst.c:3371: assertion botched
realloc: start and end chunk sizes differ
Stopping myself...Aborted
$
where `bug-case' tries to process-substitute as many as 254 processes
in one command.
Gregory