From unknown Tue Aug 19 01:58:32 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#9895 <9895@debbugs.gnu.org> To: bug#9895 <9895@debbugs.gnu.org> Subject: Status: 24.0.90; Daemon crashes when client frame is closed Reply-To: bug#9895 <9895@debbugs.gnu.org> Date: Tue, 19 Aug 2025 08:58:32 +0000 retitle 9895 24.0.90; Daemon crashes when client frame is closed reassign 9895 emacs submitter 9895 Wolodja Wentland severity 9895 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 12:06:31 2011 Received: (at submit) by debbugs.gnu.org; 28 Oct 2011 16:06:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RJowv-0004AQ-IL for submit@debbugs.gnu.org; Fri, 28 Oct 2011 12:06:30 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RJnjI-0002PA-Kr for submit@debbugs.gnu.org; Fri, 28 Oct 2011 10:48:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJnhP-0008GG-OZ for submit@debbugs.gnu.org; Fri, 28 Oct 2011 10:46:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:33648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJnhP-0008GC-Mw for submit@debbugs.gnu.org; Fri, 28 Oct 2011 10:46:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]:54722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJnhN-0005dK-Na for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 10:46:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJnhK-0008FN-I2 for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 10:46:21 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:33092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJnhJ-0008Ep-MM for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 10:46:18 -0400 Received: by wwf27 with SMTP id 27so4538567wwf.30 for ; Fri, 28 Oct 2011 07:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; bh=rvYXcAwOrR3Qs/DxEJbPNIQ/+nry/VFTPfpScH/m1WI=; b=w4E1a07djtGi4TXHdN2EWCQm1Umrl0KR9T+9awnWCaRAVz+O5ML5SSrDNgUdGmrfG8 IojI0ABlJYwKpN5aZn8vPuDqRWXuKGxkLBDP7slezJXf3EA19L07QU38izkM4zT2DYDh Aavt9amekgcA7W7JPvSbBIZG81ujXu8jddk9U= Received: by 10.216.14.145 with SMTP id d17mr125410wed.85.1319813176549; Fri, 28 Oct 2011 07:46:16 -0700 (PDT) Received: from asasello.local (dhcp-91-065.inf.ed.ac.uk. [129.215.91.65]) by mx.google.com with ESMTPS id b5sm15969845wbh.4.2011.10.28.07.46.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Oct 2011 07:46:13 -0700 (PDT) Received: from babilen by asasello.local with local (Exim 4.77) (envelope-from ) id 1RJnhC-0001rR-SK for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 15:46:10 +0100 From: Wolodja Wentland To: bug-gnu-emacs@gnu.org Subject: 24.0.90; Daemon crashes when client frame is closed Date: Fri, 28 Oct 2011 15:45:50 +0100 Message-ID: <87zkgldvj5.fsf@asasello.local.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: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 28 Oct 2011 12:06:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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 (-----) Hi all, the emacs daemon crashes every time I am closing a client frame. The behaviour can be consistently reproduced with the following steps: 1. emacs --daemon 2. emacsclient -c 3. C-x 5 0 (in the client frame) Emacs is running on a fully upgraded Debian sid system and was installed from http://emacs.naquadah.org/ The daemon does *not* crash if I use "emacsclient -t" which is, however, not really surprising given that the crash seems to be related to GTK (see below). System Information ================== Package emacs-snapshot: i A 1:20111026-1 Package emacs-snapshot-bin-common: i A 1:20111026-1 Package emacs-snapshot-common: i A 1:20111026-1 Package emacs-snapshot-dbg: i 1:20111026-1 babilen@asasello: ~ $ aptitude versions ~i~nlibgtk Package libgtk-3-0: i A 3.0.12-2 Package libgtk-3-0-dbg: i 3.0.12-2 Package libgtk-3-bin: i A 3.0.12-2 Package libgtk-3-common: i A 3.0.12-2 Package libgtk-vnc-1.0-0: i 0.4.3-6+b1 Package libgtk-vnc-2.0-0: i A 0.4.3-6+b1 Package libgtk2-perl: i A 2:1.223-1+b1 Package libgtk2.0-0: i A 2.24.7-1 Package libgtk2.0-bin: i A 2.24.7-1 Package libgtk2.0-common: i A 2.24.7-1 Package libgtkglext1: id 1.2.0-2 Package libgtkhtml3.14-19: i A 3.32.2-2 Package libgtkmm-2.4-1c2a: i A 1:2.24.2-1 Package libgtkmm-3.0-1: i A 3.0.1-1 Package libgtkspell0: i A 2.0.16-1 gdb session =========== Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1 Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2 0x00007f2864e3de43 in select () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) source /home/babilen/src/extern/emacs/src/.gdbinit Warning: /home/babilen/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0 TERM = rxvt-unicode-256color Breakpoint 1 at 0x505440: file emacs.c, line 385. Temporary breakpoint 2 at 0x5209b0: file sysdep.c, line 855. (gdb) continue Continuing. [New Thread 0x7f285e769700 (LWP 6894)] [New Thread 0x7f285df68700 (LWP 6895)] Program received signal SIGSEGV, Segmentation fault. _gdk_x11_display_make_default (display=0x0) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1864 1864 /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c: No such file or directory. in /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c (gdb) bt #0 _gdk_x11_display_make_default (display=0x0) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1864 #1 0x00007f286a22784d in gdk_display_manager_set_default_display (manager=0x1c3d200, display=) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplaymanager.c:323 #2 0x00007f286a244c97 in gdk_x11_display_dispose (object=) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1695 #3 0x00007f28692e7280 in g_object_run_dispose (object=0x1ac9000) at /build/buildd-glib2.0_2.28.8-1-amd64-O6EeLn/glib2.0-2.28.8/./gobject/gobject.c:945 #4 0x00007f286a2251aa in gdk_display_close (display=0x1ac9000) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplay.c:269 #5 0x00000000004c0595 in x_delete_terminal (terminal=) at xterm.c:10611 #6 0x00000000004b3812 in Fdelete_terminal (terminal=30318725, force=) at terminal.c:345 #7 0x000000000042615e in delete_frame (frame=31282853, force=) at frame.c:1368 #8 0x000000000057d1ec in Ffuncall (nargs=, args=0x7fff223ebfb0) at eval.c:2977 #9 0x000000000057933c in Fcall_interactively (function=12078818, record_flag=12036610, keys=12082933) at callint.c:859 #10 0x000000000057d1d9 in Ffuncall (nargs=, args=0x7fff223ec1d0) at eval.c:2981 #11 0x000000000057d444 in call3 (fn=, arg1=, arg2=, arg3=) at eval.c:2774 #12 0x0000000000515ecc in command_loop_1 () at keyboard.c:1570 #13 0x000000000057b346 in internal_condition_case (bfun=0x515b30 , handlers=12088802, hfun=0x50a9b0 ) at eval.c:1499 #14 0x0000000000508e8e in command_loop_2 (ignore=) at keyboard.c:1158 #15 0x000000000057b228 in internal_catch (tag=Cannot access memory at address 0xffffffffffffffe0 ) at eval.c:1256 #16 0x000000000050a487 in command_loop () at keyboard.c:1137 #17 recursive_edit_1 () at keyboard.c:757 #18 0x000000000050a7bc in Frecursive_edit () at keyboard.c:821 #19 0x000000000041756d in main (argc=2, argv=) at emacs.c:1706 Lisp Backtrace: "delete-frame" (0x223ebfb8) "call-interactively" (0x223ec1d8) (gdb) bt full #0 _gdk_x11_display_make_default (display=0x0) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1864 display_x11 = 0x0 startup_id = #1 0x00007f286a22784d in gdk_display_manager_set_default_display (manager=0x1c3d200, display=) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplaymanager.c:323 No locals. #2 0x00007f286a244c97 in gdk_x11_display_dispose (object=) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1695 display = 0x1ac9000 display_x11 = 0x1ac9000 i = #3 0x00007f28692e7280 in g_object_run_dispose (object=0x1ac9000) at /build/buildd-glib2.0_2.28.8-1-amd64-O6EeLn/glib2.0-2.28.8/./gobject/gobject.c:945 __PRETTY_FUNCTION__ = "g_object_run_dispose" #4 0x00007f286a2251aa in gdk_display_close (display=0x1ac9000) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplay.c:269 __PRETTY_FUNCTION__ = "gdk_display_close" #5 0x00000000004c0595 in x_delete_terminal (terminal=) at xterm.c:10611 dpyinfo = 0x1cf6200 #6 0x00000000004b3812 in Fdelete_terminal (terminal=30318725, force=) at terminal.c:345 t = 0x1cea080 #7 0x000000000042615e in delete_frame (frame=31282853, force=) at frame.c:1368 tmp = terminal = f = 0x1dd56a0 sf = kb = 0x0 minibuffer_selected = 0 tooltip_frame = 0 #8 0x000000000057d1ec in Ffuncall (nargs=, args=0x7fff223ebfb0) at eval.c:2977 fun = original_fun = funcar = numargs = lisp_numargs = val = backtrace = { next = 0x7fff223ec160, function = 0x7fff223ebfb0, args = 0x7fff223ebfb8, nargs = 0, debug_on_exit = 0 } internal_args = 0x7fff223ebed0 i = #9 0x000000000057933c in Fcall_interactively (function=12078818, record_flag=12036610, keys=12082933) at callint.c:859 val = args = 0x7fff223ebfb0 visargs = specs = filter_specs = teml = up_event = 12036610 enable = 12036610 speccount = next_event = prefix_arg = 12036610 string = ---Type to continue, or q to quit--- tem = varies = 0x7fff223ebf80 "" i = nargs = foo = prompt1 = '\000' , " ", '\000' tem1 = arg_from_tty = key_count = 3 record_then_fail = 0 save_this_command = 12078818 save_last_command = 12036610 save_this_original_command = 12078818 save_real_this_command = 12078818 #10 0x000000000057d1d9 in Ffuncall (nargs=, args=0x7fff223ec1d0) at eval.c:2981 fun = original_fun = funcar = numargs = lisp_numargs = val = backtrace = { next = 0x0, function = 0x7fff223ec1d0, args = 0x7fff223ec1d8, nargs = 3, debug_on_exit = 0 } internal_args = 0x7fff223ec1d8 i = #11 0x000000000057d444 in call3 (fn=, arg1=, arg2=, arg3=) at eval.c:2774 ret_ungc_val = 17508464 args = {12176834, 12078818, 12036610, 12036610} #12 0x0000000000515ecc in command_loop_1 () at keyboard.c:1570 scount = 2 cmd = keybuf = {96, 212, 192, 4611686018427389952, 4294967295, 140733767928416, 140733767926576, 5751638, 139811467242592, 4243442, 139811467265680, 4202240, 0, 139811566908712, 139811566977024, 4242649, 139811467294720, 4218128, 4294967296, 4294968258, 276967387, 139811567138080, 0, 12036610, 64, 12287590, 140733767928136, 4611686018427518976, 12036610, 5682290} i = prev_modiff = 10 prev_buffer = 0xb81790 #13 0x000000000057b346 in internal_condition_case (bfun=0x515b30 , handlers=12088802, hfun=0x50a9b0 ) at eval.c:1499 val = c = { tag = 12036610, val = 12036610, next = 0x7fff223ec4f0, gcpro = 0x0, jmp = {{ __jmpbuf = {12405840, 5089163193149408236, 12036610, 140733767928136, 4294967295, 140733767928416, -5089608594659621908, 5089163374265091052}, __mask_was_saved = 0, __saved_mask = { __val = {139811566977024, 0, 4294967295, 0, 1, 8641424, 0, 4294967295, 140733767928416, 0, 139811564959554, 1, 0, 0, 139811467265680, 0} } }}, ---Type to continue, or q to quit--- backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 12088802, var = 12036610, chosen_clause = 12036610, tag = 0x7fff223ec380, next = 0x0 } #14 0x0000000000508e8e in command_loop_2 (ignore=) at keyboard.c:1158 val = 17508464 #15 0x000000000057b228 in internal_catch (tag=Cannot access memory at address 0xffffffffffffffe0 ) at eval.c:1256 c = { tag = 12084594, val = 12036610, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {12405840, 5089163193149408236, 12036610, 140733767928136, 4294967295, 140733767928416, -5089608594575735828, 5089163374159709164}, __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 0, 0, 0, 352, 6042473, 15195128, 140733767927336, 344, 140733767927328, 6329507, 12036610, 12262562, 5761670, 14} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #16 0x000000000050a487 in command_loop () at keyboard.c:1137 No locals. #17 recursive_edit_1 () at keyboard.c:757 count = 1 val = 12036610 #18 0x000000000050a7bc in Frecursive_edit () at keyboard.c:821 count = 0 buffer = 12036610 #19 0x000000000041756d in main (argc=2, argv=) at emacs.c:1706 dummy = 2284271 stack_bottom_variable = 0 '\000' do_initial_setlocale = skip_args = 1 rlim = { rlim_cur = 8720000, rlim_max = 18446744073709551615 } ---Type to continue, or q to quit--- no_loadup = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x913b3
Lisp Backtrace: "delete-frame" (0x223ebfb8) "call-interactively" (0x223ec1d8) (gdb) xbacktrace "delete-frame" (0x223ebfb8) "call-interactively" (0x223ec1d8) (gdb) --- snip --- In GNU Emacs 24.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 3.0.12) of 2011-10-26 on zelenka, modified by Debian (emacs-snapshot package, version 1:20111026-1) Windowing system distributor `The X.Org Foundation', version 11.0.11101901 configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.90/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=/usr/lib/x86_64-linux-gnu/' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'' 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_GB.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: ido-everywhere: t evil-mode: t evil-local-mode: t global-undo-tree-mode: t undo-tree-mode: t show-paren-mode: t global-hl-line-mode: t global-linum-mode: t linum-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-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: M-x r e p o r Recent messages: Loading /etc/emacs/site-start.d/50dpkg-dev-el.el (source)...done Loading /etc/emacs/site-start.d/50elserv.el (source)...done Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done Loading /etc/emacs/site-start.d/50flim.el (source)...done Loading /etc/emacs/site-start.d/50lbdb.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /etc/emacs/site-start.d/51debian-el.el (source)...done Loading /home/babilen/.emacs.d/plugins/color-theme-molokai.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: -- Wolodja 4096R/CAF14EFC 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 14:34:53 2011 Received: (at 9895) by debbugs.gnu.org; 28 Oct 2011 18:34:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RJrGW-0007bR-Or for submit@debbugs.gnu.org; Fri, 28 Oct 2011 14:34:53 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RJrGT-0007bJ-1w for 9895@debbugs.gnu.org; Fri, 28 Oct 2011 14:34:51 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RJrEb-0000Bf-6h; Fri, 28 Oct 2011 14:32:53 -0400 From: Dan Nicolaescu To: Wolodja Wentland Subject: Re: bug#9895: 24.0.90; Daemon crashes when client frame is closed References: <87zkgldvj5.fsf@asasello.local.i-did-not-set--mail-host-address--so-tickle-me> X-Debbugs-No-Ack: yes Date: Fri, 28 Oct 2011 14:32:53 -0400 In-Reply-To: <87zkgldvj5.fsf@asasello.local.i-did-not-set--mail-host-address--so-tickle-me> (Wolodja Wentland's message of "Fri, 28 Oct 2011 15:45:50 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 9895 Cc: 9895@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.5 (------) Wolodja Wentland writes: > Hi all, > > the emacs daemon crashes every time I am closing a client frame. The > behaviour can be consistently reproduced with the following steps: > > 1. emacs --daemon When you do this, do you get a warning like: Warning: due to a long standing Gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=85715 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. If yes, then you quite likely hit the Gtk+ bug mentioned above. > 2. emacsclient -c > 3. C-x 5 0 (in the client frame) > > Emacs is running on a fully upgraded Debian sid system and was installed > from http://emacs.naquadah.org/ > > The daemon does *not* crash if I use "emacsclient -t" which is, however, > not really surprising given that the crash seems to be related to GTK > (see below). > > System Information > ================== > Package emacs-snapshot: i A 1:20111026-1 > Package emacs-snapshot-bin-common: i A 1:20111026-1 > Package emacs-snapshot-common: i A 1:20111026-1 > Package emacs-snapshot-dbg: i 1:20111026-1 > > babilen@asasello: ~ $ aptitude versions ~i~nlibgtk > Package libgtk-3-0: i A 3.0.12-2 > Package libgtk-3-0-dbg: i 3.0.12-2 > Package libgtk-3-bin: i A 3.0.12-2 > Package libgtk-3-common: i A 3.0.12-2 > Package libgtk-vnc-1.0-0: i 0.4.3-6+b1 > Package libgtk-vnc-2.0-0: i A 0.4.3-6+b1 > Package libgtk2-perl: i A 2:1.223-1+b1 > Package libgtk2.0-0: i A 2.24.7-1 > Package libgtk2.0-bin: i A 2.24.7-1 > Package libgtk2.0-common: i A 2.24.7-1 > Package libgtkglext1: id 1.2.0-2 > Package libgtkhtml3.14-19: i A 3.32.2-2 > Package libgtkmm-2.4-1c2a: i A 1:2.24.2-1 > Package libgtkmm-3.0-1: i A 3.0.1-1 > Package libgtkspell0: i A 2.0.16-1 > > gdb session > =========== > Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...(no debugging symbols found)...done. > Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1 > Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2 > 0x00007f2864e3de43 in select () from /lib/x86_64-linux-gnu/libc.so.6 > (gdb) source /home/babilen/src/extern/emacs/src/.gdbinit > Warning: /home/babilen/../lwlib: No such file or directory. > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from terminal] > DISPLAY = :0 > TERM = rxvt-unicode-256color > Breakpoint 1 at 0x505440: file emacs.c, line 385. > Temporary breakpoint 2 at 0x5209b0: file sysdep.c, line 855. > (gdb) continue > Continuing. > [New Thread 0x7f285e769700 (LWP 6894)] > [New Thread 0x7f285df68700 (LWP 6895)] > > Program received signal SIGSEGV, Segmentation fault. > _gdk_x11_display_make_default (display=0x0) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1864 > 1864 /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c: No such file or directory. > in /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c > (gdb) bt > #0 _gdk_x11_display_make_default (display=0x0) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1864 > #1 0x00007f286a22784d in gdk_display_manager_set_default_display (manager=0x1c3d200, display=) > at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplaymanager.c:323 > #2 0x00007f286a244c97 in gdk_x11_display_dispose (object=) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1695 > #3 0x00007f28692e7280 in g_object_run_dispose (object=0x1ac9000) at /build/buildd-glib2.0_2.28.8-1-amd64-O6EeLn/glib2.0-2.28.8/./gobject/gobject.c:945 > #4 0x00007f286a2251aa in gdk_display_close (display=0x1ac9000) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplay.c:269 > #5 0x00000000004c0595 in x_delete_terminal (terminal=) at xterm.c:10611 > #6 0x00000000004b3812 in Fdelete_terminal (terminal=30318725, force=) at terminal.c:345 > #7 0x000000000042615e in delete_frame (frame=31282853, force=) at frame.c:1368 > #8 0x000000000057d1ec in Ffuncall (nargs=, args=0x7fff223ebfb0) at eval.c:2977 > #9 0x000000000057933c in Fcall_interactively (function=12078818, record_flag=12036610, keys=12082933) at callint.c:859 > #10 0x000000000057d1d9 in Ffuncall (nargs=, args=0x7fff223ec1d0) at eval.c:2981 > #11 0x000000000057d444 in call3 (fn=, arg1=, arg2=, arg3=) at eval.c:2774 > #12 0x0000000000515ecc in command_loop_1 () at keyboard.c:1570 > #13 0x000000000057b346 in internal_condition_case (bfun=0x515b30 , handlers=12088802, hfun=0x50a9b0 ) at eval.c:1499 > #14 0x0000000000508e8e in command_loop_2 (ignore=) at keyboard.c:1158 > #15 0x000000000057b228 in internal_catch (tag=Cannot access memory at address 0xffffffffffffffe0 > ) at eval.c:1256 > #16 0x000000000050a487 in command_loop () at keyboard.c:1137 > #17 recursive_edit_1 () at keyboard.c:757 > #18 0x000000000050a7bc in Frecursive_edit () at keyboard.c:821 > #19 0x000000000041756d in main (argc=2, argv=) at emacs.c:1706 > > Lisp Backtrace: > "delete-frame" (0x223ebfb8) > "call-interactively" (0x223ec1d8) > (gdb) bt full > #0 _gdk_x11_display_make_default (display=0x0) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1864 > display_x11 = 0x0 > startup_id = > #1 0x00007f286a22784d in gdk_display_manager_set_default_display (manager=0x1c3d200, display=) > at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplaymanager.c:323 > No locals. > #2 0x00007f286a244c97 in gdk_x11_display_dispose (object=) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/x11/gdkdisplay-x11.c:1695 > display = 0x1ac9000 > display_x11 = 0x1ac9000 > i = > #3 0x00007f28692e7280 in g_object_run_dispose (object=0x1ac9000) at /build/buildd-glib2.0_2.28.8-1-amd64-O6EeLn/glib2.0-2.28.8/./gobject/gobject.c:945 > __PRETTY_FUNCTION__ = "g_object_run_dispose" > #4 0x00007f286a2251aa in gdk_display_close (display=0x1ac9000) at /build/buildd-gtk+3.0_3.0.12-2-amd64-rEYsqr/gtk+3.0-3.0.12/./gdk/gdkdisplay.c:269 > __PRETTY_FUNCTION__ = "gdk_display_close" > #5 0x00000000004c0595 in x_delete_terminal (terminal=) at xterm.c:10611 > dpyinfo = 0x1cf6200 > #6 0x00000000004b3812 in Fdelete_terminal (terminal=30318725, force=) at terminal.c:345 > t = 0x1cea080 > #7 0x000000000042615e in delete_frame (frame=31282853, force=) at frame.c:1368 > tmp = > terminal = > f = 0x1dd56a0 > sf = > kb = 0x0 > minibuffer_selected = 0 > tooltip_frame = 0 > #8 0x000000000057d1ec in Ffuncall (nargs=, args=0x7fff223ebfb0) at eval.c:2977 > fun = > original_fun = > funcar = > numargs = > lisp_numargs = > val = > backtrace = { > next = 0x7fff223ec160, > function = 0x7fff223ebfb0, > args = 0x7fff223ebfb8, > nargs = 0, > debug_on_exit = 0 > } > internal_args = 0x7fff223ebed0 > i = > #9 0x000000000057933c in Fcall_interactively (function=12078818, record_flag=12036610, keys=12082933) at callint.c:859 > val = > args = 0x7fff223ebfb0 > visargs = > specs = > filter_specs = > teml = > up_event = 12036610 > enable = 12036610 > speccount = > next_event = > prefix_arg = 12036610 > string = > ---Type to continue, or q to quit--- > tem = > varies = 0x7fff223ebf80 "" > i = > nargs = > foo = > prompt1 = '\000' , " ", '\000' > tem1 = > arg_from_tty = > key_count = 3 > record_then_fail = 0 > save_this_command = 12078818 > save_last_command = 12036610 > save_this_original_command = 12078818 > save_real_this_command = 12078818 > #10 0x000000000057d1d9 in Ffuncall (nargs=, args=0x7fff223ec1d0) at eval.c:2981 > fun = > original_fun = > funcar = > numargs = > lisp_numargs = > val = > backtrace = { > next = 0x0, > function = 0x7fff223ec1d0, > args = 0x7fff223ec1d8, > nargs = 3, > debug_on_exit = 0 > } > internal_args = 0x7fff223ec1d8 > i = > #11 0x000000000057d444 in call3 (fn=, arg1=, arg2=, arg3=) at eval.c:2774 > ret_ungc_val = 17508464 > args = {12176834, 12078818, 12036610, 12036610} > #12 0x0000000000515ecc in command_loop_1 () at keyboard.c:1570 > scount = 2 > cmd = > keybuf = {96, 212, 192, 4611686018427389952, 4294967295, 140733767928416, 140733767926576, 5751638, 139811467242592, 4243442, 139811467265680, 4202240, 0, 139811566908712, 139811566977024, > 4242649, 139811467294720, 4218128, 4294967296, 4294968258, 276967387, 139811567138080, 0, 12036610, 64, 12287590, 140733767928136, 4611686018427518976, 12036610, 5682290} > i = > prev_modiff = 10 > prev_buffer = 0xb81790 > #13 0x000000000057b346 in internal_condition_case (bfun=0x515b30 , handlers=12088802, hfun=0x50a9b0 ) at eval.c:1499 > val = > c = { > tag = 12036610, > val = 12036610, > next = 0x7fff223ec4f0, > gcpro = 0x0, > jmp = {{ > __jmpbuf = {12405840, 5089163193149408236, 12036610, 140733767928136, 4294967295, 140733767928416, -5089608594659621908, 5089163374265091052}, > __mask_was_saved = 0, > __saved_mask = { > __val = {139811566977024, 0, 4294967295, 0, 1, 8641424, 0, 4294967295, 140733767928416, 0, 139811564959554, 1, 0, 0, 139811467265680, 0} > } > }}, > ---Type to continue, or q to quit--- > backlist = 0x0, > handlerlist = 0x0, > lisp_eval_depth = 0, > pdlcount = 2, > poll_suppress_count = 1, > interrupt_input_blocked = 0, > byte_stack = 0x0 > } > h = { > handler = 12088802, > var = 12036610, > chosen_clause = 12036610, > tag = 0x7fff223ec380, > next = 0x0 > } > #14 0x0000000000508e8e in command_loop_2 (ignore=) at keyboard.c:1158 > val = 17508464 > #15 0x000000000057b228 in internal_catch (tag=Cannot access memory at address 0xffffffffffffffe0 > ) at eval.c:1256 > c = { > tag = 12084594, > val = 12036610, > next = 0x0, > gcpro = 0x0, > jmp = {{ > __jmpbuf = {12405840, 5089163193149408236, 12036610, 140733767928136, 4294967295, 140733767928416, -5089608594575735828, 5089163374159709164}, > __mask_was_saved = 0, > __saved_mask = { > __val = {0, 0, 0, 0, 0, 352, 6042473, 15195128, 140733767927336, 344, 140733767927328, 6329507, 12036610, 12262562, 5761670, 14} > } > }}, > backlist = 0x0, > handlerlist = 0x0, > lisp_eval_depth = 0, > pdlcount = 2, > poll_suppress_count = 1, > interrupt_input_blocked = 0, > byte_stack = 0x0 > } > #16 0x000000000050a487 in command_loop () at keyboard.c:1137 > No locals. > #17 recursive_edit_1 () at keyboard.c:757 > count = 1 > val = 12036610 > #18 0x000000000050a7bc in Frecursive_edit () at keyboard.c:821 > count = 0 > buffer = 12036610 > #19 0x000000000041756d in main (argc=2, argv=) at emacs.c:1706 > dummy = 2284271 > stack_bottom_variable = 0 '\000' > do_initial_setlocale = > skip_args = 1 > rlim = { > rlim_cur = 8720000, > rlim_max = 18446744073709551615 > } > ---Type to continue, or q to quit--- > no_loadup = 0 > junk = 0x0 > dname_arg = 0x0 > ch_to_dir = 0x913b3
> > Lisp Backtrace: > "delete-frame" (0x223ebfb8) > "call-interactively" (0x223ec1d8) > (gdb) xbacktrace > "delete-frame" (0x223ebfb8) > "call-interactively" (0x223ec1d8) > (gdb) > > --- snip --- > > In GNU Emacs 24.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 3.0.12) > of 2011-10-26 on zelenka, modified by Debian > (emacs-snapshot package, version 1:20111026-1) > Windowing system distributor `The X.Org Foundation', version 11.0.11101901 > configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.90/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=/usr/lib/x86_64-linux-gnu/' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'' > > 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_GB.utf8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: Lisp Interaction > > Minor modes in effect: > ido-everywhere: t > evil-mode: t > evil-local-mode: t > global-undo-tree-mode: t > undo-tree-mode: t > show-paren-mode: t > global-hl-line-mode: t > global-linum-mode: t > linum-mode: t > tooltip-mode: t > mouse-wheel-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-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: > M-x r e p o r > > Recent messages: > Loading /etc/emacs/site-start.d/50dpkg-dev-el.el (source)...done > Loading /etc/emacs/site-start.d/50elserv.el (source)...done > Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done > Loading /etc/emacs/site-start.d/50flim.el (source)...done > Loading /etc/emacs/site-start.d/50lbdb.el (source)...done > Loading /etc/emacs/site-start.d/50psvn.el (source)...done > Loading /etc/emacs/site-start.d/51debian-el.el (source)...done > Loading /home/babilen/.emacs.d/plugins/color-theme-molokai.el (source)...done > For information about GNU Emacs and the GNU system, type C-h C-a. > Making completion list... > > Load-path shadows: > > -- > Wolodja > > 4096R/CAF14EFC > 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 31 07:48:58 2011 Received: (at 9895) by debbugs.gnu.org; 31 Oct 2011 11:48:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKqMM-0001j4-7X for submit@debbugs.gnu.org; Mon, 31 Oct 2011 07:48:58 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKqMI-0001iw-LT for 9895@debbugs.gnu.org; Mon, 31 Oct 2011 07:48:56 -0400 Received: by wyg30 with SMTP id 30so903904wyg.3 for <9895@debbugs.gnu.org>; Mon, 31 Oct 2011 04:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=+p0Z3bcmjNlW18ZvLcVZYym6BFOrJvGUHGdAVdsjc/4=; b=iG4Uxnk3rfYhoea4YZg6od+JGt/ZZ1C7Tuz7J4zmOjz2rSOnIlYqObNlreygah4Iz3 oKY05Bx3K2l7ecepzZKdMek5xxIbVcxO56RmutcxEI28GsDtwK1Hn3/sBCEHMM0CsrAv vTUOrB+HRs+u1CalR+Ps4a07t33k6jRne+PJg= Received: by 10.216.221.34 with SMTP id q34mr4136935wep.99.1320061602487; Mon, 31 Oct 2011 04:46:42 -0700 (PDT) Received: from asasello.local (dhcp-91-065.inf.ed.ac.uk. [129.215.91.65]) by mx.google.com with ESMTPS id b5sm31999481wbh.4.2011.10.31.04.46.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Oct 2011 04:46:39 -0700 (PDT) Received: from babilen by asasello.local with local (Exim 4.77) (envelope-from ) id 1RKqK6-0007B3-8C; Mon, 31 Oct 2011 11:46:38 +0000 Date: Mon, 31 Oct 2011 11:46:38 +0000 From: Wolodja Wentland To: Dan Nicolaescu Subject: Re: bug#9895: 24.0.90; Daemon crashes when client frame is closed Message-ID: <20111031114637.GA7226@asasello.local> References: <87zkgldvj5.fsf@asasello.local.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 9895 Cc: 9895@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -4.4 (----) --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 28, 2011 at 14:32 -0400, Dan Nicolaescu wrote: > Wolodja Wentland writes: >=20 > > Hi all, > > > > the emacs daemon crashes every time I am closing a client frame. The > > behaviour can be consistently reproduced with the following steps: > > > > 1. emacs --daemon >=20 > When you do this, do you get a warning like: >=20 > Warning: due to a long standing Gtk+ bug > http://bugzilla.gnome.org/show_bug.cgi?id=3D85715 > Emacs might crash when run in daemon mode and the X11 connection is unexp= ectedly lost. > Using an Emacs configured with --with-x-toolkit=3Dlucid does not have thi= s problem. >=20 > If yes, then you quite likely hit the Gtk+ bug mentioned above. Indeed I do. Does this imply that I cannot use the daemon functionality unt= il the GTK bug has been resolved or if I recompile Emacs with --with-x-toolkit=3Dlucid? Thanks for the prompt reply and please apologise that I did not include this information in the initial report. Have a good day! --=20 Wolodja 4096R/CAF14EFC 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOroqdAAoJEIt/fTDK8U78MlcP/1Y+bAJbZ+C7xojblLx4/aq2 Jb443WTVDqGxkmyHwHjznQFdQiV/rsQ7/A32feyTYnKLmjtwbJJBFJjsTehEZG+Z c+NdrdMejIE3g/SRHX48a4blbEgDvNRHxianOW42OcvX6NYmCBwIlctu/If6P7Lr /6wvGY1wpr2R76Dgcep0A4qK7IsGR7Vj7JD8yPk/m9smFR4n++l+/AqD81D6iEUd 7DVsWov99DiNAcmQv0jYqD4Y08pYoXLtgNv+D4DUgrFG6weyfK3W3giw2VBJEK7U xGG2n5vQFkdpfzjPAv48ljts6hHQMHwX5Z+jpyG/TPA6O1mZ2tmkm5vSJwOXG6jp TxqA0q6vNw+IBuPOcPEvVgLq32bK27/O/h3vr+oHk5G1QHGe09FJOemvWtF21XNP Z2MXy3/0zYsA+Fti4x5+pdIV9slhTL+EEZqcSPZ2LGTTteoaSigAF+I0P8VKYL6J 58Z0vemfotHVF9SSIpqM0wdFuyS/hdxTLM/nCgK8erDeMYyQCblQg+T7fNq3rMXg xMjksaWGE6gjmRPPs5PREhG1USnqXADwBidyhlyKRiB62QVM8B0H1Zll6HvL/M2P +/K8XEmvAPcWr22jEb3vhqxarbVR4diQkVpxen8rEHDDck25ulDS6JecFNFcssiD GWh1HBNTqbiC7zzdeQBh =cV1X -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 31 16:25:06 2011 Received: (at 9895-done) by debbugs.gnu.org; 31 Oct 2011 20:25:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKyPp-0007K6-Su for submit@debbugs.gnu.org; Mon, 31 Oct 2011 16:25:06 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKyPn-0007Jy-LG for 9895-done@debbugs.gnu.org; Mon, 31 Oct 2011 16:25:04 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RKyNe-0000wE-BL; Mon, 31 Oct 2011 16:22:50 -0400 From: Dan Nicolaescu To: Wolodja Wentland Subject: Re: bug#9895: 24.0.90; Daemon crashes when client frame is closed References: <87zkgldvj5.fsf@asasello.local.i-did-not-set--mail-host-address--so-tickle-me> <20111031114637.GA7226@asasello.local> Date: Mon, 31 Oct 2011 16:22:50 -0400 In-Reply-To: <20111031114637.GA7226@asasello.local> (Wolodja Wentland's message of "Mon, 31 Oct 2011 11:46:38 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 9895-done Cc: 9895-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.5 (------) Wolodja Wentland writes: > On Fri, Oct 28, 2011 at 14:32 -0400, Dan Nicolaescu wrote: >> Wolodja Wentland writes: >> >> > Hi all, >> > >> > the emacs daemon crashes every time I am closing a client frame. The >> > behaviour can be consistently reproduced with the following steps: >> > >> > 1. emacs --daemon >> >> When you do this, do you get a warning like: >> >> Warning: due to a long standing Gtk+ bug >> http://bugzilla.gnome.org/show_bug.cgi?id=85715 >> Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. >> Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. >> >> If yes, then you quite likely hit the Gtk+ bug mentioned above. > > Indeed I do. Does this imply that I cannot use the daemon functionality until > the GTK bug has been resolved or if I recompile Emacs with > --with-x-toolkit=lucid? You can use it at your own risk... It is only a problem when the X11 connection dies, or when you use xkill or the window manager to kill emacs frames, if you use C-x 5 0 it should be fine. IMVHO people that make heavy use of --daemon should stay away from Gtk+ (and try to lobby to the Gtk+ people to fix this bug). I am closing this bug, there are a few other instances of this bug in the database... From unknown Tue Aug 19 01:58:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Nov 2011 12: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