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=HH3qKXCRVc0wgsWERvF3+OBIdBMfYpygGaabBs3gBdoLqXliChOFy 9fZICgFMfdDWBaNgvcteKlCbZ7iMB+S9ceBWoPNXqg3sPaitFJNHkeQuR/GQhcMv 2kIjNL0FUAPg0EMnWN2kk/ExEnRbVoVXW6XijAqq24wacduQsc24rc= 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=qLz/uO5CLa1gCfq1+FOA0lxIrrQ=; b=PZqh8s2TM27jjjyhug6byZ9qRUMP VyQmFu+IBX+amsv88TTqP3gIwX9uJ+07PVYxuY93m25aNLDwbclzYbUn8gVbiV9V 2K4qjXglvsYMM+fs90iXfG6WKqOsK9ngik55iG/54XgAlkySc2wG9Z5lx9AcbEMh M9w1ClJEM0bPkQ4= 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=-3.4 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 Subject: Re: Problem with multiprocessing module from Python Date: Fri, 25 Oct 2013 19:53:42 +0000 (UTC) Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-IsSubscribed: yes 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 -- 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