Python 2.4.1 locking bug. (was: Re: rebaseall failure?)

Jason Tishler jason@tishler.net
Mon Sep 12 15:03:00 GMT 2005


Doug,

On Thu, Jul 28, 2005 at 11:51:00PM -0400, Douglas Philips wrote:
> On Jul 28, 2005, at 6:02 PM, Williams, Gerald S (Jerry) wrote:
> >On the other hand, I verified at the time that the semaphore solution
> >worked under Cygwin Python, so I wouldn't expect it to be a problem
> >even if the change just took place. However, it could potentially
> >help in isolating the problem.
> 
> Thanks, I'm interested too, but I won't be looking at it personally
> until I've produced (or failed to) an even simpler test case...

If you are willing to build from source, then I have a workaround:

    $ # save attached patch to /tmp/pyconfig.h.diff
    $ # change directory to top of Python 2.4.1 source tree
    $ configure
    $ patch </tmp/pyconfig.h.diff
    $ make

Hopefully, this will keep you going until I finally find some time to
debug this problem.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
-------------- next part --------------
--- pyconfig.h.orig	2005-09-12 08:10:00.428993600 -0400
+++ pyconfig.h	2005-09-12 08:22:05.733191000 -0400
@@ -54,7 +54,7 @@
 /* #undef HAVE_BROKEN_POLL */
 
 /* Define if the Posix semaphores do not work on your system */
-/* #undef HAVE_BROKEN_POSIX_SEMAPHORES */
+#define HAVE_BROKEN_POSIX_SEMAPHORES 1
 
 /* Define if pthread_sigmask() does not work on your system. */
 #define HAVE_BROKEN_PTHREAD_SIGMASK 1

-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list