GNU logs - #11676, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#11676: 24.1; Daemon crashes when ssh dies
Resent-From: taylanbayirli@HIDDEN (Taylan Ulrich B.)
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 11 Jun 2012 22:39:01 +0000
Resent-Message-ID: <handler.11676.B.13394543357172 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 11676
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 11676 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13394543357172
          (code B ref -1); Mon, 11 Jun 2012 22:39:01 +0000
Received: (at submit) by debbugs.gnu.org; 11 Jun 2012 22:38:55 +0000
Received: from localhost ([127.0.0.1]:38453 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SeDGA-0001rb-Aa
	for submit <at> debbugs.gnu.org; Mon, 11 Jun 2012 18:38:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50204)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <taylanbayirli@HIDDEN>) id 1SeDG7-0001rT-7B
	for submit <at> debbugs.gnu.org; Mon, 11 Jun 2012 18:38:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <taylanbayirli@HIDDEN>) id 1SeDDW-0002wJ-Gr
	for submit <at> debbugs.gnu.org; Mon, 11 Jun 2012 18:36:12 -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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:38212)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <taylanbayirli@HIDDEN>) id 1SeDDW-0002vy-BF
	for submit <at> debbugs.gnu.org; Mon, 11 Jun 2012 18:36:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44661)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <taylanbayirli@HIDDEN>) id 1SeDDU-0008Of-4Q
	for bug-gnu-emacs@HIDDEN; Mon, 11 Jun 2012 18:36:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <taylanbayirli@HIDDEN>) id 1SeDDR-0002uO-Fa
	for bug-gnu-emacs@HIDDEN; Mon, 11 Jun 2012 18:36:07 -0400
Received: from mail-wg0-f41.google.com ([74.125.82.41]:52108)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <taylanbayirli@HIDDEN>) id 1SeDDR-0002tS-40
	for bug-gnu-emacs@HIDDEN; Mon, 11 Jun 2012 18:36:05 -0400
Received: by wgbds1 with SMTP id ds1so3627973wgb.0
	for <bug-gnu-emacs@HIDDEN>; Mon, 11 Jun 2012 15:36:02 -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=wySEb5OxOyqv43l42guxc/lN4rjXHf6hsT81qczTq5c=;
	b=kUjN/Jpf294F87RlQSkxc+QBzGgbSdEHm88CfBHTG2zR/bCaFaPFgp1iQi2/sEHwhH
	yjjxRlYgvKSi8nzdpfYw8tBo3x97mk01/QEjZL9v3K3OTE68uWcdwh/qSMvEFg0b6Fjh
	iUNdpCetb3nRLD8ScNSdVGssqDHix/QZDOToOehy44feTIEc5QiTEvq8wSvLCmWhq1zd
	TzokNCaQpboQWSXHwrqfKK2Vn+tsda8s2QuVr/sX9cHkkdiFeHRt3XxMTP/mKtrig0fR
	OEDtegQCBp7lJuQLB2DojKKXcmRekC7n4tuZBojgUy2UdTgaKrjx2ynpyPaT435xYnpx
	rDjg==
Received: by 10.216.226.233 with SMTP id b83mr7013448weq.204.1339453841073;
	Mon, 11 Jun 2012 15:30:41 -0700 (PDT)
Received: from taylan.dyndns.org (p4FD945FE.dip.t-dialin.net. [79.217.69.254])
	by mx.google.com with ESMTPS id
	i10sm2159731wiy.10.2012.06.11.15.30.39
	(version=TLSv1/SSLv3 cipher=OTHER);
	Mon, 11 Jun 2012 15:30:40 -0700 (PDT)
From: taylanbayirli@HIDDEN (Taylan Ulrich B.)
Date: Tue, 12 Jun 2012 00:30:37 +0200
Message-ID: <87txyh8os2.fsf@HIDDEN>
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: -6.1 (------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

I'm running emacs as a daemon on my home PC, and connect with ssh
from work, running emacsclient. The PC at work is unstable and
tends to crash (OS X gray shade of death; don't know if/how it kills
processes running on the system (e.g. ssh) but should be irrelevant).
_Sometimes_ this crash of the client PC will cause the daemon to
abort and dump core.

`bt full' and `bt' output (full seems to fail?):

(gdb) bt full
#0  0x499239ad in kill () from /usr/lib/libc.so.64.0
No symbol table info available.
#1  0x08134ad9 in fatal_error_signal (sig=6) at emacs.c:366
        _mask = Variable "_mask" is not available.
(gdb) bt
#0  0x499239ad in kill () from /usr/lib/libc.so.64.0
#1  0x08134ad9 in fatal_error_signal (sig=6) at emacs.c:366
#2  <signal handler called>
#3  0x499239ad in kill () from /usr/lib/libc.so.64.0
#4  0x0813451b in abort () at emacs.c:394
#5  0x081dfc4f in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, 
    wait_for_cell=138602522, wait_proc=0x0, just_wait_proc=0) at process.c:4942
#6  0x0814285f in read_char (commandflag=1, nmaps=6, maps=0xcfbebe60, prev_event=138602522, 
    used_mouse_menu=0xcfbebfa4, end_time=0x0) at keyboard.c:3855
#7  0x08144402 in read_key_sequence (keybuf=0xcfbebff4, bufsize=30, prompt=138602522, 
    dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9328
#8  0x08146297 in command_loop_1 () at keyboard.c:1449
#9  0x081a5f5d in internal_condition_case (bfun=0x81460e0 <command_loop_1>, handlers=138656178, 
    hfun=0x8140d80 <cmd_error>) at eval.c:1515
#10 0x08140a03 in command_loop_2 (ignore=138602522) at keyboard.c:1160
#11 0x081a6005 in internal_catch (tag=138654178, func=0x81409e0 <command_loop_2>, arg=138602522)
    at eval.c:1272
#12 0x08141006 in recursive_edit_1 () at keyboard.c:1139
#13 0x08141121 in Frecursive_edit () at keyboard.c:823
#14 0x08135838 in main (argc=2, argv=0xcfbec2a0) at emacs.c:1715

If I get a core dump with a different bt, I will let you know.
Note that I am running OpenBSD (5.1).

Regards,
Taylan


In GNU Emacs 24.1.1 (i386-unknown-openbsd5.1, GTK+ Version 2.24.9)
 of 2012-06-10 on taylan.dyndns.org
Configured using:
 `configure '--with-jpeg=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: POSIX
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Term

Minor modes in effect:
  csv-field-index-mode: t
  tracking-mode: t
  diff-auto-refine-mode: t
  global-auto-complete-mode: t
  yas/global-mode: t
  yas/minor-mode: t
  workgroups-mode: t
  shell-dirtrack-mode: t
  ido-everywhere: t
  global-undo-tree-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-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
  line-number-mode: t

Recent input:
SPC e DEL SPC s e n d SPC SPC m a i l SPC f SPC RET 
C-z C-z C-z C-z ESC x m a i l RET C-x k RET C-z C-z 
ESC x m e s s a SPC DEL TAB DEL RET TAB s e n d SPC 
m a SPC C-g C-z C-z C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-z C-z C-z v c o n f RET C-x C-f ~ 
/ v a r / e x t / e m TAB e m TAB s r c / RET e m C-s 
C-s C-s C-s C-s RET C-x C-f p r o C-s RET C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-l C-z C-z , h o w 
t o s e t u p s e m a n t i c b o v i n a t o r f o 
r a n e w l a n g u a g e RET C-p ESC f RET ESC > t 
h e SPC t i t l e SPC r e a l l y SPC s u i d DEL t 
s SPC C E D E T SPC h e r p SPC d e r p RET C-z C-z 
ESC C-l ESC C-l ESC C-l ESC C-l ESC C-l C-l ESC C-l 
ESC C-l ESC C-l ESC v ESC v ESC v ESC v ESC v ESC v 
ESC v ESC v ESC v ESC v C-v C-v C-v C-v C-v C-v C-v 
C-v C-v C-v C-v C-c S u n a m e SPC - a RET ESC x r 
e p o SPC r t SPC e m a SPC TAB TAB RET

Recent messages:
Making completion list...
Quit
Switched:  ( ** 0: irc | * 1: config | 2: gnus | 3: tor | 4: guitar | 5: org | 6: circe | 7: conkeror | 8: lisp | 9: xcode | 10: workirc | 11: termite )
byte-code: End of buffer [5 times]
Switched:  ( * 0: irc | ** 1: config | 2: gnus | 3: tor | 4: guitar | 5: org | 6: circe | 7: conkeror | 8: lisp | 9: xcode | 10: workirc | 11: termite )
Switched:  ( ** 0: irc | * 1: config | 2: gnus | 3: tor | 4: guitar | 5: org | 6: circe | 7: conkeror | 8: lisp | 9: xcode | 10: workirc | 11: termite )
Switched:  ( * 0: irc | ** 1: config | 2: gnus | 3: tor | 4: guitar | 5: org | 6: circe | 7: conkeror | 8: lisp | 9: xcode | 10: workirc | 11: termite )
Mark set
Switched:  ( ** 0: irc | * 1: config | 2: gnus | 3: tor | 4: guitar | 5: org | 6: circe | 7: conkeror | 8: lisp | 9: xcode | 10: workirc | 11: termite )
Making completion list... [2 times]

Load-path shadows:
/home/tub/var/ext/emacs/xcode.el/xcode hides /home/tub/var/ext/emacs/xcode
/home/tub/var/ext/emacs/workgroups.el/workgroups hides /home/tub/var/ext/emacs/workgroups
/home/tub/var/ext/emacs/magit/.dir-locals hides /home/tub/var/ext/emacs/emacs-24.1/lisp/gnus/.dir-locals

Features:
(shadow emacsbug reposition rfc2104 smtpmail cus-edit cus-start cus-load
pp sendmail ibuf-ext gnus-cite shr-color color shr mail-extr gnus-async
gnus-bcklg qp gnus-ml nndraft nnmh nndoc nnfolder utf-7 gnutls nnimap
parse-time utf7 netrc gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime
smime dig mailcap nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo
nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message idna
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win
pcmpl-unix thingatpt scheme browse-url org-wl org-w3m org-vm org-rmail
org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp
org-exp-blocks find-func org-agenda org-info org-gnus org-docview
org-bibtex bibtex org-bbdb multi-isearch network-stream starttls tls
php-mode etags cc-langs speedbar sb-image ezimage dframe xcode-taylan
xcode find-file cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs csv-mode sort keymap-taylan term
disp-table ehelp electric circe-taylan circe-color-nicks lui-logging
circe lui-irc-colors lcs lui-format lui rx tracking flyspell ispell
incomplete mail-taylan gnus gnus-ems nnheader mail-utils wid-edit
org-taylan org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table
org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list
org-faces org-compat org-entities org-macs noutline outline cal-menu
calendar cal-loaddefs magit-taylan magit-bisect magit-key-mode magit
server esh-var esh-io esh-cmd esh-ext esh-proc esh-arg eldoc esh-groups
eshell esh-module esh-mode esh-util ediff-merg ediff-diff ediff-wind
ediff-help ediff-util ediff-mult ediff-init ediff iswitchb diff-mode
log-edit pcvs-util add-log ac-taylan auto-complete-clang
auto-complete-config auto-complete popup yas-taylan yasnippet
dropdown-list derived warnings help-mode view easymenu wg-taylan
workgroups ibuffer-taylan ibuf-macs ibuffer tramp-taylan tramp
tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv
macroexp assoc gnus-util mm-util mail-prsvr password-cache shell
pcomplete comint ansi-color ring format-spec tramp-loaddefs regexp-opt
ido-taylan ido electric-taylan uniquify-taylan uniquify advice
advice-preload paredit-taylan paredit undo-tree-taylan undo-tree
easy-mmode help-fns edmacro kmacro diff faces-taylan auto-mode-taylan
secrets-taylan time-date paren saveplace taylan-lib cl 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)




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: taylanbayirli@HIDDEN (Taylan Ulrich B.)
Subject: bug#11676: Acknowledgement (24.1; Daemon crashes when ssh dies)
Message-ID: <handler.11676.B.13394543357172.ack <at> debbugs.gnu.org>
References: <87txyh8os2.fsf@HIDDEN>
X-Gnu-PR-Message: ack 11676
X-Gnu-PR-Package: emacs
Reply-To: 11676 <at> debbugs.gnu.org
Date: Mon, 11 Jun 2012 22:39:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 11676 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
11676: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11676
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 5 May 2019 04:15:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 00:15:50 2019
Received: from localhost ([127.0.0.1]:52803 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hN8Z4-0007ii-CE
	for submit <at> debbugs.gnu.org; Sun, 05 May 2019 00:15:50 -0400
Received: from mail-qt1-f175.google.com ([209.85.160.175]:44713)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1hN8Z2-0007bz-8w; Sun, 05 May 2019 00:15:48 -0400
Received: by mail-qt1-f175.google.com with SMTP id f24so775629qtk.11;
 Sat, 04 May 2019 21:15:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=aRxMixoPZRd6cLOLkyHPKApL58sCEM/hMkEEI9zDtbw=;
 b=CGrAZ8gLK0a/mtU6rFev5qMHVYtcMCSUEwe7oG3M5+tYvAZLnTAqRGL9L/ZzR+XhxE
 cilSvuLAdCU9L39aY/QQQLKR8n2trV1ieDdBjksDrwP/5/iwNaIbjZfsWvHPIsMzNG0z
 GAAtrmdtYthbGDQgIELvcESe8yO5R3Y+pisBVjOe1GzUSnyM1NEpXkhrnEA07t1elKUD
 vuX+hXhHcA1bKVTQ0Ry+dW6rFY5iaT3dgs41xagThDplEi5sftnrLPUKbRGxTkQtQbYm
 2wxJK8D2r7vlJoxbVpOTLY7Q/+r5iw69bQ4eb8GlG7/W8n5ID0Ry0IDrY8H5R204dflu
 L4xg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=aRxMixoPZRd6cLOLkyHPKApL58sCEM/hMkEEI9zDtbw=;
 b=HAJ4T+N2F0TXB4JX3wE0c2+jfHyAd2qjDEZLvEEjdTZSCOLROn+GCah2Jlsw5yvs+k
 agSyFaHg66EYfpbLIPLx4KoePGRxEUeCHR1EzuPepFz+v34NsQa+LgURbzeCZssfE84D
 Au25W5/09KQDXjehvF8DJfZnWOU1FEcaCY5cZGhzyI7wf9S+nJI3k/AG5CJwY6glHFKu
 u5Bmm6xJRhw77OWbrmLu/MPEUsqPgWGILnqfwvMTsipWhYsAhk7z+KOL3cl6QdLDsqNe
 3W5e6sy+MfBxzUCLFTKFlWicmMgFkLcPrvq6JB0rrVkx8G/4sNqNEJHNZv3qgACjacKC
 jNRg==
X-Gm-Message-State: APjAAAUpTB5RDcOt2tY/gMVWPCsNIFmIQolY7UvufEYYvTQ+2+bE6Zmj
 ypQ8SWeeZbovEhqAaQbVF+0AEhN0
X-Google-Smtp-Source: APXvYqxmd5paigikVWTWZH3z7AP6Womrbhx6lsVAXLE5Cvmj6aKBP9nRs4uVEmKyMtymJ5hiydedZw==
X-Received: by 2002:a0c:c192:: with SMTP id n18mr724554qvh.203.1557029742572; 
 Sat, 04 May 2019 21:15:42 -0700 (PDT)
Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 m31sm4547919qtm.46.2019.05.04.21.15.41
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 04 May 2019 21:15:41 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Doug Gilmore <dougjgilmore@HIDDEN>
Subject: Re: bug#23939: Segfault in daemon mode Emacs when detaching an X
 session
References: <CADZFUQZ06gySPwYtR__yVkG1LTKXNNZTHc4cx4OU+Ef74C1t=Q@HIDDEN>
Date: Sun, 05 May 2019 00:15:40 -0400
In-Reply-To: <CADZFUQZ06gySPwYtR__yVkG1LTKXNNZTHc4cx4OU+Ef74C1t=Q@HIDDEN> (Doug
 Gilmore's message of "Sun, 10 Jul 2016 17:00:49 -0700")
Message-ID: <87k1f5mt8z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
Cc: 23939 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

#14958 = emacs --daemon crashing when X-frames are removed ungracefully
#11676 = Daemon crashes when ssh dies
#22174 = emacs --daemon crashes when ssh is disconnected. I am using lucid x toolkit.
merge 14958 11676 22174
#11639 = 24.0.95; Emacs daemon hangs when emacsclient was killed
# probably the GTK thing
merge 11639 8501
quit

Doug Gilmore <dougjgilmore@HIDDEN> writes:

> I have been running my own build of Emacs 24.2 for quite a while in
> daemon mode for quite a while without any problems except that the
> daemon would on rare occasions crash when I detached a windows frame
> via the delete-frame Emacs command.  The other day this happened
> several times in succession when connecting to a daemon running on
> another host and I was able to catch the failure under an attached gdb
> session.  I attached a backtrace and a prototype fix.
>
> I have been building my own Emacs on Ubuntu-12/14 configured with the
> --with-x-toolkit=lucid option, so this is not a Gtk issue.
>
> Has anyone else been seeing this problem?

There are some other reports about Emacs daemon dying when closing X
sessions, but the backtraces look different, so I guess it's not the
same problem.

> #0  x_uncatch_errors () at /scratch/dgilmore/emacs-24.2/src/xterm.c:7672
> #1  0x00000000004cb588 in x_catch_errors_unwind (dummy=<optimized out>) at /scratch/dgilmore/emacs-24.2/src/xselect.c:546
> #2  0x000000000055b4ce in unbind_to (count=<optimized out>, value=11872738) at /scratch/dgilmore/emacs-24.2/src/eval.c:3433
> #3  0x000000000055b6e5 in unwind_to_catch (catch=0x7ffc44910f60, value=<optimized out>) at /scratch/dgilmore/emacs-24.2/src/eval.c:1314
> #4  0x000000000055d5a9 in Fsignal (error_symbol=11924850, data=38401462) at /scratch/dgilmore/emacs-24.2/src/eval.c:1764

> (gdb) p x_error_message
> $1 = (struct x_error_message_stack *) 0x0

> Subject: [PATCH] Make sure x_error_message is not NULL.
>
> Before dereferencing the pointer.

> @@ -7665,6 +7665,14 @@ x_uncatch_errors (void)
>  {
>    struct x_error_message_stack *tmp;
>  
> +  /* In rare situations when running Emacs run in daemon mode,
> +     shutting down an emacsclient via delete-frame can cause
> +     x_uncatch_errors to be called when x_error_message is set to
> +     NULL.  */
> +  
> +  if (x_error_message == NULL)
> +    return;
> +

If this really is possible, I guess a NULL check wouldn't be a bad
thing...






Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.