From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30530 invoked by alias); 17 Jul 2012 03:25:38 -0000 Received: (qmail 30517 invoked by uid 22791); 17 Jul 2012 03:25:36 -0000 X-SWARE-Spam-Status: No, hits=-0.7 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,TW_DL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Jul 2012 03:25:22 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SqyPY-0004Q0-94 for cygwin@cygwin.com; Tue, 17 Jul 2012 05:25:20 +0200 Received: from 118.45.149.206 ([118.45.149.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jul 2012 05:25:20 +0200 Received: from jojelino by 118.45.149.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jul 2012 05:25:20 +0200 To: cygwin@cygwin.com From: jojelino Subject: Re: Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe Date: Tue, 17 Jul 2012 03:25:00 -0000 Message-ID: References: <000001cd638c$9b6919a0$d23b4ce0$@gmail.com> 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:16.0) Gecko/16.0 Thunderbird/16.0a1 In-Reply-To: <000001cd638c$9b6919a0$d23b4ce0$@gmail.com> 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: 2012-07/txt/msg00327.txt.bz2 On 2012-07-17 AM 4:52, Nicholas DiPiazza wrote: > Hi jojelino, > > You asked: > >> what is result of >> gdb --args perl >> b abort >> r >> bt (when breakpoint is hit.) > > Here it is: > > nick@nick-PC ~/perl-5.6.2 > $ 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/nick/perl-5.6.2/perl...done. > (gdb) b abort > Function "abort" not defined. > Make breakpoint pending on future shared library load? (y or [n]) y > > Breakpoint 1 (abort) pending. > (gdb) r > Starting program: /home/nick/perl-5.6.2/perl > [New Thread 3916.0xe18] > [New Thread 3916.0xae4] > > Breakpoint 1, abort () > at > /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/ > winsup/cygwin/signal.cc:374 > 374 > /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15 > /winsup/cygwin/signal.cc: No such file or directory. > in > /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7 > ..15/winsup/cygwin/signal.cc > (gdb) bt > #0 abort () > at > /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/ > winsup/cygwin/signal.cc:374 > #1 0x6110f305 in dlfree (mem=) > at > /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/ > winsup/cygwin/malloc.cc:4242 > #2 0x610831b0 in free (p=0x20000010) > at > /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/ > winsup/cygwin/malloc_wrapper.cc:49 > #3 0x610d50f5 in _sigfe () from /cygdrive/c/cygwin/bin/cygwin1.dll > #4 0x00000000 in ?? () > (gdb) > > Let me know if you would like to see anything else. > > 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. -- 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