delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/28/05:27:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CAHiT=DFFxBH=EoQx1karYBhAEVmNk1n9Ocn6kjLvnjWboXJ7Ow@mail.gmail.com>
References: <CA+7conmf=HORJ9nscNe4CA67EAeO+n7H6GkpVK4cPq315wJtzg AT mail DOT gmail DOT com> <CAHiT=DFFxBH=EoQx1karYBhAEVmNk1n9Ocn6kjLvnjWboXJ7Ow AT mail DOT gmail DOT com>
Date: Sat, 28 Jul 2012 11:27:01 +0200
Message-ID: <CA+7con=8oSTpx1W5uHnyMFkQ2f+Ynz2YOtGTLs9L02jXJeQe_g@mail.gmail.com>
Subject: Re: sshd crashing
From: Pawel Jasinski <pawel DOT jasinski AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019