X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.6 required=5.0	tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-id: <5016969F.3050204@cygwin.com>
Date: Mon, 30 Jul 2012 10:13:51 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: sshd crashing
References: <CA+7conmf=HORJ9nscNe4CA67EAeO+n7H6GkpVK4cPq315wJtzg@mail.gmail.com> <CAHiT=DFFxBH=EoQx1karYBhAEVmNk1n9Ocn6kjLvnjWboXJ7Ow@mail.gmail.com> <CA+7con=8oSTpx1W5uHnyMFkQ2f+Ynz2YOtGTLs9L02jXJeQe_g@mail.gmail.com>
In-reply-to: <CA+7con=8oSTpx1W5uHnyMFkQ2f+Ynz2YOtGTLs9L02jXJeQe_g@mail.gmail.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 7/28/2012 5:27 AM, Pawel Jasinski wrote:

<snip>

> 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.
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
Without debug symbols, you're not going to see much useful in the debugger.
I'd recommend rebuilding the package as debug and trying again.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?


--
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

