public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20
@ 2004-02-21 16:46 Stefan Dalibor
  2004-02-21 16:48 ` Igor Pechtchanski
  2004-02-22  0:07 ` Christopher Faylor
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Dalibor @ 2004-02-21 16:46 UTC (permalink / raw)
  To: cygwin

Hi,
I upgraded to cygwin1.dll snapshot version 20040218 and 2004020 (due to
problems with zsh and cygwin-1.5.7.1):

CYGWIN_NT-5.1 SINDBAD 1.5.8s(0.110/4/2) 20040218 17:35:06 i686 unknown unknown Cygwin

Now I find that I can suspend a process running vim only once by Ctrl-Z
- after restarting the process, hitting Ctrl-Z any more won't work.
The terminal window flickers for a moment, but the editor is not
suspended.
Suspending a lynx process more than once works fine, while suspending
mutt results in a crash:

4 [sig] mutt 1152 handle_threadlist_exception: handle_threadlist_exception
called with threadlist_ix -1
Segmentation fault (core dumped)

with stackdump:

Exception: STATUS_ACCESS_VIOLATION at eip=61025D4B
eax=00000011 ebx=00000000 ecx=006DEB6C edx=61025650 esi=006DEBDC edi=61025650
ebp=006DE864 esp=006DE53C program=C:\cygwin\bin\mutt.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
006DE864  61025D4B  (00000000, 00000012, 00000000, 00000000)
006DEB94  61026784  (00000750, 006DEBDC, 000000A4, 006DEBC8)
006DF0A4  6108D45E  (610F0774, 00000000, 006DF0C4, 006DF0FC)
006DF0C4  610030A6  (610F0774, 006DF0FC, 61003040, 000FF6BD)
006DF0F4  61003DE4  (00000000, 00000000, 00000000, 00000000)
006DFFA4  61003D9A  (00000000, 00000000, 00000000, 00000000)
End of stack trace

This is with an empty home directory, i.e. only the standard shell and
terminal settings from Cygwin, and it happens with bash, pdksh and zsh
(where the latter crashes also with the same error message when
suspending vim if the editor is called from within a shell function,
please see my other posting).

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] 5+ messages in thread

* Re: Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20
  2004-02-21 16:46 Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20 Stefan Dalibor
@ 2004-02-21 16:48 ` Igor Pechtchanski
  2004-02-21 17:26   ` Stefan Dalibor
  2004-02-22  0:07 ` Christopher Faylor
  1 sibling, 1 reply; 5+ messages in thread
From: Igor Pechtchanski @ 2004-02-21 16:48 UTC (permalink / raw)
  To: dalibor; +Cc: cygwin

On Sat, 21 Feb 2004, Stefan Dalibor wrote:

> Hi,
> I upgraded to cygwin1.dll snapshot version 20040218 and 2004020 (due to
> problems with zsh and cygwin-1.5.7.1):
>
> CYGWIN_NT-5.1 SINDBAD 1.5.8s(0.110/4/2) 20040218 17:35:06 i686 unknown unknown Cygwin
>
> Now I find that I can suspend a process running vim only once by Ctrl-Z
> - after restarting the process, hitting Ctrl-Z any more won't work.
> The terminal window flickers for a moment, but the editor is not
> suspended.
> [snip]

Does ":suspend" (or ":stop") work more than once in vim?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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] 5+ messages in thread

* Re: Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20
  2004-02-21 16:48 ` Igor Pechtchanski
@ 2004-02-21 17:26   ` Stefan Dalibor
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Dalibor @ 2004-02-21 17:26 UTC (permalink / raw)
  To: cygwin

On Sat, Feb 21, 2004 at 10:38:18AM -0500, Igor Pechtchanski wrote:
> On Sat, 21 Feb 2004, Stefan Dalibor wrote:
> 
> > Hi,
> > I upgraded to cygwin1.dll snapshot version 20040218 and 2004020 (due to
> > problems with zsh and cygwin-1.5.7.1):
> >
> > CYGWIN_NT-5.1 SINDBAD 1.5.8s(0.110/4/2) 20040218 17:35:06 i686 unknown unknown Cygwin
> >
> > Now I find that I can suspend a process running vim only once by Ctrl-Z
> > - after restarting the process, hitting Ctrl-Z any more won't work.
> > The terminal window flickers for a moment, but the editor is not
> > suspended.
> > [snip]
> 
> Does ":suspend" (or ":stop") work more than once in vim?

No, same effect as with Ctrl-Z - short flickering of the terminal
window, but no process suspension.
While staring at the flickering, it seems to me that the content of the
window before starting vim appears for a fraction of a second, as if vim
is suspended, but then restarted immediately.
FYI, the text browser links crashes also on the first suspension (like
mutt).

ncftp can be suspended 2 times - but the third time, it starts to use up
all CPU time of the machine (starting the task manager for killing the
runaway ncftp process took several minutes) and issues error messages:

ncftp
4005689 [unknown (0x7BC)] ncftp 1548 sig_send: wait for sig_complete event faile
d, signal -34, rc 258, Win32 error 0
64092356 [unknown (0x7BC)] ncftp 1548 sig_send: wait for sig_complete event fail
ed, signal 2, rc 258, Win32 error 0
128154788 [unknown (0x23C)] ncftp 1548 sig_send: wait for sig_complete event fai
led, signal -34, rc 258, Win32 error 0
188280509 [unknown (0x23C)] ncftp 1548 sig_send: wait for sig_complete event fai
led, signal 2, rc 258, Win32 error 0
248437654 [unknown (0x1B4)] ncftp 1548 sig_send: wait for sig_complete event fai
led, signal -34, rc 258, Win32 error 0
327140672 [unknown (0x1B4)] ncftp 1548 sig_send: wait for sig_complete event fai
led, signal 2, rc 258, Win32 error 0

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] 5+ messages in thread

* Re: Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20
  2004-02-21 16:46 Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20 Stefan Dalibor
  2004-02-21 16:48 ` Igor Pechtchanski
@ 2004-02-22  0:07 ` Christopher Faylor
  2004-02-22  1:31   ` Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20 - solved with 20040221 Stefan Dalibor
  1 sibling, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2004-02-22  0:07 UTC (permalink / raw)
  To: cygwin

On Sat, Feb 21, 2004 at 04:30:15PM +0100, Stefan Dalibor wrote:
>I upgraded to cygwin1.dll snapshot version 20040218 and 2004020 (due to
>problems with zsh and cygwin-1.5.7.1):
>
>CYGWIN_NT-5.1 SINDBAD 1.5.8s(0.110/4/2) 20040218 17:35:06 i686 unknown unknown Cygwin
>
>Now I find that I can suspend a process running vim only once by Ctrl-Z
>- after restarting the process, hitting Ctrl-Z any more won't work.
>The terminal window flickers for a moment, but the editor is not
>suspended.
>Suspending a lynx process more than once works fine, while suspending
>mutt results in a crash:
>
>4 [sig] mutt 1152 handle_threadlist_exception: handle_threadlist_exception
>called with threadlist_ix -1
>Segmentation fault (core dumped)

Ok.  The mutt problem I *could* reproduce.  I've checked in a fix and am
generating a new snapshot.

This was actually two problems.  One problem could be responsible for
mysterious hangs but not, unfortunately, for something like an emacs
SEGV.

cgf

--
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] 5+ messages in thread

* Re: Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20 - solved with 20040221
  2004-02-22  0:07 ` Christopher Faylor
@ 2004-02-22  1:31   ` Stefan Dalibor
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Dalibor @ 2004-02-22  1:31 UTC (permalink / raw)
  To: cygwin

On Sat, Feb 21, 2004 at 06:02:08PM -0500, Christopher Faylor wrote:
> Ok.  The mutt problem I *could* reproduce.  I've checked in a fix and am
> generating a new snapshot.

I'v installed cygwin1.dll snapshot 20040221, and the problems with
suspending mutt, ncftp and vim are all gone, under zsh, bash and
pdksh!

Lots of thanks for this quick and complete solution :),
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] 5+ messages in thread

end of thread, other threads:[~2004-02-22  1:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-21 16:46 Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20 Stefan Dalibor
2004-02-21 16:48 ` Igor Pechtchanski
2004-02-21 17:26   ` Stefan Dalibor
2004-02-22  0:07 ` Christopher Faylor
2004-02-22  1:31   ` Problem with suspending processes under bash, pdksh and zsh with cygwin1.dll snapshot 20040218/20 - solved with 20040221 Stefan Dalibor

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).