From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18267 invoked by alias); 4 Jan 2014 00:00:51 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18277 Received: (qmail 10705 invoked from network); 4 Jan 2014 00:00:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 From: Frank Terbeck To: Russell Harmon Cc: "zsh-users\@zsh.org" Subject: Re: Segmentation Fault on Stack Overflow In-Reply-To: <3540501074823477909@gmail297201516> (Russell Harmon's message of "Fri, 03 Jan 2014 23:03:32 +0000") References: <3540501074823477909@gmail297201516> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Organisation: 63797068657270756e6b Date: Sat, 04 Jan 2014 00:36:40 +0100 Message-ID: <87d2k8y6wn.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: NDMwNDQ0 Russell Harmon wrote: > Is this a known issue? If not, I'll put more effort into getting a stack > trace. > > % zsh --version > zsh 5.0.2 (x86_64-apple-darwin13.0) > % function inf() { inf }; inf > zsh: correct 'inf' to 'info' [nyae]? n > zsh: correct 'inf' to 'info' [nyae]? n > [1] 11650 segmentation fault zsh This is caused by infinite recursion. More recent versions of the shell will react more reasonably: zsh% function inf() { inf }; inf inf: maximum nested function level reached Regards, Frank