From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100028 invoked by alias); 30 Jan 2016 23:21:50 -0000 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 Received: (qmail 100019 invoked by uid 89); 30 Jan 2016 23:21:49 -0000 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.martens@bell.ca, D*bell.ca, sk:robert. X-HELO: BLU004-OMC1S17.hotmail.com Received: from blu004-omc1s17.hotmail.com (HELO BLU004-OMC1S17.hotmail.com) (65.55.116.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Sat, 30 Jan 2016 23:21:47 +0000 Received: from BLU170-W99 ([65.55.116.7]) by BLU004-OMC1S17.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 30 Jan 2016 15:21:45 -0800 X-TMN: [DLY8mcYpNKORGCIIWXNiC5zJ6gy9SUEK] Message-ID: From: Maarten Jacobs To: "Martens, Robert EY28737" , "cygwin@cygwin.com" Subject: RE: Python stackdump on "succesful" exit after import of python-requests Date: Sun, 31 Jan 2016 13:37:00 -0000 In-Reply-To: <7dd1bf85a74041df90f65fb31e9279fe@DG4MBX01-WYN.bell.corp.bce.ca> References: <7dd1bf85a74041df90f65fb31e9279fe@DG4MBX01-WYN.bell.corp.bce.ca> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00490.txt.bz2 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 wa= s just me not doing something right). Obviously that doesn't explain the behavior but I didn't have time to furth= er 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=A0 ---------------------------------------- From: robert.martens@bell.ca To: cygwin@cygwin.com Subject: Python stackdump on "succesful" exit after import of python-reques= ts 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/python= run.c:1780 #1 0x770ff8d1 in ntdll!ZwWaitForSingleObject () from /cygdrive/c/Windows/Sy= sWOW64/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 =20=09=09=20=09=20=20=20=09=09=20=20 -- 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