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:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=wWVuljck4/TqYX4MhpTc1eoig92Ak TqqUnQbXQMLBwT4YUcCWHNHNZ+lnTB8WXp9N8VIp8yKEXR4t1OKAJjxO7smmE7WO zqzJPYwmOAmS8FXRhJAsZhf4G1OgcRHAl+J/44LtGGQh1pJPwcxQBjhhU0xrsXgs T6Tru9TWUH1hT8= 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:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=FcPH8UMlknqvAWmLjR0Z0JF5y/A=; b=Foh Ysf03v8/eB5JRr/EGprIKBXZneS4MIcql9Q4aN9W6auqz+USg97xP7gFkaZB3qED o7St6oBk2u5/Hcwy2pGM/HzL0viZ3Kj6qjfdXB5/SaKIiI+4QJs7PNDDJOWLTN8z 7GHqLhjmn/7QKeEICumN8AxvVZ9uj5DbgSl40Bgw= 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=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f178.google.com X-Received: by 10.50.16.68 with SMTP id e4mr2631968igd.12.1382713750158; Fri, 25 Oct 2013 08:09:10 -0700 (PDT) MIME-Version: 1.0 From: Jean-Pierre Flori Date: Fri, 25 Oct 2013 17:08:50 +0200 Message-ID: Subject: Problem with multiprocessing module from Python To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Dear all, Thanks a lot once more for the great software. During my last attempt to build Sage on Cygwin (32), I mainly have only one problem left: using the multiprocessing module from python is problematic. I was using Cygwin 1.7.25 within a Windows XP virtual machine (VirtualBox 4.3). 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! I have another quite unrelated question while I'm here: I recently had trouble because in Sage two DLLs ended up with the same name and wanted to be loaded at the same time, resulting in a "cannot reloacte blah.dll at the same address". Renaming one of the dll (C file and rebuilding) solved the problem. I assume this is a windows limitations, is that right? Thanks in advance for your help, Best, -- Jean-Pierre Flori -- 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