From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13818 invoked by alias); 20 May 2011 18:30:11 -0000 Received: (qmail 13791 invoked by uid 22791); 20 May 2011 18:30:09 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KAM_STOCKTIP,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 May 2011 18:29:52 +0000 Received: by wwi36 with SMTP id 36so3534974wwi.2 for ; Fri, 20 May 2011 11:29:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.62.195 with SMTP id y45mr4911661wec.15.1305916188944; Fri, 20 May 2011 11:29:48 -0700 (PDT) Received: by 10.216.90.193 with HTTP; Fri, 20 May 2011 11:29:48 -0700 (PDT) In-Reply-To: <20110520174404.GA29687@ednor.casa.cgf.cx> References: <20110520054420.GA17408@ednor.casa.cgf.cx> <20110520171555.GA17831@ednor.casa.cgf.cx> <20110520174404.GA29687@ednor.casa.cgf.cx> Date: Fri, 20 May 2011 18:30:00 -0000 Message-ID: Subject: Re: Issues with latest rtorrent under Win7 x64 when attempting to package From: Chris Sutcliffe To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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/msg00313.txt.bz2 On 20 May 2011 13:44, Christopher Faylor wrote: > On Fri, May 20, 2011 at 01:38:42PM -0400, Chris Sutcliffe wrote: >>No luck with 0x00405AA8, but it could be in libtorrent.dll, which I >>will also build with debugging info. =A0I 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 =A0 =A0 /ext/build/netrel/src/cygwin-1.7.9-1/winsup/cygwin/dcrt0.cc: >>No such file or directory. >> =A0 =A0 =A0 =A0in /ext/build/netrel/src/cygwin-1.7.9-1/winsup/cygwin/dcr= t0.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. =A0In "info gdb" look > for "Source" and then "Source Path". Thank you for the tip. After rebuilding libsigc and libtorrent with debug symbols as well I've made some headway. Here is what I get now when rtorrent crashes (it no longer stack dumps): Program received signal SIGABRT, Aborted. 0x77af014d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from /cygdrive/c/Windows/system32/ntdll.dll (gdb) bt #0 0x77af014d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from /cygdrive/c/Windows/system32/ntdll.dll #1 0x77af014d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from /cygdrive/c/Windows/system32/ntdll.dll #2 0x77050962 in WaitForMultipleObjectsEx () from /cygdrive/c/Windows/syswow64/KernelBase.dll #3 0x00000002 in ?? () #4 0x00000001 in ?? () #5 0x0028c6d8 in ?? () Any thoughts on next steps? Chris --=20 Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d -- 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