X-Spam-Check-By: sourceware.org X-Matched-Lists: [] Message-ID: <380-2200612111153742474@cantv.net> Reply-To: rodmedina AT cantv DOT net From: "Rodrigo Medina" To: cygwin AT cygwin DOT com Subject: rxvt NOT RESPONDING when exiting Date: Mon, 11 Dec 2006 11:37:42 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 X-Virus-Status: Clean Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, Lately rxvt does not exit properly. I think this a differen from the ghost bash process that has been reported. The behavior is similar for 20050409-2 and 20050409-3. Frequently (not always) when a rxtv window is closed with the exit command, the program hangs and never ends. In order to see what happens I will open 2 rxvt-bash windows: $ ps -a PID PPID PGID WINPID TTY UID STIME COMMAND 508 1 508 508 ? 18 08:50:28 /usr/bin/cygrunsrv 1556 508 1556 1636 ? 18 08:50:28 /usr/sbin/sshd 9504 1 9504 9504 con 1007 10:45:26 /usr/bin/rxvt I 10024 9504 10024 10856 0 1007 10:45:26 /usr/bin/bash 11196 1 11196 11196 con 1007 10:45:29 /usr/bin/rxvt 11272 11196 11272 10604 1 1007 10:45:29 /usr/bin/bash 10400 11272 10400 9636 1 1007 10:45:37 /usr/bin/ps In TTY 0 I write exit: $ exit logout Never exits In TTY1: $ ps -a PID PPID PGID WINPID TTY UID STIME COMMAND 508 1 508 508 ? 18 08:50:28 /usr/bin/cygrunsrv 1556 508 1556 1636 ? 18 08:50:28 /usr/sbin/sshd 9504 1 9504 9504 con 1007 10:45:26 /usr/bin/rxvt 11196 1 11196 11196 con 1007 10:45:29 /usr/bin/rxvt 11272 11196 11272 10604 1 1007 10:45:29 /usr/bin/bash 11272 11656 11920 1 1007 10:49:01 /usr/bin/ps As you can see the bash process 10024 has ended but the rxvt process 9504 is still there. But $ kill -9 9504 bash: kill: (9504) - No such process and $ ps -W |grep 9504 9504 1 9504 9504 con 1007 10:45:26 /usr/bin/rxvt In order to finish the program one has to use the X button of the windows window, or the windows task manager. Similar behavior happens with other shells: tcsh, ksh, ash, zsh. If instead of using "exit" one sends "kill -9" to the bash process, the behavior is similar. If one sends "kill -9" to the rxvt process the window desappears. The output of cygcheck is attached. RM -- 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/