Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Segfaulting script



Andrew Ruder <andy@xxxxxxxxxxx>:
> I was writing a script today and was getting a segfault (on what turned
> out to be a very incorrect line), but nonetheless...  The attached script
> when sourced into a running shell causes future tab completion to die.  I
> have verified this against 4.2.6 and 4.3.2.  Looking at a backtrace
> seems to show that it is hitting infinite recursion.

I think, that's the segfault you talked about on IRC.
I don't know if this is the same bug, but it might be closely related:

[snip]
% zsh -f
% testfunc() { local foo=() ; local bar }
% testfunc
% autoload compinit
% compinit
[1]    12388 segmentation fault (core dumped)  zsh -f
[snap]

Regards, Frank



Messages sorted by: Reverse Date, Date, Thread, Author