Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Server-Uuid: 512bef52-27db-11d3-8937-0008c7cf307c Date: Thu, 25 Jan 2001 10:46:19 -0500 (EST) From: "Jack Radigan" To: ht AT cogsci DOT ed DOT ac DOT uk cc: cygwin AT cygwin DOT com Subject: Re: OpenSSH crashes - able to repeat the cause In-Reply-To: Message-ID: X-X-Sender: jprad AT usbhidmon1 DOT us DOT dnb DOT com MIME-Version: 1.0 X-WSS-ID: 166E95B5259-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm doing the same at the moment. When id.exe crashes go over to the system and do a 'ps' to find out the pid of id.exe. Then, start gdb with: gdb program I'm able to see the registers but the stack is lost in space somewhere and doesn't show anything relevant. Still playing, maybe you'll have better luck. -jack- Jack Radigan - Dun & Bradstreet, Inc. On 25 Jan 2001 ht AT cogsci DOT ed DOT ac DOT uk wrote: > Corinna Vinschen writes: > > > On Tue, Jan 23, 2001 at 11:01:12AM +0000, Henry S. Thompson wrote: > > > I'm trying as hard as I can with the resources I have available to > > > debug, by giving as much detail on the problem which has not otherwise > > > been provided, in the hopes that they will spark an 'aha!' reaction > > > from someone. > > > > > > Would compiling id (the program which fails) from source with -g be a > > > useful step? Presumably not, because the crash goes in to the Win2k > > > debugger directly -- what would be required to get symbols available > > > for debugging at that point? I have a bit of experience debugging C > > > > You need a non stripped version of the Cygwin DLL and gdb. The > > non stripped version is easily produced by downloading the sources > > from cvs as descibed on http://www.cygwin.com/cvs.html and following > > the directions given on the same side. > > I've built a non-stripped version, but am still waiting for advice on > how to get gdb involved when the problem occurs -- I've tried various > hacks with inetd.conf and /usr/bin/id to get it involved, so far > without success -- suggestions welcomed. > > ht > -- > Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh > W3C Fellow 1999--2001, part-time member of W3C Team > 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 > Fax: (44) 131 650-4587, e-mail: ht AT cogsci DOT ed DOT ac DOT uk > URL: http://www.ltg.ed.ac.uk/~ht/ > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple > > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple