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

Another entertaining user-defined-widget crash: fc



function kaboomToo() { fc $LBUFFER }

Upon exiting the editor, this produces the output

BUG: chline is NULL in hend()

and then dumps core.  The stack trace is -very- short:

#0  0x8068452 in hend () at ../../zsh-3.1.4/Src/hist.c:751
#1  0x806b400 in loop (toplevel=1, justonce=0) at ../../zsh-3.1.4/Src/init.c:97
#2  0x804a311 in main (argc=1, argv=0xbffffa54) at ../../zsh-3.1.4/Src/main.c:77

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



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