Threading issue in cygwin python 2.5.1-2 ?

Jim Kleckner jek-cygwin2@kleckner.net
Tue Sep 11 00:49:00 GMT 2007


Jim Kleckner wrote:
> Jim Kleckner wrote:
>> I tried running
>> /lib/python2.5/test/test_thread.py
>> and it hangs at the line below:
>>
>> *** Changing thread stack size ***
>> caught expected ValueError setting stack_size(4096)
>> successfully set stack_size(262144)
>> successfully set stack_size(1048576)
>> successfully set stack_size(0)
>> trying stack_size = 262144
>> creating task 1
>
> Hm.  Redirecting output from test_thread.py lets it complete.
> python test_thread.py >& /tmp/t
> python testall.py redirected completes but hangs in same spot
> if not redirected.
>
> This is all using today's snapshot.

And of course using strace causes it to run to completion
even when not redirected.

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