From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [andrew.maguire@ge.com: Emacs 22.1 hung after delete-process] Date: Wed, 15 Aug 2007 14:21:49 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1187201903 25036 80.91.229.12 (15 Aug 2007 18:18:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 18:18:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 20:18:21 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILNRk-0005NR-Ic for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 20:18:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILNRk-000407-1q for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 14:18:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILNRf-0003xO-KB for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:18:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILNRe-0003wC-By for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:18:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILNRe-0003w3-9c for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:18:14 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILNRd-0003w3-VI for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:18:14 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ILNV7-00076X-OO; Wed, 15 Aug 2007 14:21:49 -0400 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76579 Archived-At: Would someone please DTRT, then ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=failed version=3.1.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 14 Aug 2007 17:07:56 +0200 Thread-Topic: Emacs 22.1 hung after delete-process Thread-Index: AcfehOP/Lb9ZX4TITIWgROp4XnRGAQ== From: "Maguire, Andrew \(GE Infra, Energy\)" To: Subject: Emacs 22.1 hung after delete-process Using delete-process to kill a subprocess causes Emacs to hang irretrievably if the sub-process does not immediately exit. E.g. Using perl.exe (5.8.6) and controlling the HUP signal: (setq perl-process (start-process "perl" "*perl*" "perl.exe" "-e" "$|=1; print 'starting... '; $SIG{'HUP'} = sub { print 'killed!'; die; }; sleep(20);")) (delete-process perl-process) Windows may popup a process killed dialog, select "End now". Emacs is now completely hung :-( I have only tried this on Windows. Emacs 21.2 does not have this problem. kill-process and quit-process are fine and do not hang Emacs. Thanks, Andrew Ps. Sorry if this email is repeated, I got a bounced return. In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include' 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: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: C/l Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t encoded-kbd-mode: t tooltip-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 unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: identity abbrev-mode: t Recent input: C-s C-w C-s C-s C-s C-s C-s C-s C-s C-w C-w C-w C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s e n d i f C-s C-s C-s C-s C-r C-r C-r C-r C-s C-s C-s C-s C-s C-s C-s C-s C-s C-r C-r C-s M-p C-s C-s C-s C-s C-w C-w C-w C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s Recent messages: Quit Mark saved where search started [4 times] Region 60 in buffer A is empty [2 times] Refining difference region 61 ... Region 60 in buffer A is empty [2 times] To drag modelines or buffers up and down, use the middle button. Mark saved where search started Mark set Mark saved where search started [7 times] Loading emacsbug...done _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message -------