GNU bug report logs - #41627
28.0.50; Emacs with cairo build segfault in HELLO file

Previous Next

Package: emacs;

Reported by: Zihao Zhu <all_but_last <at> 163.com>

Date: Sun, 31 May 2020 11:49:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 41627 <at> debbugs.gnu.org, all_but_last <at> 163.com, Pip Cet <pipcet <at> gmail.com>
Subject: bug#41627: 28.0.50; Emacs with cairo build segfault in HELLO file
Date: Wed, 21 Oct 2020 17:58:30 +0200
>>>>> On Sun, 27 Sep 2020 16:29:33 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Pip Cet <pipcet <at> gmail.com> writes:
    >> As I said, "I suspect the attached patch will work, but if this is
    >> something Cairo does in other places it needs to be checked." Some
    >> initial investigation reveals that yes, Cairo does it all over the
    >> place.

    Lars> Did you get any further here?  The posted patch wasn't applied, as far
    Lars> as I can see, but would apparently have fixed the HELLO segfault, so
    Lars> that seems worth it on its own (although the other calls to
    Lars> cairo_ft_scaled_font_lock_face should also be fixed)...

All the other calls to cairo_ft_scaled_font_lock_face use the
cr_scaled_font member of the font_info passed in, which I think means
thatʼs only done for fonts which were opened successfully.

Robert
-- 




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

Previous Next


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