GNU bug report logs -
#39865
28.0.50; Emacs crash
Previous Next
Reported by: Vinicius José Latorre <viniciusjl <at> gmail.com>
Date: Mon, 2 Mar 2020 01:55:02 UTC
Severity: normal
Tags: confirmed
Merged with 23386,
35803,
36835
Found in versions 25.0.95, 28.0.50, 24.1, 25.0.50, 24.5, 26.2, 27.0.50
Fixed in version 27.1
Done: Robert Pluim <rpluim <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #50 received at 39865 <at> debbugs.gnu.org (full text, mbox):
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: viniciusjl <at> gmail.com, 39865 <at> debbugs.gnu.org
> Date: Tue, 10 Mar 2020 16:15:09 +0100
>
> + if (EQ (prop, Qfont_backend))
> + {
> + Lisp_Object tail = val;
> + Lisp_Object backend;
> + FOR_EACH_TAIL_SAFE (tail)
> + {
> + backend = XCAR (tail);
> + if (! c_symbol_p (XSYMBOL (backend)))
> + {
> + AUTO_STRING (format, "Unsupported font-backend: \"%s\"");
> + xsignal1 (Quser_error, CALLN (Fformat, format, backend));
> + }
> + }
> + }
> +
This will pass any symbol, it doesn't really verify that the symbol
identifies a font backend, does it? Why not loop over
font_driver_list instead? Or do we need to support here font backends
that were not yet registered?
> Setting font-backend to a supported value with default-frame-alist
> in .emacs should work, and does for me in master, at least switching
> from 'ftcrhb' to 'ftcr'. Switching from 'ftcrhb' to 'xft' crashes.
>
> Hmm, switching to 'x' also crashes.
And the above patch doesn't fix those crashes, does it?
This bug report was last modified 5 years and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.