GNU bug report logs - #723
23.0.60; query-on-exit-flag sometimes unexpectedly nil

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Fri, 15 Aug 2008 01:50:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 723 in the body.
You can then email your comments to 723 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#723; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <markus.triska <at> gmx.at>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Markus Triska <markus.triska <at> gmx.at>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; query-on-exit-flag sometimes unexpectedly nil
Date: Fri, 15 Aug 2008 03:41:54 +0200 (CEST)
open.el consists of the form:

   (let ((h "www.fsf.org"))
     (setq p1 (make-network-process :name "p1" :host h :service 80))
     (setq p2 (make-network-process :name "p2" :host h :service 80))
     (setq p3 (make-network-process :name "p3" :host h :service 80))
     (setq t1 (make-network-process :name "t1" :host h :service 80))
     (delete-process t1)
     (setq p4 (make-network-process :name "p4" :host h :service 80))
     (setq p5 (make-network-process :name "p5" :host h :service 80))
     (setq t2 (make-network-process :name "t2" :host h :service 80))
     (delete-process t2)
     (setq p6 (make-network-process :name "p6" :host h :service 80))
     (setq p7 (make-network-process :name "p7" :host h :service 80))
     (setq p8 (make-network-process :name "p8" :host h :service 80))
     (setq p9 (make-network-process :name "p9" :host h :service 80))
     (setq p10 (make-network-process :name "p10" :host h :service 80))
     (list-processes t))

When I do "emacs -Q open.el -f eval-buffer", I expect the "*Process
List*" buffer to show the ten processes p1 to p10. Invariably, several
(varying) processes are missing from the list, and their query-on-exit
flag is nil. M-x list-processes shows all processes as expected.

In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2008-08-08 on pnsgw1-client079.demo.tuwien.ac.at
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
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.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#723; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <markus.triska <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 723 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Markus Triska <markus.triska <at> gmx.at>
To: 723 <at> debbugs.gnu.org
Subject: Re: bug#723: Acknowledgement (23.0.60; query-on-exit-flag sometimes  unexpectedly nil)
Date: Fri, 15 Aug 2008 04:54:42 +0200
Here is a more robust test case:

   (let ((h "www.fsf.org")
         (n 0))
     (while t
       (setq n (1+ n))
       (message "iteration: %s" n)
       (setq p (make-network-process :name "p" :host h :service 80))
       (unless (process-query-on-exit-flag p)
         (error "(process-query-on-exit-flag p) is now nil"))
       (delete-process p)))

In all cases I encountered, p was a perfectly valid process after this
program quit with an error, i.e., I could send and receive messages.




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Markus Triska <markus.triska <at> gmx.at>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #15 received at 723-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: 723-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; query-on-exit-flag sometimes unexpectedly nil
Date: Fri, 15 Aug 2008 16:12:54 -0400
> When I do "emacs -Q open.el -f eval-buffer", I expect the "*Process
> List*" buffer to show the ten processes p1 to p10. Invariably, several
> (varying) processes are missing from the list, and their query-on-exit
> flag is nil. M-x list-processes shows all processes as expected.

I've checked in a fix.  Thanks.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 13 Sep 2008 14:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.