This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: zsh: command not found => hangs


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]