This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Threading issue in cygwin python 2.5.1-2 ?
- From: Jim Kleckner <jek-cygwin2 at kleckner dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 11 Feb 2008 14:31:49 -0800
- Subject: Re: Threading issue in cygwin python 2.5.1-2 ?
- References: <46D8A577.1060908@kleckner.net> <46DF52B8.7000509@kleckner.net> <fbo5p9$34n$1@sea.gmane.org> <46DF9CAD.6000503@kleckner.net> <fbo7el$72j$1@sea.gmane.org> <Pine.GSO.4.63.0709060944150.20529@access1.cims.nyu.edu> <fbp2po$5mb$1@sea.gmane.org> <46E01E3C.7000506@cygwin.com> <46E02134.3030400@kleckner.net> <46E03EFD.3040806@kleckner.net> <46E04E85.59E9E910@dessent.net> <479A9A8F.9090106@kleckner.net> <009001c860e9$dd4a0000$2e08a8c0@CAM.ARTIMI.COM> <479CEC96.1090607@kleckner.net>
- Reply-to: cygwin at cygwin dot com
Jim Kleckner wrote:
Dave Korn wrote:
On 26 January 2008 02:27, Jim Kleckner wrote:
...
The two testcases I found in those threads (attached) both WJFFM under
cygwin 1.5.25-7 but fail under 1.5.23-2. If you can reproduce that
and your
program still fails, it's probably a different issue.
Thanks for giving that a try, Dave.
I restored 1.5.25-7 and confirmed that test_wait4 succeeds standalone.
Note that the test_wait4 test fails when run with:
python testall.py >& testall.out
Note that it does make a difference if output is redirected.
If you type:
python testall.py
then it hangs at the point of testing threads:
*** 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
Note the message from the test output that "verbose mode"
can influence the results:
CAUTION: stdout isn't compared in verbose mode:
a test that passes in verbose mode may fail without it.
I would be curious if you also can reproduce this behavior.
Would someone mind trying the following to see if you get the same behavior?
cd /usr/lib/python2.5/test
python testall.py
Observe that it hangs at "creating task 1".
And (using bash):
cd /usr/lib/python2.5/test
python testall.py >& testall.out
and observe that test_wait4 fails.
...
Thanks - Jim
--
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/