X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: jojelino Subject: Re: Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe Date: Wed, 18 Jul 2012 11:51:52 +0900 Lines: 66 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:17.0) Gecko/17.0 Thunderbird/17.0a1 In-Reply-To: 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 2012-07-18 AM 4:55, Nicholas DiPiazza wrote: > Jojelino asked: > > "and then, what was the result of > gdb --args perl > b _sigfe_free if *((unsigned*)$esp+1)==0x20000010 #which i am interested in to see what the backtrace was. > disp *((unsigned*)$esp+1) > r > bt #when breakpoint is hit" > > > Here is the result: > > $ gdb --args perl > 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 > 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: > ... > Reading symbols from /home/windows7-vm/perl-5.6.2/perl...done. > (gdb) b _sigfe_free if *((unsigned*)$esp+1)==0x20000010 > Function "_sigfe_free" not defined. > Make breakpoint pending on future shared library load? (y or [n]) y > > Breakpoint 1 (_sigfe_free if *((unsigned*)$esp+1)==0x20000010) pending. > (gdb) disp *((unsigned*)$esp+1) > (gdb) r > Starting program: /home/windows7-vm/perl-5.6.2/perl > [New Thread 2320.0xc08] > [New Thread 2320.0xdac] > > Program received signal SIGABRT, Aborted. > 0x7718f8b1 in ntdll!RtlUpdateClonedSRWLock () > from /cygdrive/c/Windows/system32/ntdll.dll > 1: *((unsigned*)$esp+1) = 1987840657 > (gdb) bt > #0 0x7718f8b1 in ntdll!RtlUpdateClonedSRWLock () > from /cygdrive/c/Windows/system32/ntdll.dll > #1 0x7718f8b1 in ntdll!RtlUpdateClonedSRWLock () > from /cygdrive/c/Windows/system32/ntdll.dll > #2 0x767c0a91 in WaitForSingleObjectEx () > from /cygdrive/c/Windows/syswow64/KERNELBASE.dll > #3 0x000000a8 in ?? () > #4 0x00000000 in ?? () > > I'm sorry, the breakpoint wasn't hit. what was the result of gdb --args perl symbol cygwin1.dll define btc bt c end # "Function "_sigfe_free" not defined." shouldn't be seen. if it does, please use latest snapshot including debug symbol. b _sigfe_free disp *((unsigned*)$esp+1) r btc #and just press enter until sigabrt is hit. -- Regards. -- 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