unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: spinuvit@gmail.com, 14297@debbugs.gnu.org
Subject: bug#14297: 24.3.50; emacs subprocesses don't exit on "exit"
Date: Mon, 13 May 2013 18:59:35 +0300	[thread overview]
Message-ID: <8338tqan14.fsf@gnu.org> (raw)
In-Reply-To: <51906E5F.3070905@cs.ucla.edu>

> Date: Sun, 12 May 2013 21:38:55 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> Cc: 14297@debbugs.gnu.org
> 
> > It's pretty non intuitive, how failure of
> > (process-live-p proc) is connected to window toolkit?
> 
> The problem is that Gtk creates subprocesses in its own thread,
> and the Emacs main thread (until recently) mistakenly reaped these
> subprocesses with waitpid (-1, ...).  See:
> 
> https://bugzilla.gnome.org/show_bug.cgi?id=687075#c2
> http://bugs.gnu.org/8855
> http://bugs.gnu.org/9627
> http://bugs.gnu.org/12980
> 
> Fixing this Emacs bug required changing how Emacs waited for children;
> it no longer does a waitpid (-1, ...), but always does a waitpid
> for children that it knows about.
> 
> Given the discussion in
> <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1142213>
> it appears that the bug is in something other than Emacs proper,
> and affects other programs.

My reading of that discussion is that the problems were observed in
Emacs 23, but not in "emacs-snapshot" (which probably means the trunk,
since that was written 2 weeks ago).  By contrast, Vitalie here says
the opposite: that the problem exists on the trunk, but not on the
emacs-24 branch.

So I'm not sure this is the same problem.





  reply	other threads:[~2013-05-13 15:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-28 12:19 bug#14297: 24.3.50; emacs subprocesses don't exit on "exit" Vitalie Spinu
2013-04-28 17:26 ` Glenn Morris
2013-04-28 18:30   ` Vitalie Spinu
2013-04-29  0:28     ` Glenn Morris
2013-04-29  0:34 ` Glenn Morris
2013-04-29 12:39   ` Vitalie Spinu
2013-04-29 15:49     ` Glenn Morris
2013-04-29 18:30       ` Glenn Morris
2013-04-29 18:41         ` Vitalie Spinu
2013-04-29 18:53           ` Glenn Morris
2013-04-29 19:10             ` Glenn Morris
2013-04-29 22:36               ` Vitalie Spinu
2013-04-29 23:42                 ` Glenn Morris
2013-05-13  4:38 ` Paul Eggert
2013-05-13 15:59   ` Eli Zaretskii [this message]
2013-05-13 16:58     ` Paul Eggert
2013-05-13 17:41       ` Eli Zaretskii
2013-05-13 18:34         ` Paul Eggert
2015-12-25 23:45           ` Lars Ingebrigtsen
2015-12-26  0:19             ` Vitalie Spinu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8338tqan14.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14297@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=spinuvit@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).