delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/09/12:35:40

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:reply-to:subject:to
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=tAbqxIYA5YT0Hrdloh+9x+nhkVyMLLRmScEzmuwiEDcePKiHEvPF1
ubgGb8R4eChZTyIMPf2okgviVVnTuFqj7jHEump4MNy7gNEEaTCsBTEU4LLcohYT
nfP5+iUB3SCaPiGGz+358Mdp0MW0GhF+n+eSjg40DBQffgZ1wWi5iM=
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:reply-to:subject:to
:mime-version:content-type:content-transfer-encoding; s=default;
bh=mwcxIfcSJML11uQDbPecpfDMhl4=; b=B8OlgQO+1rIUhKUfo2TsUAgZoYEf
LLmm/HP9J+yzZrm5mQv+4TujqU3TVl404AnTLLlZGbaOT67v+xfXzYdR7HOrXszK
/5ekCCobufyRdmxEYdDOhwjlZmWbcVYgJqUGM6RUTjvWOGjkfPaFooFCzGOgWR3m
2/8d8MoD4u4dzfE=
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=2.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RCVD_IN_RP_RNBL autolearn=no version=3.3.1
Message-ID: <1370795715.77740.YahooMailNeo@web172203.mail.ir2.yahoo.com>
Date: Sun, 9 Jun 2013 17:35:15 +0100 (BST)
From: GrahamC <grahamc001uk AT yahoo DOT co DOT uk>
Reply-To: GrahamC <grahamc001uk AT yahoo DOT co DOT uk>
Subject: Python core dump depending on module import order with latest upgrade
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r59GZbaA020246

Since the latest upgrade the following python program causes an "Aborted (core dumped)" error:

#!/usr/bin/python
import ctypes
import zlib
a = 1

If the order of imports is reversed (zlib then ctypes) no core dump error occurs.

python2.7.exe.stackdump contains nothing of use:
Stack trace:
Frame     Function  Args

Versions are:

uname -srm
CYGWIN_NT-6.2 1.7.20(0.266/5/3) i686

python
Python 2.7.3 (default, Dec 18 2012, 13:50:09)
[GCC 4.5.3] on cygwin

ctypes
__version__ = '1.1.0'

zlib
__version__ = '1.0'
ZLIB_VERSION = '1.2.7'

The dates on the latest cygwin dll files (cygwin1.dll) etc. in /usr/bin are Jun 7 10:11

O/S is Windows v8.0

Setup.exe version is 2.774

Neither ctypes nor zlib is in the site-packages directory so I don't see any user module recompilation being available.
I do have sip installed in site-packages but this is not used by the failing program.

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