Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Crash when completion script call itself.
- X-seq: zsh-workers 41777
- From: Nicolas Desprès <nicolas.despres@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Crash when completion script call itself.
- Date: Fri, 29 Sep 2017 20:25:44 +1300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=oUERPB5CvHX1JtPixJVkUGjLWnC/Z3DVsyYG9117ySw=; b=M2rji6bcUATL2hsBYFYRFurMdMzHhu0ej33IyNJHFfjIclp2LJxGqqq7JvOpLzzaC+ WFvgku7rREZ1GKwGEFOXPey84Evtv3AgmhPMkn62wh3yEFkjeYGxEW7CaMlfJtVQqo6M xMb1A5Dfk5cuEfpnQQcbmMK6SXpiH06WwbfFFwi7XtPUoAx2P3Z8trZU3TTVoSUQxpyF AT5BlpU1E3WSb8T5O1WdAPXddbX3Eqh365o+trM5GuALz5lut9DoeI3hQUUJLG5G4JGp PWTlZN0Oh7NQz75uK/8tPGWLVpgk40hltckeCF6b9G09dGVUtBuWLHlWOG9quGZogWFb LyeQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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