GNU bug report logs - #38837
26.3.50; Segmentation Fault with Desktop Save Mode (emacs 26.3.50)

Previous Next

Package: emacs;

Reported by: ricercar <at> lycos.com

Date: Tue, 31 Dec 2019 20:04:02 UTC

Severity: normal

Merged with 38442

Found in versions 26.3.50, 27.0.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: ricercar <at> lycos.com
Cc: 38837-done <at> debbugs.gnu.org
Subject: bug#38837: 26.3.50; Segmentation Fault with Desktop Save Mode (emacs 26.3.50)
Date: Fri, 03 Jan 2020 09:56:49 +0200
> Cc: 38837 <at> debbugs.gnu.org
> From: ricercar <at> lycos.com
> Date: Fri, 3 Jan 2020 06:12:58 +0000
> 
> It seems to be fixed in 27.

OK, so I'm closing the bug.

> Any idea how I can avoid the problem in a stable release, such as 26
> or 25?

Apply this patch:

--- lisp/frameset.el~
+++ lisp/frameset.el
@@ -456,6 +456,9 @@ frameset-persistent-filter-alist
      (client                      . :never)
      (delete-before               . :never)
      (font                        . frameset-filter-font-param)
+     ;; Don't save font-backend because we cannot guarantee the new
+     ;; session will support the saved backend anyway.  (Bug#38442)
+     (font-backend                . :never)
      (foreground-color            . frameset-filter-sanitize-color)
      (frameset--text-pixel-height . :save)
      (frameset--text-pixel-width  . :save)

Then start "emacs -Q", edit your .emacs.desktop file, and remove from
it all the sub-lists of this form:

  (font-backend SOMETHING...)

Regardless of what you see instead of "SOMETHING..." in your
.emacs.desktop, remove all such sub-lists, including their
parentheses.  Save .emacs.desktop, then restart Emacs as usual.




This bug report was last modified 5 years and 140 days ago.

Previous Next


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