delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/03/19/13:48:29

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Mon, 19 Mar 2001 21:47:25 +0300
From: Egor Duda <deo AT LOGOS-M DOT RU>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: Egor Duda <cygwin-developers AT cygwin DOT com>
Organization: DEO
X-Priority: 3 (Normal)
Message-ID: <183306951.20010319214725@logos-m.ru>
To: Christopher Faylor <cgf AT redhat DOT com>
CC: Earnie Boyd <cygwin-developers AT cygwin DOT com>
Subject: Re: Outstanding issues with current DLL?
In-reply-To: <20010319131711.A19248@redhat.com>
References: <20010308125701 DOT A4371 AT redhat DOT com> <3AA7CCBA DOT E84FD16E AT yahoo DOT com>
<20010308133552 DOT A878 AT redhat DOT com> <3AA7E05A DOT BF9F2535 AT yahoo DOT com>
<20010310184508 DOT A16745 AT redhat DOT com> <3AAFF6E9 DOT DFBF2C8 AT yahoo DOT com>
<20010317180414 DOT A22971 AT redhat DOT com> <3AB4DE20 DOT 7CEAE79B AT yahoo DOT com>
<3AB532F3 DOT B3D3916 AT yahoo DOT com> <7176922078 DOT 20010319210004 AT logos-m DOT ru>
<20010319131711 DOT A19248 AT redhat DOT com>
Mime-Version: 1.0

Hi!

Monday, 19 March, 2001 Christopher Faylor cgf AT redhat DOT com wrote:

>>EB> I just did a cvs update and a build, it's still hangin'.  I used the
>>EB> CTRL-D method and it hangs with that to.  Not every time, about one in
>>EB> ten.
>>
>>  I can reproduce this, though it seems that it's not related to the
>>latest tty handling changes. At least i see this problem with 1.1.8
>>too.  When i press ctrl-d and rxvt freezes, the situation is following --
>>bash successfully exits, rxvt continue to poll master side of pty
>>and sees eof there, but doesn't take it into account. Quick look in
>>rxvt sources made me think that rxvt relies solely on SIGCHLD signal
>>from child process. It seems that in that one of ten times, when rxvt
>>freezes, it simply doesn't receive SIGCHLD, an continue waiting. Alas,
>>as most of races, i cannot reproduce this behavior under strace or
>>gdb.

CF> I still can't reproduce this.  I'm running on a dual processor PII W2K
CF> system -- I think I have finally resolved my hardware problems on this
CF> system, hallelujah.

CF> Have you tried setting the strace buffer up to something huge:

CF> strace -oblah -b65535 rxvt

CF> ?  Sometimes this speeds things up enough to track down the problem.

CF> I assume that the SIGCHLD is getting delivered but it's blocked for
CF> some reason.  That is usually what causes this kind of symptom.
CF> If you can attach to a hung rxvt, could you look at myself->_sigtodo[SIGCHLD+3]?
If that has a >>0 number in it, then the signal is blocked.

bull's eye! it does contain 1.

I've also noticed that chance of freezing increases greatly if
you're   actively  move  mouse  pointer  over  rxvt's gui window while
pressing ctrl-d.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019