Re: a recursion bug

2012-10-04 Thread Chet Ramey
On 10/3/12 5:32 PM, Bob Proulx wrote: > Chet Ramey wrote: >>> 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 mu

Re: a recursion bug

2012-10-04 Thread Dan Douglas
It's possible to grow the parameter expansion stack forever too. $ (x=x[\${!x}]<${!x}) Segmentation fault One would think there would be no need to keep a stack if there are no more expansions to the right of the current expansion. On Wed, Oct 3, 2012 at 3:39 PM, Chet Ramey wrote: > On 10/3/12

Re: 'wait $COPROC_PID' doesn't wait

2012-10-04 Thread Chet Ramey
On 9/28/12 6:28 AM, Davide Baldini wrote: > Bash Version: 4.2.0(5)-release (i686-pc-linux-gnu) > > Description: > The following test script floods the console repeating lines similar to: > ./debug.sh: line 7: warning: execute_coproc: coproc [8740:COPROC] > still exists >