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

cvs <TAB> dumps core.



Z:akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% cvs zsh: segmentation fault (core dumped)  Src/zsh -f
Z:akr@is27e1u11% 

With `set -x':

...
+_arguments:303> SUFFIX= 
+_arguments:304> IPREFIX=--allow-root= 
+_arguments:305> matched=yes 
+_arguments:306> comparguments -L --allow-root descr action subc
zsh: segmentation fault (core dumped)  Src/zsh -f
Z:akr@is27e1u11% 

(gdb) where
#0  0xff136d84 in strlen ()
#1  0x409c4 in tricat (s1=0x2257a0 "--allow-root", s2=0xff03ca90 "-1", s3=0x0)
    at glob.c:1645
#2  0xff037764 in bin_comparguments (nam=0x228470 "comparguments", 
    args=0x228560, ops=0xffbe86c8 "", func=0) at computil.c:1445
#3  0x1bff4 in execbuiltin (args=0x228468, bn=0xff04d138) at builtin.c:371
#4  0x35820 in execcmd (cmd=0x220e80, input=0, output=0, how=2, last1=2)
    at exec.c:2056

zsh should have automatic regression test suite of completion system.
Isn't it?
-- 
Tanaka Akira



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