[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14474: 24.3.50; Zombie subprocesses (again)

From: Paul Eggert
Subject: bug#14474: 24.3.50; Zombie subprocesses (again)
Date: Tue, 28 May 2013 09:56:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

In <http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00628.html>
something like the following milder workaround was suggested instead.
Michael, does this patch work around the bug for your test case?

=== modified file 'src/xterm.c'
--- src/xterm.c 2013-05-09 14:49:56 +0000
+++ src/xterm.c 2013-05-28 16:34:44 +0000
@@ -9897,6 +9897,13 @@ x_term_init (Lisp_Object display_name, c
         XSetLocaleModifiers ("");
+       /* If D-Bus is not already configured, inhibit D-Bus autolaunch,
+          as autolaunch can mess up Emacs's SIGCHLD handler.
+          FIXME: Rewrite subprocess handlers to use glib's child watchers.
+          See Bug#14474.  */
+       if (! egetenv ("DBUS_SESSION_BUS_ADDRESS"))
+         xputenv ("DBUS_SESSION_BUS_ADDRESS=");
         /* Emacs can only handle core input events, so make sure
            Gtk doesn't use Xinput or Xinput2 extensions.  */
        xputenv ("GDK_CORE_DEVICE_EVENTS=1");

reply via email to

[Prev in Thread] Current Thread [Next in Thread]