Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe

Nicholas DiPiazza nicholas.dipiazza@gmail.com
Wed Jul 18 17:46:00 GMT 2012

Jojelino asked: 

   "What was the result of
    gdb --args perl
    symbol cygwin1.dll
    define btc
    # "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)
    #and just press enter until sigabrt is hit. ?"

Here is the result. 

$ gdb --args perl
GNU gdb (GDB) (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) symbol cygwin1.dll
Load new symbol table from "/usr/bin/cygwin1.dll"? (y or n) y
Reading symbols from /usr/bin/cygwin1.dll...(no debugging symbols
(gdb) define btc
Type commands for definition of "btc".
End with a line saying just "end".
(gdb) b _sigfe_free
Breakpoint 1 at 0x610d420a
(gdb) disp *((unsigned*)$esp+1)
(gdb) r
Starting program: /home/windows7-vm/perl-5.6.2/perl
[New Thread 2184.0xec0]
[New Thread 2184.0xef0]

Breakpoint 1, 0x610d420a in _sigfe_free ()
   from /cygdrive/c/cygwin/bin/cygwin1.dll
1: *((unsigned*)$esp+1) = 2147483664
(gdb) btc
#0  0x610d420a in _sigfe_free () from /cygdrive/c/cygwin/bin/cygwin1.dll
#1  0x61082119 in malloc_init() () from /cygdrive/c/cygwin/bin/cygwin1.dll
#2  0x00000000 in ?? ()

Program received signal SIGABRT, Aborted.
0x7718f8b1 in ntdll!RtlUpdateClonedSRWLock ()
   from /cygdrive/c/Windows/system32/ntdll.dll
1: *((unsigned*)$esp+1) = 1987840657
#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

More information about the Cygwin mailing list