This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: sshd crashing


hi,

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
%2"

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) 7.3.50.20111026-cvs (cygwin-special)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
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?)
(gdb)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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