From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hannu Koivisto Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4437: 23.1.50; Quitting gdb leaves a process behind Date: Mon, 14 Sep 2009 23:54:48 +0300 Message-ID: <83ab0xfdrb.fsf@kalahari.s2.org> Reply-To: Hannu Koivisto , 4437@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253024666 14846 80.91.229.12 (15 Sep 2009 14:24:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2009 14:24:26 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 15 16:24:19 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MnYx9-000350-55 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Sep 2009 16:24:19 +0200 Original-Received: from localhost ([127.0.0.1]:57974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnYx8-0008UB-54 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Sep 2009 10:24:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnIlS-0001kf-Q0 for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2009 17:07:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnIlM-0001f7-RE for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2009 17:07:08 -0400 Original-Received: from [199.232.76.173] (port=39853 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnIlL-0001ex-KX for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2009 17:07:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54584) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MnIlK-0007v7-GO for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2009 17:07:03 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8EL70sD016670; Mon, 14 Sep 2009 14:07:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8EL04YL014592; Mon, 14 Sep 2009 14:00:04 -0700 Resent-Date: Mon, 14 Sep 2009 14:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Hannu Koivisto Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 14 Sep 2009 21:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4437 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125296170613739 (code B ref -1); Mon, 14 Sep 2009 21:00:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Sep 2009 20:55:06 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8EKt3YK013697 for ; Mon, 14 Sep 2009 13:55:05 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:58235) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MnIZj-0007Fa-3r for emacs-pretest-bug@gnu.org; Mon, 14 Sep 2009 16:55:03 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MnIZg-0005Sq-HM for emacs-pretest-bug@gnu.org; Mon, 14 Sep 2009 16:55:02 -0400 Original-Received: from s2.org ([195.197.64.39]:52538 helo=kalahari.s2.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MnIZf-0005Qo-Ve for emacs-pretest-bug@gnu.org; Mon, 14 Sep 2009 16:55:00 -0400 Original-Received: from azure by kalahari.s2.org with local (Exim 4.69) (envelope-from ) id 1MnIZU-0003Ov-Vk for emacs-pretest-bug@gnu.org; Mon, 14 Sep 2009 23:54:48 +0300 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: azure@iki.fi X-SA-Exim-Scanned: No (on kalahari.s2.org); SAEximRunCond expanded to false X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 14 Sep 2009 17:07:08 -0400 X-Mailman-Approved-At: Tue, 15 Sep 2009 10:24:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31115 gmane.emacs.pretest.bugs:25055 Archived-At: Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Start emacs with -q option, start gdb to debug any program (M-x gdb RET C-a gdb -i=mi ./some-program), quit immediately by typing quit RET to gdb command line (and answer "yes" to the question whether to kill the process associated to the buffer) and finally list processes with M-x list-processes RET. Expected result: no processes. Actual result: Proc Status Buffer Tty Command ---- ------ ------ --- ------- gdb-inferior run (Killed) /dev/pts/15 If I start gdb again after this, I get a new gdb-inferior<1> process which again is left running when I quit gdb. I've also seen cases where "quit" command to gdb does absolutely nothing. In at least some sub-cases, if I then say M-x list-processes RET, _then_ I get the question whether to kill the process associated to the buffer and if I say "yes", the debugger quits and I get "Debugger finished" in the gdb buffer. In GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2009-09-13 on deliverance Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--prefix=/usr/local' '--with-x-toolkit=athena'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: fi_FI@euro value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: POSIX value of $XMODIFIERS: nil locale-coding-system: iso-latin-9-unix default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x g d b q u i t y e s M-x l i s t - p r C-x 5 2 M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. This version of GDB doesn't support non-stop mode. Turning it off. Load-path shadows: None found. -- Hannu