4.6p1 chan_read_failed error

Jim Stosick jws at lindy.stanford.edu
Sat Mar 24 09:54:46 EST 2007


The 4.6p1 sshd is logging this error during remote commands or file 
transfers:

   error: channel 0: chan_read_failed for istate 3

Platform is Solaris 8, 4.6p1 + OpenSSL 0.9.8d.

The commands and transfers work correctly, so the error message appears 
to be spurious.  The error message does not appear when processing logins.

Otherwise 4.6p1 is running without any apparent problems.  This error 
did not occur running 4.5p1.

Here is a trace:

Accepted hostbased for jws from 171.64.11.11 port 64578 ssh2
debug1: Entering interactive session for SSH2.
debug2: fd 4 setting O_NONBLOCK
debug2: fd 5 setting O_NONBLOCK
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 131072 max 
32768
debug1: input_session_request
debug1: channel 0: new [server-session]
debug1: session_new: init
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug1: server_input_channel_req: channel 0 request exec reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req exec
debug2: fd 3 setting TCP_NODELAY
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug2: fd 9 setting O_NONBLOCK
debug2: channel 0: read 38 from efd 9
debug2: channel 0: rwin 131072 elen 38 euse 1
debug2: channel 0: sent ext data 38
debug2: channel 0: read 15 from efd 9
debug2: channel 0: rwin 131034 elen 15 euse 1
debug2: channel 0: sent ext data 15
debug2: channel 0: read 117 from efd 9
debug2: channel 0: rwin 131019 elen 117 euse 1
debug2: channel 0: sent ext data 117
debug2: channel 0: read 73 from efd 9
debug2: channel 0: rwin 130902 elen 73 euse 1
debug2: channel 0: sent ext data 73
debug2: channel 0: read 103 from efd 9
debug2: channel 0: rwin 130829 elen 103 euse 1
debug2: channel 0: sent ext data 103
debug2: channel 0: read<=0 rfd 7 len 0
debug2: channel 0: read failed
debug2: channel 0: close_read
debug2: channel 0: input open -> drain
debug2: channel 0: ibuf_empty delayed efd 9/(0)
debug2: channel 0: read 0 from efd 9
debug2: channel 0: closing read-efd 9
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug2: channel 0: input drain -> closed
debug2: notify_done: reading
debug1: Received SIGCHLD.
debug1: session_by_pid: pid 11033
debug1: session_exit_message: session 0 channel 0 pid 11033
debug2: channel 0: request exit-status confirm 0
debug1: session_exit_message: release channel 0
debug2: channel 0: write failed
debug2: channel 0: close_write
debug2: channel 0: output open -> closed
debug2: channel 0: read<=0 rfd 7 len 0
debug2: channel 0: read failed

channel 0: chan_read_failed for istate 3

debug2: channel 0: send close
debug3: channel 0: will not send data after close
debug2: channel 0: read<=0 rfd 7 len 0
debug2: channel 0: read failed

channel 0: chan_read_failed for istate 3

debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug2: channel 0: is dead
debug2: channel 0: gc: notify user
debug1: session_by_channel: session 0 channel 0
debug1: session_close_by_channel: channel 0 child 0
debug1: session_close: session 0 pid 0
debug2: channel 0: gc: user detached
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: server-session, nchannels 1
debug3: channel 0: status: The following connections are open:
   #0 server-session (t4 r0 i3/0 o3/0 fd 7/7 cfd -1)

debug3: channel 0: close_fds r 7 w 7 e -1 c -1
Connection closed by 171.64.11.11
debug1: do_cleanup
Closing connection to 171.64.11.11


More information about the openssh-unix-dev mailing list