From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21732 invoked by alias); 20 May 2011 17:44:23 -0000 Received: (qmail 21710 invoked by uid 22791); 20 May 2011 17:44:21 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm23-vm0.bullet.mail.sp2.yahoo.com (HELO nm23-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.224) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 20 May 2011 17:44:06 +0000 Received: from [98.139.91.65] by nm23.bullet.mail.sp2.yahoo.com with NNFMP; 20 May 2011 17:44:06 -0000 Received: from [208.71.42.211] by tm5.bullet.mail.sp2.yahoo.com with NNFMP; 20 May 2011 17:44:06 -0000 Received: from [127.0.0.1] by smtp222.mail.gq1.yahoo.com with NNFMP; 20 May 2011 17:44:06 -0000 Received: from cgf.cx (cgf@173.48.46.160 with login) by smtp222.mail.gq1.yahoo.com with SMTP; 20 May 2011 10:44:05 -0700 PDT X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id A1F2842804C for ; Fri, 20 May 2011 13:44:04 -0400 (EDT) Date: Fri, 20 May 2011 17:44:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Issues with latest rtorrent under Win7 x64 when attempting to package Message-ID: <20110520174404.GA29687@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20110520054420.GA17408@ednor.casa.cgf.cx> <20110520171555.GA17831@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00312.txt.bz2 On Fri, May 20, 2011 at 01:38:42PM -0400, Chris Sutcliffe wrote: >On 20 May 2011 13:15, Christopher Faylor wrote: >> On Fri, May 20, 2011 at 12:51:24PM -0400, Chris Sutcliffe wrote: >>>On 20 May 2011 01:44, Christopher Faylor wrote: >>>> On Thu, May 19, 2011 at 10:01:47PM -0400, Chris Sutcliffe wrote: >>>>>Creating a debug build hasn't helped either. ?When it crashes it's >>>>>causing a stack dump, so doing a 'bt' in gdb just returns 'no stack'. >>>> >>>> That probably means that it's forking. ?You're debugging the parent >>>> when the child is having problems. >>>> >>>> The addresses in the stack dump can be decoded with gdb: >>>> >>>> l *0xnnnnn >>>> ^ >>>> that's an "ell". >>> >>>I've tried l *0xnnnn for each of the addresses in the stack dump: >>> >>>Stack trace: >>>Frame ? ? Function ?Args >>>0028C77C ?76D51A2C ?(00000002, 7EFDE000, 00000000, 0000002F) >>>0028C798 ?76D54238 ?(00000002, 0028C7F0, 00000000, 0000002F) >>>0028C908 ?610BF0DD ?(0028CA1C, 0028C980, 0028C960, 0028C940) >>>0028CA68 ?610BF7C0 ?(00000001, 020D9680, 020D96A0, 020D96C0) >>>0028CAB8 ?610C3545 ?(020D79F8, 0000B5F5, 00000000, 020EC060) >>>0028CD28 ?00405AA8 ?(61244184, 00000000, 0028CD68, 61007038) >>>0028CD68 ?61007038 ?(00000000, 0028CDA4, 61006980, 7EFDE000) >>>End of stack trace >>> >>>Each time I get: >>> >>>No source file for address 0xnnnnnn. >>> >>>I've tried both the Frame and Function addresses. >> >> Sounds like you don't have cygwin1.dbg (in the the cygwin src package if >> you're using a release or downloadable if you're using a snapshot) and >> either your program is stripped or it isn't built with debugging. >> FWIW, 0x00405AA8 is likely the address of some location in rtorrent. > >No luck with 0x00405AA8, but it could be in libtorrent.dll, which I >will also build with debugging info. I did manage to find the >following (after loading the cygwin1.dbg symbols): > >0x61007038 is in dll_crt0_1(void*) >(/ext/build/netrel/src/cygwin-1.7.9-1/winsup/cygwin/dcrt0.cc:974). >969 /ext/build/netrel/src/cygwin-1.7.9-1/winsup/cygwin/dcrt0.cc: >No such file or directory. > in /ext/build/netrel/src/cygwin-1.7.9-1/winsup/cygwin/dcrt0.cc > >However my Cygwin source is in /usr as opposed to /ext/build/netrel, >is there a way to tell gdb to look there instead? Yes: "info gdb" or "help" in gdb will tell you how. In "info gdb" look for "Source" and then "Source Path". cgf -- 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