From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Brent Goodrick" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1112: 23.0.60; Child process not cleaned up properly Date: Tue, 7 Oct 2008 08:15:57 -0700 Message-ID: Reply-To: Brent Goodrick , 1112@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223398948 31615 80.91.229.12 (7 Oct 2008 17:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2008 17:02:28 +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 Oct 07 19:03:25 2008 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 1KnFty-0002hU-0e for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Oct 2008 18:59:15 +0200 Original-Received: from localhost ([127.0.0.1]:58813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnFst-0007kQ-UC for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Oct 2008 12:58:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnEVg-0005v3-RA for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:30:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnEVf-0005uG-DD for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:30:04 -0400 Original-Received: from [199.232.76.173] (port=41982 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnEVe-0005u8-Tt for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:30:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45143) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnEVd-0004i3-Ny for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:30:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97FTvrt031434; Tue, 7 Oct 2008 08:29:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m97FP3oN030367; Tue, 7 Oct 2008 08:25:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Brent Goodrick" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Oct 2008 15:25:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1112 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122339257629017 (code B ref -1); Tue, 07 Oct 2008 15:25:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 15:16:16 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97FG8UE029011 for ; Tue, 7 Oct 2008 08:16:09 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:59129) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KnEFs-0005MK-Fw for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 11:13:45 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KnEI7-0001YH-JD for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 11:16:05 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.154]:57108) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnEI6-0001X5-PQ for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 11:16:03 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so559820ywk.66 for ; Tue, 07 Oct 2008 08:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=w5/5yt0VqUo+eVAun90vFKGN8OPIT9hZrjWaEOannrk=; b=C+Ibe6lN9QFPOrhv3OeoJENof1Fh/3O7NnQQPNlutAYsZg7CcF63zIILoR+euMoeU1 WbVIg/xIW2OomvlAvBdIPmxagFC6s1rrjkhhL2K/1mDLu+Mj4Q608H8BakJtC+xxXqCG hNwHsvRx5ut7J7E5r/Y6XClYbn6fHju5VP72Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=M0UEw8WucjuASkXTZmumVs1wFdSNnFG3vAql4XdhRbrwWYYGvqJNiSKZMc6+YJt0gU +8BBWKtLSMYdr62MM0PR8SjukPMQ6qAgoKmrvETS33n1VyA8XEfOywEXrXvz8BLVs/j5 8KvuClpElJf1RkdzDxf1R1czFTl4D6rWGsbRY= Original-Received: by 10.90.101.17 with SMTP id y17mr7521191agb.51.1223392557590; Tue, 07 Oct 2008 08:15:57 -0700 (PDT) Original-Received: by 10.90.50.18 with HTTP; Tue, 7 Oct 2008 08:15:57 -0700 (PDT) Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 07 Oct 2008 11:30:04 -0400 X-Mailman-Approved-At: Tue, 07 Oct 2008 12:57:22 -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:21223 gmane.emacs.pretest.bugs:23174 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 1. M-x compile 2. Enter in: sudo apt-get install gimp-help-en 3. See the apt-get prompt: Reading package lists... 0% The following extra packages will be installed: gimp-help-common The following NEW packages will be installed: gimp-help-common gimp-help-en 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. Need to get 15.9MB of archives. After this operation, 27.5MB of additional disk space will be used. Do you want to continue [Y/n]? 4. Kill the buffer, and expect the underlying process to die, just like you would have if you had typed the above command in a shell buffer. 5. Open up a shell, and type ps to see that the apt-get process still exists 6. Go through step 1 again and notice now that a lock is being reported by the second apt-get session because the first process was not properly torn down by the act of killing the previous compilation buffer. My assessment: The shell mode somehow works differently than the compilation mode since the compilation mode does not allow user input. Fair enough, but the two modes should work the same in terms of tearing down the two processes if the buffers are killed, and should not ever leave dormant child processes. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/brentg/emacs_from_source/install/share/emacs/23.0.60/etc/DEBUG for instructions. Emacs did not crash. In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.11) of 2008-10-03 on hungover Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--with-x-toolkit' '--with-xft' '--prefix=/home/brentg/emacs_from_source/install'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Apropos Minor modes in effect: desktop-save-mode: t iswitchb-mode: t erc-services-mode: t erc-networks-mode: t display-time-mode: t shell-dirtrack-mode: t delete-selection-mode: t mouse-wheel-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: 1 transient-mark-mode: t Recent input: o m p i C-1 d C-x h M-P C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-a C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-b C-b C-M-SPC C-z M-> C-4 M-P k i l l C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-a C-n C-n C-n C-n C-p C-p C-p C-p C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-M-SPC C-z M-> SPC C-v C-a M-P C-a s u d i o SPC C-4 M-P C-k C-g C-v C-1 C-c d p s f C-r a p t - C-g C-g M-> a p t = g e t C-r a p t - g e t C-g C-f M-> M-x a p r o p t y t y y C-x o C-s c o m i n t C-b C-x o C-M-SPC C-z C-c d C-x h M-P SPC | SPC g r e p SPC a p t - g e t M-x M-P C-g C-4 M-p C-x o M-: C-v C-1 M-P s u d o SPC k i l l SPC a p t = - g e t 1 2 2 5 6 0 M-x a p r o e m a c s . * f b u g C-x o C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n M-x r e p o r t - e m a c s = - b u g Recent messages: Not applicable. It is repeatable.