sshd crashing

Pawel Jasinski
Sat Jul 28 09:27:00 GMT 2012


So I did the core dump homework ...
I can find the sshd.exe.stacktrace in /
It is not encouraging:

Exception: STATUS_ACCESS_VIOLATION at eip=00000000
eax=FFFFFFFF ebx=00000000 ecx=0022D000 edx=00000004 esi=FFFFFFFF edi=0022A280
ebp=0000010C esp=0022A230 program=C:\cygwin\usr\sbin\sshd.exe, pid
3504, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
      5 [main] sshd 3504 exception::handle: Error while dumping state
(probably corrupted stack)

I also tried to core dump with:
/usr/bin/cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a "-D"
-y tcpip -u cyg_server -w xxxxxx  -e CYGWIN="error_start=dumper -d %1

The file is there (/sshd.exe.core), but again gdb doesn't show any
encouraging information:

$ gdb /usr/sbin/sshd.exe sshd.exe.core
GNU gdb (GDB) (cygwin-special)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-cygwin".
For bug reporting instructions, please see:
Reading symbols from /usr/sbin/sshd.exe...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New Thread 0x1]
[New process 1]
[New process 1]
[New process 1]
[New process 1]
[New process 1]
[New process 1]
[New process 1]
[New process 1]
[New process 1]
#0  0x00000000 in ?? ()
(gdb) where
#0  0x00000000 in ?? ()
#1  0x0022a280 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list