[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a recursion bug
From: |
Chet Ramey |
Subject: |
Re: a recursion bug |
Date: |
Wed, 03 Oct 2012 16:39:13 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
On 10/3/12 3:40 PM, Greg Wooledge wrote:
> On Wed, Oct 03, 2012 at 01:23:58PM -0600, Bob Proulx wrote:
>> But in any case, is there
>> anything in there that is about bash? If so the we need an exact test
>> case.
>
> You could start with this one:
>
> imadev:~$ bash-4.2.28 -c 'a() { echo "$1"; a $(($1+1)); }; a 1' 2>&1 | tail
>
> Pid 4466 received a SIGSEGV for stack growth failure.
> Possible causes: insufficient memory or swap space,
> or stack size exceeded maxssiz.
There's not actually anything you can do about that except use ulimit to
get as much stack space as you can.
--
``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/
- Re: a recursion bug, Linda Walsh, 2012/10/02
- Re: a recursion bug, Greg Wooledge, 2012/10/02
- Re: a recursion bug, Linda Walsh, 2012/10/02
- Re: a recursion bug, Bob Proulx, 2012/10/02
- Re: a recursion bug, Steven W. Orr, 2012/10/02
- Re: a recursion bug, Linda A. Walsh, 2012/10/03
- Re: a recursion bug, Bob Proulx, 2012/10/03
- Re: a recursion bug, Greg Wooledge, 2012/10/03
- Re: a recursion bug,
Chet Ramey <=
- Re: a recursion bug, Bob Proulx, 2012/10/03
- Re: a recursion bug, Chet Ramey, 2012/10/04
- Re: a recursion bug, Dan Douglas, 2012/10/04
- Re: a recursion bug, Bob Proulx, 2012/10/03
- Re: a recursion bug, Eric Blake, 2012/10/03
RE: a recursion bug, Yuxiang Cao, 2012/10/03