zsh: command not found => hangs

Peter A. Castro doctor@fruitbat.org
Fri Aug 26 00:01:00 GMT 2005


On Fri, 26 Aug 2005, Samuel Thibault wrote:

> Hi,
>
> Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a écrit :
>> On Thu, 25 Aug 2005, Samuel Thibault wrote:
>>> Note that I replaced cygwin1.dll by the latest snapshot (2005/08/24).
>>> The current release version (2005/07/03) does work fine. I tried with
>>> previous snapshots, even 2005/07/05 fails...
>>
>> Wait, so the released version works, but the snapshot doesn't?
>
> Precisely.

Hmm... Okaaaaay (I wonder what cgf has done to the code *this* time :)

>> Do you have any network drives in your $PATH?
>
> None.
>
>> Hmmm... Well, I guess the only thing to do is run strace, make it fail
>> and send us the trace.
>
> It is available on
> http://dept-info.labri.fr/~thibault/zsh_strace
>
> See line 4808 in particular. zsh lays remains hung with the last line.

>From the trace, wait4() is returning an errno = 10 (ECHILD) stating that
there's no child to wait for...

Earlier in the trace it looks like a possible race between the main and
a signal handler.  I'll look into zsh code to see what it does for this
type of wait4() return, but I'm thinking it's a race condition within the
cygwin code.

>> I'll just add that you should make sure you stop and restart any
>> cygwin services too.
>
> There was none, so ok :)
>
> Regards,
> Samuel
>
> --
> 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/
>

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood
-------------- next part --------------
--
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/


More information about the Cygwin mailing list