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

Crash when completion script call itself.



Hi all,

I have experienced a crash while debugging a completion script for a tool.

Here how to reproduce:

$ zsh --version
zsh 5.4.2 (x86_64-apple-darwin16.7.0)
$ cat >~/.zsh/Completion/_crash <<EOF

#compdef crash
_crash "$@"
EOF
$ exec zsh
$ crash [TAB] zsh: segmentation fault  zsh


Cheers,

-- 
Nicolas Desprès


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