Tcl/Tk Benchmark Suite And Tools
View Ticket
Not logged in
Ticket UUID: 956930
Title: Unknown state "pwd_sent"
Type: Bug Version: None
Submitter: mc_8 Created on: 2004-05-19 18:26:56
Subsystem: ftp Assigned To: andreas_kupries
Priority: 7 High Severity:
Status: Deleted Last Modified: 2013-07-04 20:09:24
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
Unknown state "pwd_sent"
    while executing
"error "Unknown state \"$ftp(State)\"""
    ("default" arm line 2)
    invoked from within
"switch -regexp -- $ftp(State) {
        list {
            fileevent $sock readable [list [namespace 
current]::HandleList $s $sock]
            set ft..."
    (procedure "::ftp::InitDataConn" line 27)
    invoked from within
"::ftp::InitDataConn 0 sock6 <<cut>> 48836"


uname -a
Linux purehype.net 2.4.22-1.2115.nptl #1 Wed Oct 29 
15:42:51 EST 2003 i686 i686 i386 GNU/Linux

% info patchlevel
8.4.6

% package require ftp
2.4.1
User Comments: andreas_kupries added on 2006-09-23 06:26:57:
Logged In: YES 
user_id=75003

Can you attach a tcl script which excersizes the problem ?
I see that InitDataConn's state switch has no branch for
'pwd_sent', however I have trouble tracing the spaghetti
that is ftp's implementation to see how it happens to have
that value. It is indirectly called via
Open{Active,Passive}Conn, and no user of these two commands
has state 'pwd_sent'.

Note: I am looking at ftp 2.4.4, as found in the CVS Head of
Tcllib. File revision 1.42.