[SunHELP] Solaris9 sshd (package) core dump when exiting session


Tue Sep 24 12:21:28 CDT 2002


Hi all,
   I noticed sshd is regularily dumping core so
I started a /usr/lib/ssh/sshd -ddd
Here is what happens (the last part of the debugging output) :

-------------------------------------------
debug1: Entering interactive session for SSH2.
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 8192 max 8192
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
debug2: callback start
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request pty-req reply
0
debug1: session_pty_req: session 0 alloc /dev/pts/4
debug2: callback done
debug2: callback start
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request shell reply 0
debug1: PAM establishing creds
debug1: fd 9 setting O_NONBLOCK
debug1: fd 8 IS O_NONBLOCK
debug2: callback done
debug1: Received SIGCHLD.
debug1: tvp!= NULL kid 1 mili 100
debug1: session_by_pid: pid 20244
debug1: session_exit_message: session 0 channel 0 pid 20244
debug1: session_exit_message: release channel 0
debug1: channel 0: write failed
debug1: channel 0: output open->closed
debug1: channel 0: close_write
debug1: session_pty_cleanup: session 0 release /dev/pts/4
debug1: session_free: session 0 pid 20244
debug1: channel 0: read<=0 rfd 9 len 0
debug1: channel 0: read failed
debug1: channel 0: input open->drain
debug1: channel 0: close_read
debug1: channel 0: input: no drain shortcut
debug1: channel 0: ibuf empty
debug1: channel 0: input drain->closed
debug1: channel 0: send eof
debug1: channel 0: send close
Connection closed by remote host.
debug1: Calling cleanup 0x38288(0x0)
debug1: Calling cleanup 0x2b2fc(0x0)
zsh: invalid system call (core dumped)  /usr/lib/ssh/sshd -ddd
-------------------------------------------

This is running on a Ultra5 box with a quad ethernet card added to it
It is running Solaris 9, a core install to which I removed a bunch of
packages
all uneeded stuff. It is running named 8.x, qmail and courrier-imap-ssl all
latest version
compiled from sources using gcc3.

Other stuff running on the machine other than sshd have no problem.

ANy help will be appreciate,

  Yannick Mercier
  Samson Belair Deloitte & Touche



More information about the SunHELP mailing list