delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/30/18:22:05

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:from:to:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
q=dns; s=default; b=dnIb0Z7dKDi22MFLd0roPyeta4O+IRuxPOtMz4T5OnK
xN/0AcG7FEShOht35xJSwPF6+qzIzpFYOV7gPs2IpHFynmq0zCfMqlicHUyNKwa7
YoQS7gu2XA2YOjOXCSWu/yPCBEkayYWIUcZ6HuwKZLGrNmCybQ6kxzoIacrOxJas
=
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:from:to:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
s=default; bh=Xb9jxhwQryxQtE1L0Ky0WurHv4A=; b=nJvKNbpNRDc1vKl9Z
XYuHLLRVC5h3P5GOvbbjDiaG8uRwYnP90CkwanKc8EyO47iJfuWmIbN3cTT/221j
BBs2vv3OZ9R0gp5UH7w/wla5haKZeqaS9TVak8Nj4C+ecjgA0gkcdLsz2wkrSoAG
yqUVyjr9Kq1dTsvBiY1DGBhe2k=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*p:D*hotmail.com, robert DOT martens AT bell DOT ca, D*bell.ca, sk:robert.
X-HELO: BLU004-OMC1S17.hotmail.com
X-TMN: [DLY8mcYpNKORGCIIWXNiC5zJ6gy9SUEK]
Message-ID: <BLU170-W99FA16FE5288347E01FB999EDC0@phx.gbl>
From: Maarten Jacobs <maarten256 AT hotmail DOT com>
To: "Martens, Robert EY28737" <robert DOT martens AT bell DOT ca>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Python stackdump on "succesful" exit after import of python-requests
Date: Sat, 30 Jan 2016 18:21:45 -0500
In-Reply-To: <7dd1bf85a74041df90f65fb31e9279fe@DG4MBX01-WYN.bell.corp.bce.ca>
References: <7dd1bf85a74041df90f65fb31e9279fe AT DG4MBX01-WYN DOT bell DOT corp DOT bce DOT ca>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u0UNLxbQ005792

Interesting - I had the same issue earlier this week; I worked around it by using python3 instead, which didn't cause the same issue. (I figured it was just me not doing something right).

Obviously that doesn't explain the behavior but I didn't have time to further investigate the issue with python 2.7.

I ran into the issue when I was trying to build libvirt-python on Cygwin.

I'd be curious to know what the real root cause for this abort is.

Thanks,

Maarten Jacobs 

----------------------------------------
From: robert DOT martens AT bell DOT ca
To: cygwin AT cygwin DOT com
Subject: Python stackdump on "succesful" exit after import of python-requests
Date: Fri, 29 Jan 2016 21:38:54 +0000


Hello,
I am having a strange issue with Python 2.7 on cygwin.
Whenever a script of mine imports 'requests' (python-requests installed via cygwin installer), after it closes I get an "Aborted" message and a stack dump.

This consistently causes the issue:
$ python
Python 2.7.10 (default, Jun 1 2015, 18:17:45)
[GCC 4.9.2] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> exit()
Aborted (core dumped)

And here is the stackdump
$ cat python2.7.exe.stackdump
Stack trace:
Frame Function Args
0028C868 61033A23 (00000244, 0000EA60, 000000A4, 0028C8D8)
0028C998 610F27E2 (000000C8, 000000CC, 000000B8, 6111295F)

This is what gdb says:
(gdb) r
Starting program: /usr/bin/python
[New Thread 8744.0x1ca0]
[New Thread 8744.0x24f4]
[New Thread 8744.0x192c]
[New Thread 8744.0x11f0]
Python 2.7.10 (default, Jun 1 2015, 18:17:45)
[GCC 4.9.2] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
[New Thread 8744.0x2380]
>>> quit()

Program received signal SIGABRT, Aborted.
0x65c63de4 in Py_Exit () at /usr/src/debug/python-2.7.10-1/Python/pythonrun.c:1780
1780 exit(sts);
(gdb) bt
#0 0x65c63de4 in Py_Exit () at /usr/src/debug/python-2.7.10-1/Python/pythonrun.c:1780
#1 0x770ff8d1 in ntdll!ZwWaitForSingleObject () from /cygdrive/c/Windows/SysWOW64/ntdll.dll
#2 0x765014b9 in WaitForSingleObjectEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
#3 0x000002f8 in ?? ()
#4 0x00000000 in ?? ()
(gdb) continue
Continuing.
[New Thread 8744.0x25c4]
3 [main] python2.7 8744 cygwin_exception::open_stackdumpfile: Dumping stack trace to python2.7.exe.stackdump
[Thread 8744.0x24f4 exited with code 34304]
[Thread 8744.0x25c4 exited with code 34304]
[Thread 8744.0x2380 exited with code 34304]
[Thread 8744.0x192c exited with code 34304]
[Inferior 1 (process 8744) exited with code 0103000]

Any ideas?

Thanks,
Robert Martens
ADMS


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