Re: Latest findings on zsh hang was Re: Re: zsh: command not found => hangs

2005-08-29 Thread Pavel Tsekov
Hello, On Mon, 29 Aug 2005, Christopher Faylor wrote: > >The sigsuspend() function does one simple thing - it calls > >handle_sigsuspend(). > >handle_sigsuspend() sets the signal mask to the one passed to sigsuspend() > >and then calls cancelable_wait() to wait for a signal which is not in the >

Re: Latest findings on zsh hang was Re: Re: zsh: command not found => hangs

2005-08-29 Thread Christopher Faylor
On Mon, Aug 29, 2005 at 01:45:43PM +0300, Pavel Tsekov wrote: >Hello, > >> in cancelable_wait(). The signal handler returns to the wrong place (?) and >> ends up in WaitForMultipleObjects() instead after the sigsuspend() call in >> zsh. I'll see what I can find out. If I find out something which ma

Latest findings on zsh hang was Re: Re: zsh: command not found => hangs

2005-08-29 Thread Pavel Tsekov
Hello, > in cancelable_wait(). The signal handler returns to the wrong place (?) and > ends up in WaitForMultipleObjects() instead after the sigsuspend() call in > zsh. I'll see what I can find out. If I find out something which makes more > sense that what I currently know I'll post. I have new

Re: zsh: command not found => hangs

2005-08-28 Thread Pavel Tsekov
> Well, I just tried, and I can reproduce a hang with this: > > while :; do quer; done >& /dev/null > > It happens with 1.5.18 and the current snapshot. I didn't check the > 1.5.18 version since I was too lazy to regenerate my copy with symbols > but the snapshot version "hangs" in sigsuspend,

Re: zsh: command not found => hangs

2005-08-28 Thread Christopher Faylor
On Sun, Aug 28, 2005 at 09:47:23PM +0300, Pavel Tsekov wrote: >Any ideas on how to proceed would be appreciated. Of course if you can >reproduce it and debug it on your own I guess my help won't be >necessary. Well, I just tried, and I can reproduce a hang with this: while :; do quer; done >&

Re: zsh: command not found => hangs

2005-08-28 Thread Pavel Tsekov
Hello, On Sun, 28 Aug 2005, Christopher Faylor wrote: > On Sun, Aug 28, 2005 at 02:28:13PM +0300, Pavel Tsekov wrote: > >I did trace this problem an it looks like a race in Cygwin but I may be > >wrong. Here I am providing two backtraces from a debug session - the first > >one shows what happens

Re: zsh: command not found => hangs

2005-08-28 Thread Pavel Tsekov
On Sun, 28 Aug 2005, Pavel Tsekov wrote: > Hello, > > I did trace this problem an it looks like a race in Cygwin but I may be > wrong. Here I am providing two backtraces from a debug session - the first > one shows what happens normally and the second one shows the hang: [...] Just as a confir

Re: zsh: command not found => hangs

2005-08-28 Thread Christopher Faylor
On Sun, Aug 28, 2005 at 02:28:13PM +0300, Pavel Tsekov wrote: >I did trace this problem an it looks like a race in Cygwin but I may be >wrong. Here I am providing two backtraces from a debug session - the first >one shows what happens normally and the second one shows the hang: I appreciate that y

Re: zsh: command not found => hangs

2005-08-28 Thread Pavel Tsekov
Hello, On Sun, 28 Aug 2005, Pavel Tsekov wrote: > First I determined (by using strace) the place in zsh where the hang > occurs to be in or after zhandler() when it processes SIGCLD. Then I > built debugging zsh and after debugging for a while it turned out that > the hang occures after leaving t

Re: zsh: command not found => hangs

2005-08-28 Thread Pavel Tsekov
Hello, I did trace this problem an it looks like a race in Cygwin but I may be wrong. Here I am providing two backtraces from a debug session - the first one shows what happens normally and the second one shows the hang: === In this case zsh doesn't hang === (gdb) break 593 Breakpoint 1 at 0x1004

Re: zsh: command not found => hangs

2005-08-26 Thread Peter A. Castro
On Fri, 26 Aug 2005, Christopher Faylor wrote: On Fri, Aug 26, 2005 at 11:14:20AM -0700, Peter A. Castro wrote: On Thu, 25 Aug 2005, Christopher Faylor wrote: On Thu, Aug 25, 2005 at 04:57:46PM -0700, Peter A. Castro wrote: On Fri, 26 Aug 2005, Samuel Thibault wrote: Peter A. Castro, le Thu

Re: zsh: command not found => hangs

2005-08-26 Thread Christopher Faylor
On Fri, Aug 26, 2005 at 11:14:20AM -0700, Peter A. Castro wrote: >On Thu, 25 Aug 2005, Christopher Faylor wrote: > >>On Thu, Aug 25, 2005 at 04:57:46PM -0700, Peter A. Castro wrote: >>>On Fri, 26 Aug 2005, Samuel Thibault wrote: Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a ?crit :

Re: zsh: command not found => hangs

2005-08-26 Thread Corinna Vinschen
On Aug 26 11:14, Peter A. Castro wrote: > On Thu, 25 Aug 2005, Christopher Faylor wrote: > > >On Thu, Aug 25, 2005 at 04:57:46PM -0700, Peter A. Castro wrote: > >>On Fri, 26 Aug 2005, Samuel Thibault wrote: > >>>Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a ?crit : > On Thu, 25 Aug 200

Re: zsh: command not found => hangs

2005-08-26 Thread Peter A. Castro
On Thu, 25 Aug 2005, Christopher Faylor wrote: On Thu, Aug 25, 2005 at 04:57:46PM -0700, Peter A. Castro wrote: On Fri, 26 Aug 2005, Samuel Thibault wrote: 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.d

Re: zsh: command not found => hangs

2005-08-25 Thread Christopher Faylor
On Thu, Aug 25, 2005 at 04:57:46PM -0700, Peter A. Castro wrote: >On Fri, 26 Aug 2005, Samuel Thibault wrote: >>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).

Re: zsh: command not found => hangs

2005-08-25 Thread Peter A. Castro
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

Re: zsh: command not found => hangs

2005-08-25 Thread Samuel Thibault
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 f

Re: zsh: command not found => hangs

2005-08-25 Thread Peter A. Castro
On Thu, 25 Aug 2005, Samuel Thibault wrote: Peter A. Castro, le Wed 24 Aug 2005 16:21:16 -0700, a écrit : On Tue, 23 Aug 2005, Samuel Thibault wrote: With latest snapshot, whenever I mistype a command in zsh, I get proper zsh: command not found: foobar but then it hangs. This doesn't happen w

Re: zsh: command not found => hangs

2005-08-25 Thread Samuel Thibault
Hi, I also noticed that enabling tty in the CYGWIN environment variable makes the hang less systematic: I have to run around half a dozen unknown commands to get the hang (while without the tty option, it's systematic). Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-

Re: zsh: command not found => hangs

2005-08-24 Thread Larry Hall
At 08:11 PM 8/24/2005, you wrote: >Are snapshots compiled differently than release versions? No. >Is there >anything particular to do when installing them, except closing programs, >replacing the old one with the new one, and relaunch programs? No, not with your configuration. -- Larry Hall

Re: zsh: command not found => hangs

2005-08-24 Thread Samuel Thibault
Peter A. Castro, le Wed 24 Aug 2005 16:21:16 -0700, a écrit : > On Tue, 23 Aug 2005, Samuel Thibault wrote: > > > >With latest snapshot, whenever I mistype a command in zsh, I get proper > >zsh: command not found: foobar > >but then it hangs. This doesn't happen with bash though. > > Umm... some d

Re: zsh: command not found => hangs

2005-08-24 Thread Peter A. Castro
On Tue, 23 Aug 2005, Samuel Thibault wrote: Hi, With latest snapshot, whenever I mistype a command in zsh, I get proper zsh: command not found: foobar but then it hangs. This doesn't happen with bash though. Umm... some details about your config would be helpful :) Regards, Samuel -- Pete

zsh: command not found => hangs

2005-08-23 Thread Samuel Thibault
Hi, With latest snapshot, whenever I mistype a command in zsh, I get proper zsh: command not found: foobar but then it hangs. This doesn't happen with bash though. Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems