delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/29/15:40:54

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=hVDZPviqBiFykpLMPakrBR7SlIeRnZHNp/seQUuGbVkEo2IojcJSy
oSnWdU0V3yFf2s4cKoB01WDMOJLEUx8dGYjuyUPw0gV+/wubMq1h7yd3bxYje7b/
3O94hrX9Cs1hvOIry47GE78vd+CFeB5xhO4lHDv2AbAH/PrRWfwIO8=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=l3MW2Sxfk9EWOICX7cZjMqG0x8E=; b=pc/tGlRSCYV1g+p5U10q8HsiNZB3
h5tNpVOJ5vBIMDxqHIDZqmaoTE/bCRo2jukjvNfLeXorVO7utOW+RPe+QAs8LwYL
ZpyZCh9ZIXFjRcae6M6tuE4RBVIoXJZnQu8DzLr1UY26M3UasRra7WMz1B4KpE4n
S7tvM8dqhzVfo6U=
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=-3.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Jean-Pierre Flori <jpflori AT gmail DOT com>
Subject: Re: Problem with multiprocessing module from Python
Date: Tue, 29 Oct 2013 19:40:10 +0000 (UTC)
Lines: 34
Message-ID: <l4p2uq$ps8$1@ger.gmane.org>
References: <CAHhGz88t8H_xQ6h-a6-aQrMf+wTOVT6gMnx42tMpjs=3=qGVTQ AT mail DOT gmail DOT com> <l4ei86$cos$2 AT ger DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
X-IsSubscribed: yes

Le Fri, 25 Oct 2013 19:53:42 +0000, Jean-Pierre Flori a écrit :

> Le Fri, 25 Oct 2013 17:08:50 +0200, Jean-Pierre Flori a écrit :
>> This is true both with Cygwin's shipped Python 2.7.x and the one I
>> built for Sage.
>> Here is a small snippet of code reproducing the problem:
>> """
>> [Blah python stuff]
>>>>> from multiprocessing import Pool p = Pool(3)
>>>>> p.map(anything suitable)
>> ...
>> ValueError: semaphore or lock released too many times """
>> This might be a problem with Python but I seem to remember succeeding
>> in this test some time ago with the same version of Python.
>> I tried Cygwin's GCC (4.7.3) and a custom built FSF GCC 4.8.2 without
>> success. I also tried to replace Cygwin binaries with version 1.7.0 and
>> a few others before 1.7.25 without apparent changes.
>> So I'm a little lost now.
>> 
>> Can anyone reporduce that?
>> Any help would be appreciated!
>> 
> For your info, I was unable to reproduce such a behavior on Cygwin 32 v
> 1.7.25 installs running on 64 bits Windows 7 both on real hardware and
> VirtualBox 4.3...
> 
> JP
I went on with further testing and could reproduce the problem with the 
Cygwin shipped Pythons on a 64 bit Windows 7 running under VirtualBox 4.3 
with Cygwin 64 and on a 32 bit Windows 7 running on real hardware (intel 
Atom).

Best,
JP


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