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

Playing with zle widget gives unexpected exit



I can make this happen repeatedly, but not by any particular series of
actions.  I'm playing with a zle widget function fiddles with $CURSOR
and then calls "zle .transpose-words", and the exit seems to happen only
after I've removed and re-autoloaded the function definition, but it
doesn't happen *every* time I remove and re-autoload the definition.

(gdb) where
#0  0x400939c0 in _exit ()
#1  0x40053741 in exit (status=1) at exit.c:70
#2  0x8057c6d in zexit (val=1, from_signal=0)
    at ../../zsh-3.1.6/Src/builtin.c:3226
#3  0x400f8779 in getkey (keytmout=0)
    at ../../../zsh-3.1.6/Src/Zle/zle_main.c:413
#4  0x400f7f1d in getkeybuf (w=0)
    at ../../../zsh-3.1.6/Src/Zle/zle_keymap.c:1188
#5  0x400f7d47 in getkeymapcmd (km=0x80dafc8, funcp=0xbffff508, 
    strp=0xbffff4fc) at ../../../zsh-3.1.6/Src/Zle/zle_keymap.c:1150
#6  0x400f8090 in getkeycmd () at ../../../zsh-3.1.6/Src/Zle/zle_keymap.c:1224
#7  0x400f9314 in zleread (lp=0x80d9808 "%m<%h> ", rp=0x0, flags=3)
    at ../../../zsh-3.1.6/Src/Zle/zle_main.c:558
#8  0x8072ada in inputline () at ../../zsh-3.1.6/Src/input.c:265
#9  0x80729cd in ingetc () at ../../zsh-3.1.6/Src/input.c:210
#10 0x806c538 in ihgetc () at ../../zsh-3.1.6/Src/hist.c:242
#11 0x80779bb in gettok () at ../../zsh-3.1.6/Src/lex.c:560
#12 0x8077239 in yylex () at ../../zsh-3.1.6/Src/lex.c:313
#13 0x808c5c3 in parse_event () at ../../zsh-3.1.6/Src/parse.c:292
#14 0x8070452 in loop (toplevel=1, justonce=0)
    at ../../zsh-3.1.6/Src/init.c:120
#15 0x80509f9 in main (argc=1, argv=0xbffff6e4)
    at ../../zsh-3.1.6/Src/main.c:89

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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