Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Fri, 26 Oct 2001 21:42:55 -0400 From: Jason Tishler To: Robert Collins Cc: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: fix cond_race... was RE: src/winsup/cygwin ChangeLog thread.cc thread.h ... Message-ID: <20011026214255.A2232@dothill.com> Mail-Followup-To: Robert Collins , cygwin-developers AT sourceware DOT cygnus DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03e201c15e1c$9bd09d40$0200a8c0@lifelesswks> User-Agent: Mutt/1.3.18i Rob, On Fri, Oct 26, 2001 at 10:49:09PM +1000, Robert Collins wrote: > Whats the specific command to invoke the failing test? You should be good to go -- login using the following: $ ssh -p 2222 robertc AT cc1004678-a DOT etntwn1 DOT nj DOT home DOT com To reproduce the problem, do the following: $ cd src/python-2.1.1 $ PYTHONPATH= ./python.exe -tt Lib/test/regrtest.py -l test_threadedtempfile You may have to run the python command a few time before it hangs. Once it hangs, you should see a backtrace in gdb as follows: (gdb) bt #0 0x77f82152 in _libkernel32_a_iname () #1 0x77e830fe in _libkernel32_a_iname () #2 0x77e83126 in _libkernel32_a_iname () #3 0x61062b34 in pthread_cond::TimedWait (this=0xa0c76f0, dwMilliseconds=4294967295) at ../../../../src/winsup/cygwin/thread.cc:538 #4 0x61064623 in __pthread_cond_dowait (cond=0xa0c3edc, mutex=0xa0c3ee0, waitlength=-1) at ../../../../src/winsup/cygwin/thread.cc:1769 #5 0x6106475c in pthread_cond_wait (cond=0xa0c3edc, mutex=0xa0c3ee0) at ../../../../src/winsup/cygwin/thread.cc:1806 #6 0x61d928ad in PyThread_acquire_lock (lock=0xa0c3ed8, waitflag=1) at Python/thread_pthread.h:313 .. I set up a Cygwin CVS sandbox which you can enter using the following: $ ce cygwin # the "e" is not a typo The above will cd you to the right place and set up the necessary environment variables to access Cygwin CVS. Let me know if you do a build and I'll switch the Cygwin DLL as soon as possible. Thanks, Jason