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
cygcheck.out
Description: cygcheck.out
-- 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