delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/17/15:56:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Forefront-Antispam-Report: CIP:157.56.244.133;KIP:(null);UIP:(null);IPV:NLI;H:CH1PRD0711HT004.namprd07.prod.outlook.com;RD:none;EFVD:NLI
X-SpamScore: 3
X-BigFish: PS3(z21eIzc8kzz1202hzz8275dhz32i2a8h668h839hd25hf0ah107ah)
From: Nicholas DiPiazza <nicholas DOT dipiazza AT openlogic DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe
Date: Tue, 17 Jul 2012 19:55:33 +0000
Message-ID: <A6DBD2A0155D5F468DAC4364F671A6C2048D6C4E@CH1PRD0711MB406.namprd07.prod.outlook.com>
MIME-Version: 1.0
X-OriginatorOrg: openlogic.com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q6HJu4E6004198

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 <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
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 ?? ()


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019