X-Recipient: archive-cygwin AT delorie DOT com 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 MIME-Version: 1.0 In-Reply-To: <20110520174404.GA29687@ednor.casa.cgf.cx> References: <20110520054420 DOT GA17408 AT ednor DOT casa DOT cgf DOT cx> <20110520171555 DOT GA17831 AT ednor DOT casa DOT cgf DOT cx> <20110520174404 DOT GA29687 AT ednor DOT casa DOT cgf DOT cx> Date: Fri, 20 May 2011 14:29:48 -0400 Message-ID: Subject: Re: Issues with latest rtorrent under Win7 x64 when attempting to package From: Chris Sutcliffe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 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