From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.bugs Subject: bug#14958: 24.2; emacs --daemon crashing when X-frames are removed ungracefully Date: Fri, 26 Jul 2013 16:26:31 +0200 Message-ID: <87a9l9iei0.fsf@yun.yagibdah.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374852614 26412 80.91.229.3 (26 Jul 2013 15:30:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2013 15:30:14 +0000 (UTC) To: 14958@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 26 17:30:15 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V2jy9-00043u-MN for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 17:30:13 +0200 Original-Received: from localhost ([::1]:53333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jy9-0007HD-8e for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 11:30:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jy3-00076R-68 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 11:30:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2jy1-00035f-Jo for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 11:30:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jy1-00035M-HY for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 11:30:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V2jy0-0005kM-Eb for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 11:30:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: lee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2013 15:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137485259822032 (code B ref -1); Fri, 26 Jul 2013 15:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jul 2013 15:29:58 +0000 Original-Received: from localhost ([127.0.0.1]:51286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2jxs-0005jF-Sy for submit@debbugs.gnu.org; Fri, 26 Jul 2013 11:29:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55296) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2jxp-0005ij-US for submit@debbugs.gnu.org; Fri, 26 Jul 2013 11:29:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2jxi-0002c9-KT for submit@debbugs.gnu.org; Fri, 26 Jul 2013 11:29:48 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jxi-0002c4-Hd for submit@debbugs.gnu.org; Fri, 26 Jul 2013 11:29:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jxg-0006dT-1k for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 11:29:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2jxe-0002Vu-FD for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 11:29:43 -0400 Original-Received: from client-194-42-186-216.muenet.net ([194.42.186.216]:58613 helo=yun.yagibdah.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2jxe-0002VU-4w for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 11:29:42 -0400 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.80.1) (envelope-from ) id 1V2iyV-0002qe-Vx for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 16:26:31 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76685 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Running "emacs --daemon" from the console to get a persistent emacs session and then using frames in the X session crashes emacs when the X session is terminated before all the frames were closed. This defeats the purpose of the daemon mode for me. Is it possible to make it so that the emacs daemon survives the ungraceful removal of frames? If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.2/etc/DEBUG. In GNU Emacs 24.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.8.2) of 2013-07-15 on buildvm-18.phx2.fedoraproject.org Configured using: `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk3' '--with-gpm=no' '--with-wide-int' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' 'LDFLAGS=-Wl,-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_GB.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fvwm Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: O A ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B C-x b RET DEL C-x C-s ESC O B ESC [ 3 ~ ESC O B ESC [ 3 ~ ESC O B ESC [ 3 ~ ESC O B ESC [ 3 ~ C-x C-s ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C DEL ESC O D ESC O C 4 C-x C-s ESC x m a n C-g ESC x r e p o r TAB RET Recent messages: Desktop: 233 buffers restored. Loading term/xterm...done For information about GNU Emacs and the GNU system, type C-h C-a. byte-code: Beginning of buffer [13 times] Saving file /home/lee/.fvwm/fvwm-icon-man.fvwm... Wrote /home/lee/.fvwm/fvwm-icon-man.fvwm Saving file /home/lee/.fvwm/fvwm-icon-man.fvwm... Wrote /home/lee/.fvwm/fvwm-icon-man.fvwm Saving file /home/lee/.fvwm/fvwm-icon-man.fvwm... Wrote /home/lee/.fvwm/fvwm-icon-man.fvwm Quit Load-path shadows: -- Debugger entered--Lisp error: (error "C-c C-c can do nothing useful at this location")