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:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=uavW8GPp0xw66FAHz1DjIC99dECt6 KsczGzXmtpZ+gBkQSmmRU10dplMRSG/wAkt4RCOZcPQ69V91vQjwrTPfo0W+RbZY Er2WLuwyJWHk2p8DN/3nUrdv9vnamDwbolny3IGHibhn0nBM7gQoVk11lKyrV86g hJDH40vKqAJt+o= 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:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=aXd0J9pT+7soxnNLO+ZM3LA7Rnw=; b=i0S HwXwirRBAVUEj60WmzAXRwqC2cCHSOC3VGUcluvSh6sczaBThXFSxQaVeEGrPcjG E9+dHLc0LK2REFFwkQBA32Vk2MCNM/e1nwNUXyLtQCa+unNiWjTSMy+M+FNxoJAE tCjsuakX9KXqd5TI871u8Ff5rVJNEbW/7ktaWyxg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_HK_NAME_DR autolearn=ham version=3.3.2 X-HELO: mout.kundenserver.de From: vzell AT volkerzell DOT de (Dr. Volker Zell) To: Cygwin List Subject: [32bit] python core dumps when using libdiscid package (cygdiscid-0.dll) Date: Fri, 21 Nov 2014 14:09:13 +0100 Message-ID: <87wq6o66py.fsf@leila.volkerzell.de> MIME-Version: 1.0 Content-Type: text/plain X-UI-Out-Filterresults: notjunk:1; Hi I would like to contribute and maintain the 'python-discid' package: o https://python-discid.readthedocs.org (Homepage) o https://github.com/JonnyJD/python-discid/archive/v1.1.0.tar.gz (Download location) It uses the just uploaded/announced libdiscid-0.6.1-1 package. Packaging and testing works fine under 64bit cygwin but under 32bit cygwin, python core dumps already during the /usr/bin/python setup.py config stage of cygport. I'm not a debuging expert but here's what I get under gdb after downloading the debug packages of python and libdiscid: python2.7.exe.stackdump: ======================= Stack trace: Frame Function Args 0028A7D8 61030B92 (00000270, 0000EA60, 000000A4, 0028A838) 0028A8F8 610DF71D (00000004, 00000000, 00744670, 00000042) 12:04 PM [506]> gdb --args python setup.py config GNU gdb (GDB) 7.8 Copyright (C) 2014 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. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from python...Reading symbols from /usr/lib/debug//usr/bin/python2.7.exe.dbg...done. done. (gdb) run Starting program: /usr/bin/python setup.py config [New Thread 11892.0x2b0c] [New Thread 11892.0x2538] [New Thread 11892.0x2fe4] [New Thread 11892.0x25d0] running config Program received signal SIGABRT, Aborted. 0x0028db58 in ?? () (gdb) bt #0 0x0028db58 in ?? () #1 0x75cf1194 in WaitForSingleObjectEx () from /cygdrive/c/Windows/syswow64/kernel32.dll #2 0x75cf1148 in WaitForSingleObject () from /cygdrive/c/Windows/syswow64/kernel32.dll #3 0x610df6a6 in sig_send(_pinfo*, siginfo_t&, _cygtls*)@12 (p=p AT entry=0x60fd0000, si=..., tls=tls AT entry=0x0) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/sigproc.cc:679 #4 0x610dcbac in _pinfo::kill(siginfo_t&)@8 (this=0x60fd0000, si=...) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/signal.cc:252 #5 0x610dd076 in kill0 (pid=pid AT entry=11892, si=...) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/signal.cc:303 #6 0x610dd242 in kill (sig=sig AT entry=6, pid=11892) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/signal.cc:312 #7 raise (sig=sig AT entry=6) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/signal.cc:288 #8 0x610dd4e3 in abort () at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/signal.cc:375 #9 0x53e134c1 in cyggcc_s-1!.deregister_frame_info_bases () from /usr/bin/cyggcc_s-1.dll #10 0x546510e2 in ?? () from /usr/bin/cygffi-6.dll #11 0x61026d17 in run_dtors (this=) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/dll_init.cc:80 #12 run_dtors (this=) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/dll_init.h:72 #13 dll_global_dtors () at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/dll_init.cc:52 #14 0x6116466a in __call_exitprocs (code=code AT entry=0, d=d AT entry=0x0) at /usr/src/debug/cygwin-1.7.33-1/newlib/libc/stdlib/__call_atexit.c:118 #15 0x6113b1b8 in exit (code=0) at /usr/src/debug/cygwin-1.7.33-1/newlib/libc/stdlib/exit.c:66 #16 0x61006d49 in cygwin_exit (n=0) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/dcrt0.cc:1298 #17 0x610082e6 in cygwin_exit_return () at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/dcrt0.cc:1040 #18 0x61006044 in _cygtls::call2(unsigned long (*)(void*, void*), void*, void*)@16 (this=, func=func AT entry=0x610073e0 , arg=arg AT entry=0x0, buf=buf AT entry=0x28cd84) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/cygtls.cc:100 #19 0x610061b6 in _cygtls::call (func=func AT entry=0x610073e0 , arg=arg AT entry=0x0) at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/cygtls.cc:30 #20 0x61007164 in _dll_crt0 AT 0 () at /usr/src/debug/cygwin-1.7.33-1/winsup/cygwin/dcrt0.cc:1097 #21 0x004011e2 in cygwin_crt0 (f=0x401730
) at /usr/src/debug/cygwin-1.7.31-3/winsup/cygwin/lib/cygwin_crt0.c:22 #22 0x00401015 in mainCRTStartup () at /usr/src/debug/cygwin-1.7.31-3/winsup/cygwin/crt0.c:29 (gdb) info sharedlibrary From To Syms Read Shared Object Library 0x77db0000 0x77f14d20 Yes (*) /cygdrive/c/Windows/SysWOW64/ntdll.dll 0x75cf0000 0x75dead9c Yes (*) /cygdrive/c/Windows/syswow64/kernel32.dll 0x761a1000 0x761e6a18 Yes (*) /cygdrive/c/Windows/syswow64/KERNELBASE.dll 0x61001000 0x614c0000 Yes /usr/bin/cygwin1.dll 0x2f951000 0x2fb1b01c Yes /usr/bin/libpython2.7.dll 0x22e61000 0x22e6d01c Yes C:/cygwin/lib/python2.7/lib-dynload/_collections.dll 0x22ae1000 0x22aed018 Yes C:/cygwin/lib/python2.7/lib-dynload/operator.dll 0x22b21000 0x22b31018 Yes C:/cygwin/lib/python2.7/lib-dynload/itertools.dll 0x22da1000 0x22dab014 Yes C:/cygwin/lib/python2.7/lib-dynload/_heapq.dll 0x22dc1000 0x22dca018 Yes C:/cygwin/lib/python2.7/lib-dynload/_functools.dll 0x22c01000 0x22c0a018 Yes C:/cygwin/lib/python2.7/lib-dynload/cStringIO.dll 0x22a31000 0x22a3b014 Yes C:/cygwin/lib/python2.7/lib-dynload/time.dll 0x22a61000 0x22a6c014 Yes C:/cygwin/lib/python2.7/lib-dynload/strop.dll 0x22b51000 0x22b59010 Yes C:/cygwin/lib/python2.7/lib-dynload/grp.dll 0x22e31000 0x22e4f014 Yes C:/cygwin/lib/python2.7/lib-dynload/_ctypes.dll 0x54651000 0x5465b018 Yes (*) /usr/bin/cygffi-6.dll 0x22ca1000 0x22caf014 Yes C:/cygwin/lib/python2.7/lib-dynload/_struct.dll 0x22b01000 0x22b10014 Yes C:/cygwin/lib/python2.7/lib-dynload/math.dll 0x75091000 0x750db464 Yes (*) /cygdrive/c/Windows/SysWOW64/apphelp.dll 0x54de1000 0x54dee018 Yes C:/cygwin/bin/cygdiscid-0.dll 0x53e01000 0x53e20018 Yes (*) /usr/bin/cyggcc_s-1.dll 0x75ca1000 0x75cd4784 Yes (*) /cygdrive/c/Windows/SysWOW64/ws2_32.dll 0x77381000 0x7742b2c4 Yes (*) /cygdrive/c/Windows/syswow64/msvcrt.dll 0x75a10000 0x75ae4e00 Yes (*) /cygdrive/c/Windows/syswow64/RPCRT4.dll 0x75750000 0x757911f0 Yes (*) /cygdrive/c/Windows/syswow64/SspiCli.dll 0x75731000 0x7573b474 Yes (*) /cygdrive/c/Windows/syswow64/CRYPTBASE.dll 0x76491000 0x764a8ed8 Yes (*) /cygdrive/c/Windows/SysWOW64/sechost.dll 0x774d1000 0x774d5058 Yes (*) /cygdrive/c/Windows/syswow64/NSI.dll 0x74e61000 0x74e6f82c Yes (*) /cygdrive/c/Windows/SysWOW64/NLAapi.dll 0x74e51000 0x74e5f90c Yes (*) /cygdrive/c/Windows/SysWOW64/napinsp.dll 0x74e31000 0x74e41e28 Yes (*) /cygdrive/c/Windows/SysWOW64/pnrpnsp.dll 0x75051000 0x7508b8d8 Yes (*) /cygdrive/c/Windows/SysWOW64/mswsock.dll 0x75910000 0x759f3198 Yes (*) /cygdrive/c/Windows/syswow64/user32.dll 0x77150000 0x771c1930 Yes (*) /cygdrive/c/Windows/syswow64/GDI32.dll 0x764e1000 0x764e92f8 Yes (*) /cygdrive/c/Windows/syswow64/LPK.dll 0x776c1000 0x7775c9fc Yes (*) /cygdrive/c/Windows/syswow64/USP10.dll 0x77431000 0x774cf050 Yes (*) /cygdrive/c/Windows/syswow64/ADVAPI32.dll 0x75b80000 0x75bc0ce0 Yes (*) /cygdrive/c/Windows/SysWOW64/IMM32.DLL 0x77571000 0x7763bebc Yes (*) /cygdrive/c/Windows/syswow64/MSCTF.dll 0x74dc1000 0x74e036a0 Yes (*) /cygdrive/c/Windows/SysWOW64/DNSAPI.dll 0x74d91000 0x74d9733c Yes (*) /cygdrive/c/Windows/SysWOW64/winrnr.dll (*): Shared library is missing debugging information. (gdb) continue Continuing. 0 [main] python2.7 11892 cygwin_exception::open_stackdumpfile: Dumping stack trace to python2.7.exe.stackdump [Thread 11892.0x25d0 exited with code 34304] [Thread 11892.0x2fe4 exited with code 34304] [Inferior 1 (process 11892) exited with code 0103000] (gdb) Any ideas what's going on here or how to proceed ? Ciao Volker -- 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