delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/25/13:32:20

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT 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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <44C652E4.8030604@scytek.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


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