all messages for Emacs-related lists mirrored at yhetil.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 20:41:34 +0300	[thread overview]
Message-ID: <83k3n293qp.fsf@gnu.org> (raw)
In-Reply-To: <51911BA9.7080703@cs.ucla.edu>

> Date: Mon, 13 May 2013 09:58:17 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: spinuvit@gmail.com, 14297@debbugs.gnu.org
> 
> On 05/13/13 08:59, Eli Zaretskii wrote:
> > So I'm not sure this is the same problem.
> 
> I agree.  I brought up the issue because the question
> arose as to how (process-live-p proc) is connected to
> the window toolkit.
> 
> It's conceivable, for example, that a buggy Gtk plugin
> is doing a waitpid (-1, ...), which would mess up
> Emacs greatly (and would also mess up other applications,
> the symptoms observed here).
> 
> Perhaps we should apply something like the following patch,
> to help detect these situations better?

Will calling emacs_abort give us enough information about who's the
culprit?

How about this alternative idea: write a replacement waitpid, which
will check if it is called by someone other than our main thread, and
with its first argument negative, and then produce a backtrace or some
message to stderr?  Would that work to trap calls to waitpid from GTK?





  reply	other threads:[~2013-05-13 17:41 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
2013-05-13 16:58     ` Paul Eggert
2013-05-13 17:41       ` Eli Zaretskii [this message]
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

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

  git send-email \
    --in-reply-to=83k3n293qp.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.