GNU bug report logs - #23939
Segfault in daemon mode Emacs when detaching an X session

Previous Next

Package: emacs;

Reported by: Doug Gilmore <dougjgilmore <at> gmail.com>

Date: Mon, 11 Jul 2016 06:08:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Doug Gilmore <dougjgilmore <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Segfault in daemon mode Emacs when detaching an X session
Date: Sun, 10 Jul 2016 17:00:49 -0700
[Message part 1 (text/plain, inline)]
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?

Thanks,

Doug
[emacs-gdb-log.txt (text/plain, attachment)]
[0001-Make-sure-x_error_message-is-not-NULL.patch (application/octet-stream, attachment)]

This bug report was last modified 4 years and 327 days ago.

Previous Next


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