GNU bug report logs -
#23386
Segfault when messing with font-backend
Previous Next
Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Date: Wed, 27 Apr 2016 13:14:01 UTC
Severity: normal
Tags: confirmed
Merged with 35803,
36835,
39865
Found in versions 25.0.95, 28.0.50, 25.0.50, 24.1, 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 #8 received at 23386 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
> Date: Wed, 27 Apr 2016 09:13:30 -0400
>
> If I do
>
> % emacs -Q --eval "(push '(font-backend x) default-frame-alist)"
>
> I get a segfault. This is with the latest emacs-25.
Not reproducible here, but then I cannot run an X version. (I did try
an equivalent for Windows; it didn't crash.)
> See the backtrace below.
>
>
> Stefan
>
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xf70b3b36 in XftCharIndex () from /usr/lib/i386-linux-gnu/libXft.so.2
> (gdb) xbacktrace
> (gdb) bt
> #0 0xf70b3b36 in XftCharIndex () from /usr/lib/i386-linux-gnu/libXft.so.2
> #1 0x082d4d69 in xftfont_encode_char (font=0x8779b00, c=92) at xftfont.c:537
Can you tell which arguments to XftCharIndex were invalid in this
case?
Also, is 'x' a valid font-backend symbol? It's strange that Emacs
uses xftfont when it should have been using xfont instead (AFAIU).
But I'm far from being an expert in this area.
Thanks.
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.