delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/25/02:55:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=OC+GPC
LpxymhspxPpIlyadetiK6FEi3aivr0h0u0Qj/nGDju+ZLUKWrdkhremZZahWkdQT
e4b4IY4mXJ+LoGf2hkMjejgbj7kU4w3w/8MCexkq8aGpk0QT077ASGpMx4Yotnxe
ZZAnJb8BfHgHZWYUNri2GvBxqXTLBtwAE2oks=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=LEJvorM3kzKs
1ZpmSVSsxlsqbAk=; b=uX5EzXSvDTqNMCegiCbUt5f7UUcmOP826gCsA1oxxZSR
UMduBSj6qBAWPp1iSXNWNu3Q1MAXxoQfKVwwgw0zZfXHvBs43CPzT6PC9shk4J+X
CWBWkKqd9X0w+bZzdUz6EKm6NSWkO4QEoHA9w4/BCObKn5DAcq3GSzcenajaH64=
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-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_40,KHOP_PGP_SIGNED,KHOP_THREADED,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1
Message-ID: <51F0CBD2.2030502@dancol.org>
Date: Wed, 24 Jul 2013 23:55:14 -0700
From: Daniel Colascione <dancol AT dancol DOT org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: python aborts
References: <d0191e464b44f772f988b2050cda4ac8 AT denis-excoffier DOT org> <20130522123148 DOT GW2406 AT calimero DOT vinschen DOT de>
In-Reply-To: <20130522123148.GW2406@calimero.vinschen.de>
X-Virus-Found: No

------enig2AHRJJFFGVXSFSHBXMIKA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I just started seeing this problem myself --- on 1.7.22 release.

On 5/22/2013 5:31 AM, Corinna Vinschen wrote:
> On May 22 11:11, Denis Excoffier wrote:
>> Hello,
>>
>> With the current snapshot (20130521) on Windows XP, the following
>> fails (with an empty stackdump):
>>
>> % /usr/bin/python pyfoo
>> Abort (core dumped)
>> % cat pyfoo
>> import xml.sax
>> xml.sax.make_parser()
>> % cat python2.7.exe.stackdump
>> Stack trace:
>> Frame     Function  Args
>> % /usr/bin/python --version
>> Python 2.7.3
>> %
>>
>> With some dichotomy, i found that under the 20130430 snapshot it works
>> (no "abort", no stackdump), but under 20130501 it does the same
>> as today (ie abort).
>=20
> I have another effect.  In my case the 20130430 snapshot does not
> print the "Abort (core dumped)" message, but it still creates the
> more or less empty stackdump file as above.  So, AFAICS, the crash
> occured before, only you didn't see it.  With Cygwin 1.7.17,
> I only get an "Abort" and an entirely empty stackdump.

I can run python -c 'import _wp,sqlite3' and see Python abort, but if I swa=
p the
module order, everything seems to be fine. gdb is useless if I wait until it
breaks, but if i set a breakpoint on cygwin1!abort beforehand, I get this s=
tack:

(gdb) where
#0  abort () at /usr/src/debug/cygwin-1.7.22-1/winsup/cygwin/signal.cc:362
#1  0xc3b05111 in cyggcc_s-1!__deregister_frame_info_bases () from
/usr/bin/cyggcc_s-1.dll
#2  0x65fc10e2 in __gcc_deregister_frame () from C:/users/dancol/wptools/_w=
p.dll
#3  0x610265f5 in run_dtors (this=3D<optimized out>)
    at /usr/src/debug/cygwin-1.7.22-1/winsup/cygwin/dll_init.cc:80
#4  run_dtors (this=3D<optimized out>) at
/usr/src/debug/cygwin-1.7.22-1/winsup/cygwin/dll_init.h:72
#5  run_dtors (this=3D<optimized out>) at
/usr/src/debug/cygwin-1.7.22-1/winsup/cygwin/dll_init.cc:41
#6  dll_global_dtors () at
/usr/src/debug/cygwin-1.7.22-1/winsup/cygwin/dll_init.cc:52

Does that help at all?  I only started seeing this problem after I recompil=
ed
_wp.dll using gcc 4.7.3.


------enig2AHRJJFFGVXSFSHBXMIKA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHwy9UACgkQ17c2LVA10VuR1QCgp3kxCb3cTaBPq/gG6kuA1B8s
NloAn31Gz0RbVDoz0qNj0ydlDTyK5GU4
=S7/y
-----END PGP SIGNATURE-----

------enig2AHRJJFFGVXSFSHBXMIKA--

- Raw text -


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