From unknown Tue Jun 17 20:14:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11741 <11741@debbugs.gnu.org> To: bug#11741 <11741@debbugs.gnu.org> Subject: Status: 24.1; Daemon Dies When X Exits Reply-To: bug#11741 <11741@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:14:07 +0000 retitle 11741 24.1; Daemon Dies When X Exits reassign 11741 emacs submitter 11741 woddfellow2 severity 11741 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 19 12:05:43 2012 Received: (at submit) by debbugs.gnu.org; 19 Jun 2012 16:05:43 +0000 Received: from localhost ([127.0.0.1]:48742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sh0w1-0002Ym-FU for submit@debbugs.gnu.org; Tue, 19 Jun 2012 12:05:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43965) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgyJl-0005Ly-IA for submit@debbugs.gnu.org; Tue, 19 Jun 2012 09:18:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgyGP-00038H-CR for submit@debbugs.gnu.org; Tue, 19 Jun 2012 09:14:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyGP-00038B-1k for submit@debbugs.gnu.org; Tue, 19 Jun 2012 09:14:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyGL-0001nE-VQ for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2012 09:14:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgyGE-00035n-Kb for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2012 09:14:29 -0400 Received: from mail-gh0-f169.google.com ([209.85.160.169]:50762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyGE-00035E-CU for bug-gnu-emacs@gnu.org; Tue, 19 Jun 2012 09:14:22 -0400 Received: by ghrr18 with SMTP id r18so5267989ghr.0 for ; Tue, 19 Jun 2012 06:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=O/cagNRC36SHN9T8Zly01jCCYwU08urNJKfTRDd9d9k=; b=uwzD3vqDwK2NuXbufLtE6ZSKdE6UJ/lZPRedGRR26MjkgijSXG74Kwd5PZsMivp5B5 vmRlZu0lDpsqazQHV1NnLpAdqW2f92d5BcGrHxF0upjab8x1Jc6DjG1uKv2uyizIvYcy Mm5VCRZyFHGMxVWiiClCAfQj95I2UMZEnJ6kc4ISbfQzqGakmTpjSLrm+vYoOuBuVw/T KamZS3fMy4090SpzRZDw8ffMBnyEecgJtmGZ5M8yOx5e1yhdG+PqsY67KSveK4NdUkZu 0durzvFtHQ0TvBGvP7YGQ2fVU+uwMssQc/vcBQa1CQ7vmHSqblos3cr5K/JgeQGRCusI w+ag== Received: by 10.60.28.162 with SMTP id c2mr19752175oeh.3.1340111659552; Tue, 19 Jun 2012 06:14:19 -0700 (PDT) Received: from volunteer (h104.232.91.75.dynamic.ip.windstream.net. [75.91.232.104]) by mx.google.com with ESMTPS id c6sm18652325obl.22.2012.06.19.06.14.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jun 2012 06:14:17 -0700 (PDT) From: woddfellow2 To: bug-gnu-emacs@gnu.org Subject: 24.1; Daemon Dies When X Exits Date: Tue, 19 Jun 2012 08:13:49 -0500 Message-ID: <87wr33igvm.fsf@volunteer.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 19 Jun 2012 12:05:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) If I start an Emacs daemon, even outside of X, then open an emacsclient frame in X, then C-x 5 0, then exit X, the daemon dies. This happens even with emacs -Q. This appears to e a regression, as Emacs 23 did not have this problem: Connection lost to X server `:0' When compiled with GTK, Emacs cannot recover from X disconnects. This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 For details, see etc/PROBLEMS. (emacs:21992): GLib-WARNING **: g_main_context_prepare() called recursively from within a source's check() or prepare() member. (emacs:21992): GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member. Fatal error (6)Aborted bt full: #0 0xb7fdd424 in __kernel_vsyscall () No symbol table info available. #1 0xb6ad4596 in kill () from /lib/libc.so.6 No symbol table info available. #2 0x08139678 in abort () No symbol table info available. #3 0x080f8e28 in ?? () No symbol table info available. #4 0x080f906d in ?? () No symbol table info available. #5 0xb74d8fc4 in _XIOError () from /usr/lib/libX11.so.6 No symbol table info available. #6 0xb74d681f in _XEventsQueued () from /usr/lib/libX11.so.6 No symbol table info available. #7 0xb74c73f8 in XPending () from /usr/lib/libX11.so.6 No symbol table info available. #8 0xb7b0c8ae in ?? () from /usr/lib/libgdk-x11-2.0.so.0 No symbol table info available. #9 0xb777f232 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #10 0xb777f96f in ?? () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #11 0xb777fb5f in g_main_context_pending () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #12 0xb7c99c70 in gtk_events_pending () from /usr/lib/libgtk-x11-2.0.so.0 No symbol table info available. #13 0x080f90d5 in ?? () No symbol table info available. #14 0x08141477 in ?? () No symbol table info available. #15 0x081415a2 in ?? () No symbol table info available. #16 0x08140e58 in ?? () No symbol table info available. #17 0x081e7e25 in ?? () No symbol table info available. #18 0x0806277f in ?? () No symbol table info available. #19 0x08145f7c in ?? () No symbol table info available. #20 0x08146c14 in ?? () No symbol table info available. #21 0x08148667 in ?? () No symbol table info available. #22 0x081a9f80 in ?? () No symbol table info available. #23 0x0813d435 in ?? () No symbol table info available. #24 0x081a9eab in ?? () No symbol table info available. #25 0x0813e08a in ?? () No symbol table info available. #26 0x0813e37d in ?? () No symbol table info available. #27 0x08057ea0 in ?? () No symbol table info available. #28 0xb6abf3d5 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #29 0x08058c35 in ?? () No symbol table info available. It said xbacktrace wasn't a command. In GNU Emacs 24.1.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-06-11 on shirley.hoetzel.info Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk' '--with-xft' 'CFLAGS=-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'' 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: erc-services-mode: t erc-networks-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC x r e p o r t - e m a c s - g u b DEL DEL b u g f DEL DEL DEL DEL DEL b u g RET Recent messages: ("emacs") Loading /home/woddf2/.erc/config... Loading /home/woddf2/.erc/pass...done Loading /home/woddf2/.erc/config...done Loading /home/woddf2/.emms-cache...done Loading term/xterm...done goto-history-element: Beginning of history; no preceding item Load-path shadows: ~/.emacs.d/lisp/mediawiki hides /usr/share/emacs/site-lisp/mediawiki /usr/share/emacs/site-lisp/flim/hex-util hides /usr/share/emacs/24.1/lisp/hex-util /usr/share/emacs/site-lisp/flim/md4 hides /usr/share/emacs/24.1/lisp/md4 /usr/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.1/lisp/net/sasl-ntlm /usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/24.1/lisp/net/sasl /usr/share/emacs/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.1/lisp/net/sasl-digest /usr/share/emacs/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.1/lisp/net/hmac-md5 /usr/share/emacs/site-lisp/flim/hmac-def hides /usr/share/emacs/24.1/lisp/net/hmac-def /usr/share/emacs/site-lisp/flim/ntlm hides /usr/share/emacs/24.1/lisp/net/ntlm /usr/share/emacs/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.1/lisp/net/sasl-cram /usr/share/emacs/site-lisp/wl/utf7 hides /usr/share/emacs/24.1/lisp/gnus/utf7 /usr/share/emacs/site-lisp/semi/smime hides /usr/share/emacs/24.1/lisp/gnus/smime /usr/share/emacs/site-lisp/emms/tq hides /usr/share/emacs/24.1/lisp/emacs-lisp/tq /usr/share/emacs/site-lisp/semi/pgg-pgp hides /usr/share/emacs/24.1/lisp/obsolete/pgg-pgp /usr/share/emacs/site-lisp/semi/pgg-pgp5 hides /usr/share/emacs/24.1/lisp/obsolete/pgg-pgp5 /usr/share/emacs/site-lisp/semi/pgg hides /usr/share/emacs/24.1/lisp/obsolete/pgg /usr/share/emacs/site-lisp/semi/pgg-parse hides /usr/share/emacs/24.1/lisp/obsolete/pgg-parse /usr/share/emacs/site-lisp/semi/pgg-gpg hides /usr/share/emacs/24.1/lisp/obsolete/pgg-gpg /usr/share/emacs/site-lisp/semi/pgg-def hides /usr/share/emacs/24.1/lisp/obsolete/pgg-def Features: (shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime mel mime-def alist mcharset mcs-20 mcs-e20 pces pces-e20 pces-20 broken pcustom path-util poe pym static apel-ver product gnus-sum gnus-group gnus-undo gnus-start gnus-spec gnus-win emacsbug sendmail preview-latex tex-site auto-loads weblogger ring xml-rpc timezone url-http url-auth url-gw ratpoison ratpoisonrc-mode generic generic-x fvwm-mode emms-playing-time emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file dired regexp-opt emms-setup emms emms-compat znc erc-services erc-networks erc-goodies erc erc-backend erc-compat thingatpt pp warnings nnrss mm-url nnmail gnus-int gnus-range mail-source message idna format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader nnoo gnus gnus-ems nnheader mail-utils wid-edit epa-file twittering-mode advice help-fns advice-preload epa derived epg epg-config tls url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util time-date password-cache url-vars mm-util mail-prsvr mailcap xml cl nyan-mode easy-mmode w3m-load edmacro kmacro time tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- woddfellow2 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 19 12:21:29 2012 Received: (at 11741) by debbugs.gnu.org; 19 Jun 2012 16:21:29 +0000 Received: from localhost ([127.0.0.1]:48768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sh1BI-0002w9-Q7 for submit@debbugs.gnu.org; Tue, 19 Jun 2012 12:21:29 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:45151) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sh1BF-0002w2-Ri for 11741@debbugs.gnu.org; Tue, 19 Jun 2012 12:21:27 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sh17y-0000HU-2K; Tue, 19 Jun 2012 12:18:02 -0400 From: Glenn Morris To: woddfellow2 Subject: Re: bug#11741: 24.1; Daemon Dies When X Exits References: <87wr33igvm.fsf@volunteer.i-did-not-set--mail-host-address--so-tickle-me> X-Spook: clones MD4 Janet Reno IDEA Adriatic BLU-114/B top secret X-Ran: X(m|OJAfIdpVQ'1kS$1:'YM$<0ZrbMM\,Ca|B2ve}@[d/2K]Ns]yHnARJw(DnrDpQ%V/+> X-Hue: yellow X-Attribution: GM Date: Tue, 19 Jun 2012 12:18:01 -0400 In-Reply-To: <87wr33igvm.fsf@volunteer.i-did-not-set--mail-host-address--so-tickle-me> (woddfellow2@gmail.com's message of "Tue, 19 Jun 2012 08:13:49 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11741 Cc: 11741@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) woddfellow2 wrote: > If I start an Emacs daemon, even outside of X, then open an emacsclient > frame in X, then C-x 5 0, then exit X, the daemon dies. This happens > even with emacs -Q. This appears to e a regression, as Emacs 23 did not > have this problem: > > Connection lost to X server `:0' > When compiled with GTK, Emacs cannot recover from X disconnects. > This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 > For details, see etc/PROBLEMS. The above message seems pretty clear to me. Here's what the etc/PROBLEMS entry says: ** When Emacs is compiled with Gtk+, closing a display kills Emacs. There is a long-standing bug in GTK that prevents it from recovering from disconnects: http://bugzilla.gnome.org/show_bug.cgi?id=85715. Thus, for instance, when Emacs is run as a server on a text terminal, and an X frame is created, and the X server for that frame crashes or exits unexpectedly, Emacs must exit to prevent a GTK error that would result in an endless loop. If you need Emacs to be able to recover from closing displays, compile it with the Lucid toolkit instead of GTK. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 20 13:02:42 2012 Received: (at control) by debbugs.gnu.org; 20 Jun 2012 17:02:42 +0000 Received: from localhost ([127.0.0.1]:50106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShOIk-0001TA-3C for submit@debbugs.gnu.org; Wed, 20 Jun 2012 13:02:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50473) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShOIj-0001T5-Cx for control@debbugs.gnu.org; Wed, 20 Jun 2012 13:02:41 -0400 Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ShOFN-00048S-6E for control@debbugs.gnu.org; Wed, 20 Jun 2012 12:59:13 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 11741 Date: Wed, 20 Jun 2012 12:59:13 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 11741 thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 20 13:15:01 2012 Received: (at control) by debbugs.gnu.org; 20 Jun 2012 17:15:01 +0000 Received: from localhost ([127.0.0.1]:50121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShOUe-0001kw-R4 for submit@debbugs.gnu.org; Wed, 20 Jun 2012 13:15:01 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50814) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShOUc-0001kp-SZ for control@debbugs.gnu.org; Wed, 20 Jun 2012 13:14:59 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ShORG-00055J-4p for control@debbugs.gnu.org; Wed, 20 Jun 2012 13:11:30 -0400 Date: Wed, 20 Jun 2012 13:11:30 -0400 Message-Id: Subject: control message for bug 11741 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) unarchive 8750 merge 8750 11741 From unknown Tue Jun 17 20:14:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 Jul 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 00:06:10 2012 Received: (at control) by debbugs.gnu.org; 23 Jul 2012 04:06:10 +0000 Received: from localhost ([127.0.0.1]:58254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1St9uM-00045q-8a for submit@debbugs.gnu.org; Mon, 23 Jul 2012 00:06:10 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:49992) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1St9uK-00045j-5a for control@debbugs.gnu.org; Mon, 23 Jul 2012 00:06:08 -0400 Received: by vcbfo14 with SMTP id fo14so5948729vcb.3 for ; Sun, 22 Jul 2012 20:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+5MvtlnwYfJ660w5BrCN1bZOcV529z5KsC8fBj94A0o=; b=FzQSaLbezXtKeT8hC2wj4byywXEPDIy2LZDD7sRhWJQl298EC3VwuAdU6GPGGRcZeZ KYxsSuHr+mdpCUtkluJxV9XOIpJmv3gqtmZDxxCTt0UHufmnm/UiSNGJpiMMQ7XtpHXM 5NIeAffgaskdcbUW1iQEd2U0q9R6WE9JzcnWMxZu7Hf+uD4DF1Fk1qsLxV4IbHXMq63x 07Gl3aMxsYN5hbBFpU4Zdmqs0aizXz1d3D3bB+RwGU2P+ftFWezrGhSLm+Ah+q0FGkr/ HPkw4ScS4mGQS2N2CiwHWpu9yzUapcIwsjGVq1evKaGQYwhpE7tT9wkRhiCdFCxXzqKU 5MMw== MIME-Version: 1.0 Received: by 10.52.90.144 with SMTP id bw16mr9722566vdb.129.1343015975923; Sun, 22 Jul 2012 20:59:35 -0700 (PDT) Received: by 10.220.110.138 with HTTP; Sun, 22 Jul 2012 20:59:35 -0700 (PDT) Date: Mon, 23 Jul 2012 00:59:35 -0300 Message-ID: Subject: unarchive 11741 From: Alejandro Benitez To: control@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) unarchive 11741 Hi, Looks like this actually is a regression as the steps to reproduce that described the OP are not the the same as the know problem. 1. I start an Emacs daemon, even outside of X 2. then open an emacsclient frame in X 3. then C-x 5 0 4. then exit X 5. the daemon dies Step 3 means that the frame should be deleted before the X server for that frame would supposedly crash or exit unexpectedly. The actual problem is that the frame is not successfully deleted before exiting X, although it looks like it does. Emacs 23.4.1 does delete the frame successfully, so when I exit the X server I don't get a "there is currently 1 client connected" message that when I get with Emacs 24.1. I was able to reproduce this in Emacs 24.1 i686-pc-cygwin, GTK+. Emacs 23.4.1 i686-pc-cygwin, GTK+ does not die after performing the 4 steps above. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 00:14:55 2012 Received: (at 11741) by debbugs.gnu.org; 23 Jul 2012 04:14:55 +0000 Received: from localhost ([127.0.0.1]:58259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StA2p-0004HO-5K for submit@debbugs.gnu.org; Mon, 23 Jul 2012 00:14:55 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:42881) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StA2n-0004HH-9o for 11741@debbugs.gnu.org; Mon, 23 Jul 2012 00:14:54 -0400 Received: by vcbfo14 with SMTP id fo14so5953433vcb.3 for <11741@debbugs.gnu.org>; Sun, 22 Jul 2012 21:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=sKppW1Qkvj0k6qnSFC4UsaQNWuDL6K0SQqWDCc1HO/8=; b=bEiFcEWkG84tY5c4HRiCD80c7xsw8I9h8Hh3WXX26IycasLncx8H+VNo7HmVJlHqOE Dx9X+LSWBZiyN/6y18uGsPPLmWdPQQbtQj7iOrK3QtSm1cxb3kfm9X5XsAqsuZvXNEEZ viO7ZE7ofJY/2N/0Il1L79C4xl3y5zL+aBDYiBpvPCsjIN718mv4qxayYmxqkxntKHmj +4TMihlu+gK8u0uLpXPVa/EmVLZ71XdjPBZvFARF7HMc0V6NgRWqI1/cz8yRcBA3A119 M7z1wUaOBFZync13LeRETzKBUuBH5m/2lsgdTzZdj9WXvC3liL5NXezfztmB9Q9SG9ze XODA== MIME-Version: 1.0 Received: by 10.220.115.12 with SMTP id g12mr11094135vcq.44.1343016501071; Sun, 22 Jul 2012 21:08:21 -0700 (PDT) Received: by 10.220.110.138 with HTTP; Sun, 22 Jul 2012 21:08:21 -0700 (PDT) Date: Mon, 23 Jul 2012 01:08:21 -0300 Message-ID: Subject: From: Alejandro Benitez To: 11741@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 11741 Cc: Glenn Morris , woddfellow2@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.4 (/) Glenn Morris writes: > woddfellow2 wrote: > >> If I start an Emacs daemon, even outside of X, then open an emacsclient >> frame in X, then C-x 5 0, then exit X, the daemon dies. This happens >> even with emacs -Q. This appears to e a regression, as Emacs 23 did not >> have this problem: >> >> Connection lost to X server `:0' >> When compiled with GTK, Emacs cannot recover from X disconnects. >> This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 >> For details, see etc/PROBLEMS. > > The above message seems pretty clear to me. > > Here's what the etc/PROBLEMS entry says: > > ** When Emacs is compiled with Gtk+, closing a display kills Emacs. > > There is a long-standing bug in GTK that prevents it from recovering > from disconnects: http://bugzilla.gnome.org/show_bug.cgi?id=85715. > > Thus, for instance, when Emacs is run as a server on a text terminal, > and an X frame is created, and the X server for that frame crashes or > exits unexpectedly, Emacs must exit to prevent a GTK error that would > result in an endless loop. > > If you need Emacs to be able to recover from closing displays, compile > it with the Lucid toolkit instead of GTK. Hi, Looks like this actually is a regression as the steps to reproduce that described the OP are not the the same as the know problem. 1. I start an Emacs daemon, even outside of X 2. then open an emacsclient frame in X 3. then C-x 5 0 4. then exit X 5. the daemon dies Step 3 means that the frame should be deleted before the X server for that frame would supposedly crash or exit unexpectedly. The actual problem is that the frame is not successfully deleted before exiting X, although it looks like it does. Emacs 23.4.1 does delete the frame successfully, so when I exit the X server I don't get a "there is currently 1 client connected" message that when I get with Emacs 24.1. I was able to reproduce this in Emacs 24.1 i686-pc-cygwin, GTK+. Emacs 23.4.1 i686-pc-cygwin, GTK+ does not die after performing the 4 steps above. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 03 13:35:57 2012 Received: (at 11741) by debbugs.gnu.org; 3 Aug 2012 17:35:57 +0000 Received: from localhost ([127.0.0.1]:59750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxLn3-0006eo-1r for submit@debbugs.gnu.org; Fri, 03 Aug 2012 13:35:57 -0400 Received: from mail-vb0-f44.google.com ([209.85.212.44]:42013) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxLmz-0006ee-16 for 11741@debbugs.gnu.org; Fri, 03 Aug 2012 13:35:54 -0400 Received: by vbbez10 with SMTP id ez10so1128291vbb.3 for <11741@debbugs.gnu.org>; Fri, 03 Aug 2012 10:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bwmybdBbEP59kTnIZqj7FMcV/bVpFearKjwWyc3+cMw=; b=BisMZVpxucexr3iIuVRwgBUg3imefBQpGk45KqUTacBIfwG7BWgSbH3/mL7LCxrX2i tCCnmHBU9ISsKFv4STmICKPVI+Jip2deHHYoNziX8/CSq72xr1m2zCI3RQSHbHd0FRL1 2pL6jQBwwyOK/YHgj6QnvI8KoFeVvzoq5aqX6jEvy+3dAouHUkpZ2N4KpmrdvNRrCUHg nu7LgZ5Z+0BT47AhlNgKfOabwafhz0X3CXybYoDGh2A4Fe4cRCRE60yg82QXBeA6NV1v dP4nTdmWErUVa/axneyLwuY4OJxzjp6GNaZAg0y093KXSSZ3ijkgkXcMvjeiZl6VxMi0 SHzA== MIME-Version: 1.0 Received: by 10.52.90.130 with SMTP id bw2mr1641071vdb.131.1344014895561; Fri, 03 Aug 2012 10:28:15 -0700 (PDT) Received: by 10.220.110.138 with HTTP; Fri, 3 Aug 2012 10:28:15 -0700 (PDT) Date: Fri, 3 Aug 2012 14:28:15 -0300 Message-ID: Subject: 24.1; Daemon Dies When X Exits From: Alejandro Benitez To: 11741@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11741 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) I'm posting this because the original message did not containt a subject. Glenn Morris writes: > woddfellow2 wrote: > >> If I start an Emacs daemon, even outside of X, then open an emacsclient >> frame in X, then C-x 5 0, then exit X, the daemon dies. This happens >> even with emacs -Q. This appears to e a regression, as Emacs 23 did not >> have this problem: >> >> Connection lost to X server `:0' >> When compiled with GTK, Emacs cannot recover from X disconnects. >> This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 >> For details, see etc/PROBLEMS. > > The above message seems pretty clear to me. > > Here's what the etc/PROBLEMS entry says: > > ** When Emacs is compiled with Gtk+, closing a display kills Emacs. > > There is a long-standing bug in GTK that prevents it from recovering > from disconnects: http://bugzilla.gnome.org/show_bug.cgi?id=85715. > > Thus, for instance, when Emacs is run as a server on a text terminal, > and an X frame is created, and the X server for that frame crashes or > exits unexpectedly, Emacs must exit to prevent a GTK error that would > result in an endless loop. > > If you need Emacs to be able to recover from closing displays, compile > it with the Lucid toolkit instead of GTK. Hi, Looks like this actually is a regression as the steps to reproduce that described the OP are not the the same as the know problem. 1. I start an Emacs daemon, even outside of X 2. then open an emacsclient frame in X 3. then C-x 5 0 4. then exit X 5. the daemon dies Step 3 means that the frame should be deleted before the X server would supposedly crash or exit unexpectedly. The actual problem is that the frame is not successfully deleted before exiting X, although it looks like it does. Emacs 23.4.1 does delete the frame successfully, so when I exit the X server I don't get a "there is currently 1 client connected" message that when I get with Emacs 24.1. I was able to reproduce this in Emacs 24.1 i686-pc-cygwin, GTK+. Emacs 23.4.1 i686-pc-cygwin, GTK+ does not die after performing the 4 steps above. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 19 22:57:36 2012 Received: (at 11741) by debbugs.gnu.org; 20 Aug 2012 02:57:36 +0000 Received: from localhost ([127.0.0.1]:39133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3IBM-0001I3-9n for submit@debbugs.gnu.org; Sun, 19 Aug 2012 22:57:36 -0400 Received: from mail-vb0-f44.google.com ([209.85.212.44]:34153) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3IBJ-0001Hw-Uh for 11741@debbugs.gnu.org; Sun, 19 Aug 2012 22:57:35 -0400 Received: by vbbez10 with SMTP id ez10so6252659vbb.3 for <11741@debbugs.gnu.org>; Sun, 19 Aug 2012 19:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fK1oQHDgi6LdtSThCz70hjCm6dYYlA9LYoBR03WnQA0=; b=QBgNCZ6iIU7l/K3+dKcZe7LU1icJy77Tqy58iCMOW6+8BmBSY/fxkOYr37zLPT/COp LTVsbJjDTgZo3wbbQQOVbCxE35OahC17ujfBawsy75Y2wJy+0F9ypfsjUyeQzHCHxufj Xc1f5nBZouYb68wKeHALW+Qft0dHeJn/GWASlSHMKJlKYnkPVjflA5BstirynapHxG43 Ekh1BGMJVt+mEF9Lx+Cf2Mk3wbEkYSB5CY/nXIMN+RIQcQo2EI/qAxl1DNcRXuSLakp8 jB120MhVH7n0jM7brNZ//Ggg+Qhg9HX9k0axZkEfgRFdZmAz9NEpOi7x60F0zPApNc/F JkEg== MIME-Version: 1.0 Received: by 10.52.70.46 with SMTP id j14mr7556699vdu.42.1345431442649; Sun, 19 Aug 2012 19:57:22 -0700 (PDT) Received: by 10.220.59.134 with HTTP; Sun, 19 Aug 2012 19:57:22 -0700 (PDT) Date: Sun, 19 Aug 2012 23:57:22 -0300 Message-ID: Subject: 24.1; Daemon Dies When X Exits From: Alejandro Benitez To: 11741@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11741 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Looks like this bug is not going to be reopened, but I'd like to leave things clear just in case: The long-standing bug in GTK+ that prevents Emacs from recovering from X disconnects http://bugzilla.gnome.org/show_bug.cgi?id=85715 used *not* to get triggered by the following use case scenario in Emacs 23.4 (GTK+ version): 1. Start an Emacs daemon, even outside of X 2. then open an emacsclient frame in X 3. then C-x 5 0 4. then exit X But in Emacs version 24.1 the daemon started to crash in the above use case, due to the GTK+ bug. What I would like to stress is: The GTK+ bug used *not* to get triggered if you were careful to follow the 4 steps above, until version 24.1. The last Emacs (GTK+ version) that I was able to use the daemon was GNU Emacs 23.4.1 (i686-pc-cygwin, GTK+ Version 2.24.10) of 2012-05-16. From unknown Tue Jun 17 20:14:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 17 Sep 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator