bug-bash
[Top][All Lists]
Advanced

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

Re: Segmentation fault


From: Jan Schampera
Subject: Re: Segmentation fault
Date: Thu, 13 Dec 2007 05:38:00 +0100
User-agent: IceDove 1.5.0.14pre (X11/20071018)

Chet Ramey wrote:
> seba wrote:

>> #!/bin/sh
>>
>> fib() {

> You managed to write yourself an infinitely-recursive function, and
> eventually ran out of stack space.  `==' is a string operator, not a
> numeric operator, when used with `['.

Most likely. When I test this and it breaks, the stack has over 32000
entries, all execute_command(), execute_command_internal().

J.





reply via email to

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