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

Core dump unloading zsh/zftp



On Sep 28,  9:57am, Bart Schaefer wrote:
} 
} However, it appears that "zmodload -u zsh/zftp" dumps core even if the
} zsh/net/tcp module is still loaded, so there's some kind of a bug in
} zftp.c.

Running:
    zmodload zsh/zftp
    zmodload -u zsh/zftp

Crashes with this stack trace:

(gdb) where
#0  0x401ade30 in zfclose (leaveparams=0)
    at ../../../zsh-4.0/Src/Modules/zftp.c:2662
#1  0x401aefee in zftp_cleanup ()
    at ../../../zsh-4.0/Src/Modules/zftp.c:3080

It appears that the zfsessions linklist is not empty, even though there
is no valid session in it anywhere.

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

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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