X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: python fails in windows shell
Date: Tue, 25 Jul 2006 18:32:09 +0100
Message-ID: <007b01c6b010$41a22af0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <44C652E4.8030604@scytek.de>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 25 July 2006 18:21, Volker Quetschke wrote:

> Dave Korn wrote:
>> On 25 July 2006 08:48, Krzysztof Duleba wrote:
>> 
>>> When I try to run python in Windows shell, it hangs. Even the simplest
>>> test like python -c 'print "foo"' will result in ntvdm process taking
>>> 100% CPU. I tried it with 1.5.19 and 1.5.17 and got the same result.
>>> 
>>> When I strace python, I get a bit surprising output:
>>> 
>>> D:\cygwin\home\Krzysiek>strace python
>>> --- Process 52048, exception 40000005 at 7C81EB33
>>> --- Process 52048, exception 40000005 at 7C81EB33
>>> --- Process 52048, exception 40000005 at 7C81EB33
>>> [...]
> 
> I might go out on a limb here, but I got similar responses from
> xmgrace until I did a "rebaseall". That fixed it.
> 
>>   ;-) Take a look at the output from
>> 
>> file `which python`
> 
> Might also be a broken python executable ...

  How would that matter?  cmd.exe has no idea how to follow a cygwin symlink,
so the actual executable isn't going to be invoked at all in the situation
described above.

  OTOH, 'strace' does know how to follow a symlink (IIRTSC), and is hence
showing some other problem, so your rebase suggestion could still be valid.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

