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: References: Date: Sat, 28 Jul 2012 11:27:01 +0200 Message-ID: Subject: Re: sshd crashing From: Pawel Jasinski To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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?) (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