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

core dump with autoloading failure.



zsh dumps core as follows:

Z:akr@thorax% Src/zsh -f
thorax% bindkey -e; autoload -U compinit; compinit -D 
thorax% compdef _xxx xxx; autoload -U _xxx
thorax% xxx 
_xxx: _xxx: function definition file not found
zsh: segmentation fault (core dumped)  Src/zsh -f
Z:akr@thorax% 

(gdb) where
#0  0x400ed5ec in free () from /lib/libc.so.6
#1  0x400ed59d in free () from /lib/libc.so.6
#2  0x8081196 in zfree (p=0x401eb000, sz=16) at mem.c:1397
#3  0x808079c in old_heaps (old=0x40014000) at mem.c:184
#4  0x401ce901 in callcompfunc (s=0x40014a98 "", fn=0x8128840 "_main_complete") at compcore.c:730
#5  0x401cf29d in makecomplist (s=0x40014a98 "", incmd=0, lst=0) at compcore.c:884
#6  0x401cd3b8 in do_completion (dummy=0x401b46e8, dat=0xbffff83c) at compcore.c:313
#7  0x8083f72 in runhookdef (h=0x401b46e8, d=0xbffff83c) at module.c:1610
#8  0x401a6dc4 in docompletion (s=0x810fbb0 "", lst=0, incmd=0) at zle_tricky.c:1680
#9  0x401a3f5a in docomplete (lst=0) at zle_tricky.c:741
#10 0x401a2bb3 in expandorcomplete (args=0x401b4664) at zle_tricky.c:260
#11 0x401a27dd in completecall (args=0x401b4664) at zle_tricky.c:165
#12 0x40197f93 in execzlefunc (func=0x401b25a8, args=0x401b4664) at zle_main.c:645
#13 0x4019799c in zleread (lp=0x81017c8 "%m%# ", rp=0x0, flags=3) at zle_main.c:564
#14 0x8073d32 in inputline () at input.c:265
#15 0x8073c25 in ingetc () at input.c:210
#16 0x806d138 in ihgetc () at hist.c:242
#17 0x8079310 in gettok () at lex.c:560
#18 0x8078c41 in yylex () at lex.c:313
#19 0x808ba60 in parse_event () at parse.c:105
#20 0x8071694 in loop (toplevel=1, justonce=0) at init.c:115
#21 0x8051199 in main (argc=2, argv=0xbffffb38) at ./main.c:89
(gdb) 
-- 
Tanaka Akira



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