Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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:00:04 +0300 From: Egor Duda X-Mailer: The Bat! (v1.45) Personal Reply-To: Egor Duda Organization: DEO X-Priority: 3 (Normal) Message-ID: <7176922078.20010319210004@logos-m.ru> To: Earnie Boyd CC: Earnie Boyd Subject: Re: Outstanding issues with current DLL? In-reply-To: <3AB532F3.B3D3916@yahoo.com> References: <20010307200848 DOT A32670 AT redhat DOT com> <20010307213711 DOT E32721 AT redhat DOT com> <3AA79E39 DOT BC915295 AT yahoo DOT com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Monday, 19 March, 2001 Earnie Boyd earnie_boyd AT yahoo DOT com wrote: EB> Earnie Boyd wrote: >> >> Christopher Faylor wrote: >> > >> > Do you see this when you press CTRL-D to exit the window? >> > >> >> I'm in the habit of typing `exit' which echoes back `logout\n'. Bash >> isn't present, rxvt is still active to the cursor but no response. I'm >> able to close the window with the "X in the upper right corner" once it >> is hung. 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. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19