Mail Archives: cygwin/2006/07/25/13:32:20
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 -