public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Zsh crashes on Ctrl-Z with cygwin1.dll snapshot 2004-02-18
@ 2004-02-19 17:50 Stefan Dalibor
  2004-02-19 17:54 ` Brian Ford
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Dalibor @ 2004-02-19 17:50 UTC (permalink / raw)
  To: cygwin

Hi,
since upgrading Cygwin Dll from 1.5.5-1 (which I have to, because I need
exim 4.30 which won't run with cygwin1.dll < 1.5.6-1, so downgrading is
not an option), I'm suffering from problems with Zsh (4.1.1-2).
I don't know what Zsh does with process management (the problems don't
occur neither with Bash nor pdksh), but here the story goes (hoping this
is still fixable before 1.5.8 comes out!):

1.5.5-1:
Zsh works fine.

1.5.6-1:
Zsh hangs immediately after starting, the shell is essentially unusable.

1.5.7-1:
Zsh starts, but hangs (reproducably) after trying to start a non-existing
command.
Also, shell functions executing pipelines with builtin commands (e.g.
``echo | grep ...'') hang ocasionally.

2004-02-18 snapshot:
Zsh starts fine, no more hangups on non-existing commands, but trying to
suspend a program (e.g. vim, lynx) by hitting Ctrl-Z results in a crash
with error messages like:

4 [sig] zsh 1912 handle_threadlist_exception: handle_threadlist_exception called with threadlist_ix -1

And stackdumps like:

Exception: STATUS_ACCESS_VIOLATION at eip=61025D4B
eax=00000011 ebx=00000000 ecx=0065EB6C edx=61025650 esi=0065EBDC edi=61025650
ebp=0065E864 esp=0065E53C program=C:\cygwin\bin\zsh.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0065E864  61025D4B  (00000000, 00000000, 00000000, 00000000)
0065EB94  61026784  (00000740, 0065EBDC, 000000A4, 0065EBC8)
0065F0A4  6108D45E  (610F0774, 00000000, 0065F0C4, 0065F0FC)
0065F0C4  610030A6  (610F0774, 0065F0FC, 61003040, 00005DF7)
0065F0F4  61003DE4  (00000000, 00000000, 00000000, 00000000)
0065FFA4  61003D9A  (00000000, 00000000, 00000000, 00000000)
End of stack trace

Stefan
--
Dr. Stefan Dalibor <dalibor at cs dot fau dot de>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Zsh crashes on Ctrl-Z with cygwin1.dll snapshot 2004-02-18
  2004-02-19 17:50 Zsh crashes on Ctrl-Z with cygwin1.dll snapshot 2004-02-18 Stefan Dalibor
@ 2004-02-19 17:54 ` Brian Ford
  2004-02-19 18:56   ` Peter A. Castro
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Ford @ 2004-02-19 17:54 UTC (permalink / raw)
  To: Stefan Dalibor; +Cc: cygwin

On Thu, 19 Feb 2004, Stefan Dalibor wrote:

> 2004-02-18 snapshot:
> Zsh starts fine, no more hangups on non-existing commands, but trying to
> suspend a program (e.g. vim, lynx) by hitting Ctrl-Z results in a crash
> with error messages like:
>
> 4 [sig] zsh 1912 handle_threadlist_exception: handle_threadlist_exception called with threadlist_ix -1
>
> And stackdumps like:
>
WFM

$ uname -a
CYGWIN_NT-5.1 fordpc 1.5.8(0.110/4/2) 2004-02-19 09:26 i686 unknown
unknown Cygwin

$ cygcheck -srv | grep zsh
zsh                     4.1.1-2

$ sleep 100

[^Z here]

[1]+  Stopped                 sleep 100

$ fg
sleep 100

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Zsh crashes on Ctrl-Z with cygwin1.dll snapshot 2004-02-18
  2004-02-19 17:54 ` Brian Ford
@ 2004-02-19 18:56   ` Peter A. Castro
  0 siblings, 0 replies; 3+ messages in thread
From: Peter A. Castro @ 2004-02-19 18:56 UTC (permalink / raw)
  To: cygwin; +Cc: Stefan Dalibor

On Thu, 19 Feb 2004, Brian Ford wrote:

> On Thu, 19 Feb 2004, Stefan Dalibor wrote:
>
> > 2004-02-18 snapshot:
> > Zsh starts fine, no more hangups on non-existing commands, but trying to
> > suspend a program (e.g. vim, lynx) by hitting Ctrl-Z results in a crash
> > with error messages like:
> >
> > 4 [sig] zsh 1912 handle_threadlist_exception: handle_threadlist_exception called with threadlist_ix -1
> >
> > And stackdumps like:
> >
> WFM

WFM too!

In fact, I've tested all of the following with zsh:

20040213 - works
20040214 - works
20040215 - can't start zsh (get Appl Error diag box)
20040216 - works
20040217 - works
20040218 - works

I suspect there is something environmentally wrong with your setup,
Stefan.  You might try ensuring you don't have any cygwin apps running
(like inetd, perhaps?).  Use Task Manager to verify that, then start zsh
with no .z* profiles to ensure you're getting a clean environment.

> $ uname -a
> CYGWIN_NT-5.1 fordpc 1.5.8(0.110/4/2) 2004-02-19 09:26 i686 unknown unknown Cygwin
> $ cygcheck -srv | grep zsh
> zsh                     4.1.1-2
> $ sleep 100
> [^Z here]
> [1]+  Stopped                 sleep 100
> $ fg
> sleep 100

And, here's my run with the 20040218 snapshot:

(pcastro@itdev-nt55)[101] ~ % uname -a
CYGWIN_NT-4.0 itdev-nt55 1.5.8s(0.110/4/2) 20040218 17:35:06 i686 unknown unknown Cygwin
(pcastro@itdev-nt55)[102] ~ % vim
[Ctrl-Z here]
zsh: 445 suspended  vim
(pcastro@itdev-nt55)[103] ~ % ps -ef
    UID     PID    PPID TTY     STIME COMMAND
pcastro      67       1   0  10:17:34 /usr/bin/zsh
pcastro     445      67   0  10:17:45 /usr/bin/vim
pcastro     205      67   0  10:17:48 /usr/bin/ps
(pcastro@itdev-nt55)[104] ~ % jobs
[1]  + suspended  vim
(pcastro@itdev-nt55)[105] ~ % fg
[1]  + continued  vim
(pcastro@itdev-nt55)[106] ~ %

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-19 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-19 17:50 Zsh crashes on Ctrl-Z with cygwin1.dll snapshot 2004-02-18 Stefan Dalibor
2004-02-19 17:54 ` Brian Ford
2004-02-19 18:56   ` Peter A. Castro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).