From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18678 invoked by alias); 16 Jul 2012 19:53:38 -0000 Received: (qmail 18669 invoked by uid 22791); 16 Jul 2012 19:53:37 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_DL,TW_GW,TW_YG X-Spam-Check-By: sourceware.org Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Jul 2012 19:53:23 +0000 Received: by obqv19 with SMTP id v19so10697117obq.2 for ; Mon, 16 Jul 2012 12:53:22 -0700 (PDT) Received: by 10.182.225.100 with SMTP id rj4mr17358601obc.64.1342468402354; Mon, 16 Jul 2012 12:53:22 -0700 (PDT) Received: from ndipiazzaPC (97-83-227-114.dhcp.eucl.wi.charter.com. [97.83.227.114]) by mx.google.com with ESMTPS id g8sm14350344obz.16.2012.07.16.12.53.08 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Jul 2012 12:53:15 -0700 (PDT) From: "Nicholas DiPiazza" To: Subject: Re: Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe Date: Mon, 16 Jul 2012 19:53:00 -0000 Message-ID: <000001cd638c$9b6919a0$d23b4ce0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00321.txt.bz2 Hi jojelino, You asked:=20 > 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.=A0 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 () =A0=A0=A0 at /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/= =A0=A0=A0 =A0=A0=A0 winsup/cygwin/signal.cc:374 374=A0=A0=A0=A0 /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15=A0= =A0=A0=A0 =A0=A0 /winsup/cygwin/signal.cc: No such file or directory. =A0=A0=A0=A0=A0=A0=A0 in /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7=A0=A0= =A0=A0=A0=A0 .15/winsup/cygwin/signal.cc (gdb) bt #0=A0 abort () =A0=A0=A0 at /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/= =A0=A0=A0 =A0=A0=A0 winsup/cygwin/signal.cc:374 #1=A0 0x6110f305 in dlfree (mem=3D) =A0=A0=A0 at /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/= =A0=A0=A0 =A0=A0=A0 winsup/cygwin/malloc.cc:4242 #2=A0 0x610831b0 in free (p=3D0x20000010) =A0=A0=A0 at /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/= =A0=A0=A0 =A0=A0=A0 winsup/cygwin/malloc_wrapper.cc:49 #3=A0 0x610d50f5 in _sigfe () from /cygdrive/c/cygwin/bin/cygwin1.dll #4=A0 0x00000000 in ?? () (gdb) Let me know if you would like to see anything else.=20 ----- Hi Reini Urban, Thanks for this and sorry for my delay in response. ' I tried switching to a 32-bit system before doing the build, rebaseall, perlrebase, patchperl, and perlall. Each of these still result in the Abort signal being thrown. $ ldd perl.exe =A0=A0=A0=A0=A0=A0=A0=A0 ntdll.dll =3D> /cygdrive/c/Windows/SYSTEM32/ntdll.= dll (0x771e0000) =A0=A0=A0=A0=A0=A0=A0=A0 kernel32.dll =3D> /cygdrive/c/Windows/system32/ker= nel32.dll (0x75cf0000) =A0=A0=A0=A0=A0=A0=A0=A0 KERNELBASE.dll =3D> /cygdrive/c/Windows/system32/K= ERNELBASE.dll (0x75560000) =A0=A0=A0=A0=A0=A0=A0=A0 libperl5_6_2.dll =3D> /home/nick/perl-5.6.2/libper= l5_6_2.dll (0x66140000) =A0=A0=A0=A0=A0=A0=A0=A0 cygcrypt-0.dll =3D> /usr/bin/cygcrypt-0.dll (0x681= a0000) =A0=A0=A0=A0=A0=A0=A0=A0 cygwin1.dll =3D> /usr/bin/cygwin1.dll (0x61000000) =A0=A0=A0=A0=A0=A0=A0=A0 cyggcc_s-1.dll =3D> /usr/bin/cyggcc_s-1.dll (0x676= 80000) Important note: The perl5.6.2 did not build on Cygwin without changing static_ext =3D lib/auto/Win32CORE/Win32CORE$(LIB_EXT) to this static_ext =3D Is that why I am having the problem? -Nicholas Looks like a failing rebase on an incredibly low address 0xa70000. Try rebaseall. And then maybe a $ perlrebase 5.6.2 But it rather looks like a system dll. libz.dll maybe. Note: The argument 5.6.2 to find your right executable suffix =46rom my experience only lib/File/Find.pm from a newer perl is required (I=A0 took 5.8.1), otherwise you not be able to installe other modules because the are not found. I usually install old stuff with App::perlall and/or Devel::PatchPerl -- Reini Urban http://cpanel.net/ ? http://www.perl-compiler.org/ -- Problem reports:=A0=A0=A0=A0=A0=A0 http://cygwin.com/problems.html FAQ:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 http://cygwin.co= m/faq/ Documentation:=A0=A0=A0=A0=A0=A0=A0=A0 http://cygwin.com/docs.html Unsubscribe info:=A0=A0=A0=A0=A0 http://cygwin.com/ml/#unsubscribe-simple References: Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe From: Nicholas DiPiazza -----Original Message----- From: Nicholas DiPiazza [mailto:nicholas.dipiazza at gmail.com] Sent: Thursday, June 21, 2012 12:46 PM To: cygwin at cygwin.com Subject: Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe From: Nicholas DiPiazza [mailto:nicholas.dipiazza at gmail.com] Sent: Thursday, June 21, 2012 12:41 PM To: cygwn at cygwin.com Subject: Built perl 5.6.2 on Cygwin 1.7.11, but get SIGABRT from resulting perl.exe Dear Cygwin Users, I'm getting a SIGABRT when running a perl 5.6.2 that i built on cygwin 1.7.11. See ldd from a working perl 5.10 http://pastebin.com/ytjVYg4F versus my broken perl 5.6.2 http://pastebin.com/YXZ29NG6. I turned on -DDEBUGGING on the ./Configure script. Here is the gdb backtrace I have: http://paste.scsys.co.uk/201064 Are there libraries missing? What's going on here? -Nicholas DiPiazza Openlogic Support -- 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