GNU bug report logs - #44113
28.0.50; crash with cairo and Noto Sans Javanese font

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Wed, 21 Oct 2020 10:13:02 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

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: Stephen Berman <stephen.berman <at> gmx.net>
Cc: rpluim <at> gmail.com, 44113 <at> debbugs.gnu.org
Subject: bug#44113: 28.0.50; crash with cairo and Noto Sans Javanese font
Date: Wed, 21 Oct 2020 18:37:58 +0300
> From: Stephen Berman <stephen.berman <at> gmx.net>
> Date: Wed, 21 Oct 2020 15:25:13 +0200
> Cc: 44113 <at> debbugs.gnu.org
> 
> > Looking at the backtrace, this could be another manifestation of
> > bug#41627. That bug has a patch, would it be possible to try it?
> 
> I assume you mean Pip Cet's second patch, in
> <CAOqdjBc+x65eSjsvgKv=KcNyR8yWhguJyabvqfwDmPo3UvumoA <at> mail.gmail.com>?  I
> applied that and rebuilt from master, and reinstalled the problematic
> NotoSansJavanese-Regular.ttf font, and now with it displaying etc/HELLO
> does not crash Emacs, and the Javanese characters are displayed as tofu.
> So this is another datapoint in favor of installing that patch.  Thanks
> for the pointer.

Yes, let's install that patch (I guess on the emacs-27 branch?).

However, there are more places in that function where we call APIs
which could return NULL, and then dereference their return values
without checking.  Could someone who can build with Cairo please
install similar changes in those other places?

TIA




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

Previous Next


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