delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/10/20:17:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <46E5DE97.9020806@kleckner.net>
Date: Mon, 10 Sep 2007 17:17:27 -0700
From: Jim Kleckner <jek-cygwin2 AT kleckner DOT net>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Threading issue in cygwin python 2.5.1-2 ?
References: <46D8A577 DOT 1060908 AT kleckner DOT net> <46DF52B8 DOT 7000509 AT kleckner DOT net> <fbo5p9$34n$1 AT sea DOT gmane DOT org> <46DF9CAD DOT 6000503 AT kleckner DOT net> <fbo7el$72j$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0709060944150 DOT 20529 AT access1 DOT cims DOT nyu DOT edu> <fbp2po$5mb$1 AT sea DOT gmane DOT org> <46E01E3C DOT 7000506 AT cygwin DOT com> <46E02134 DOT 3030400 AT kleckner DOT net> <46E03EFD DOT 3040806 AT kleckner DOT net> <46E04E85 DOT 59E9E910 AT dessent DOT net> <46E07678 DOT 6080102 AT kleckner DOT net> <46E078B4 DOT 8000004 AT kleckner DOT net> <46E07D69 DOT 3010509 AT kleckner DOT net>
In-Reply-To: <46E07D69.3010509@kleckner.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.

Brian, you mentioned that you detected the other problem
with single-stepping in GDB.  Would you be able to
publish the setup steps to enable me/others to find
this sort of problem?

It seems likely that the problem is in cygwin since the
test passes with redirection and works in the stock
Python25 distro.  Potentially similar to the other thread
issue you found?

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019