This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

SSHD Fails with Exception: Can anybody help?

Does anyone have any suggestions as to where to go from here.  Is this another
program sitting on top of a memory allocation?  Any ideas are welcome.


OS W2K, Service pack 1, RC 1.1. 
Cygwin 1.1.8 Full Install
Open SSH 2.5.2p2

Configured package files, host key, etc.  ssh client works great.  sshd from various
hosts exiphits the same problem.  SSH Daemon allows connection and authentication. 
Some commands like cd and pwd work, other such as ls cause a stack dump to the remote

Obtained the source and recomplied to check installation.  Identical problem.  Also
tried ssh'ing to the same host from itself, same porblem.

Below are is the output from sshd in debug mode.

I was unable to ssend the strace.  It is too large for the cygwin list server.

thanks in advance..

Jack G. Harris
Los Alamos National Laboratory


\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ \[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ ls
      0 [main] ?a 0 handle_exceptions: Exception: STATUS_ACCESS_VI
Exception: STATUS_ACCESS_VIOLATION at eip=61001B47
eax=00000069 ebx=61762F3D ecx=00000000 edx=61762F45 esi=00000000 e
ebp=0241F9FC esp=0241FE98 program=?a
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0241F9FC  61001B47  (00000000, 00000000, 00000000, 00000000)
0241FEC0  61001B47  (000000B0, 00000001, 0241FF10, 6100326E)
0241FF10  61003380  (00000000, 00000000, 00000000, 00000000)
0241FF40  61003A3D  (0040172C, 00000000, 81404C00, 81404AA0)
0241FF60  61003A7C  (00000000, 00000000, 8042EFCB, 81404C30)
0241FF90  0040F0DF  (0040172C, 81404AA0, FFFFFFFF, 8042EC9C)
0241FFC0  0040103D  (00000000, 00000000, 7FFDF000, 0241DE59)
0241FFF0  68928248  (00401000, 00000000, 000000C8, 00000100)
End of stack trace\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]


C:\>sshd -d
debug1: Seeding random number generator
debug1: sshd version OpenSSH_2.5.2p2
debug1: load_private_key_autodetect: type 0 RSA1
debug1: Bind to port 22 on
Server listening on port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from deleted port 2391
debug1: Client protocol version 1.5; client software version OpenSSH_2.5.2p2
debug1: match: OpenSSH_2.5.2p2 pat ^OpenSSH
debug1: Local version string SSH-1.5-OpenSSH_2.5.2p2
debug1: Rhosts Authentication disabled, originating port not trusted.
debug1: Sent 768 bit server key and 1024 bit host key.
debug1: Encryption type: 3des
debug1: Received session key; encryption turned on.
debug1: Installing crc compensation attack detector.
debug1: Attempting authentication for jackh.
Accepted password for deleted from deleted port 2391
debug1: session_new: init
debug1: session_new: session 0
debug1: Allocating pty.
debug1: Entering interactive session.
debug1: fd 3 setting O_NONBLOCK
debug1: fd 7 setting O_NONBLOCK
debug1: server_init_dispatch_13
debug1: server_init_dispatch_15

Want to unsubscribe from this list?
Check out:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]