From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#44113: 28.0.50; crash with cairo and Noto Sans Javanese font Date: Wed, 21 Oct 2020 15:25:13 +0200 Message-ID: <87mu0fzp6u.fsf@rub.de> References: <878sbz28i7.fsf@gmx.net> <87zh4fzs3u.fsf@rub.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4661"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44113@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 21 15:28:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVE9x-00016h-P0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 15:28:09 +0200 Original-Received: from localhost ([::1]:44752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVE9w-00010f-Lj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 09:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVE7u-0006rv-Tx for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 09:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVE7u-000433-Hy for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 09:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVE7u-0007Vu-EC for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Oct 2020 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44113 X-GNU-PR-Package: emacs Original-Received: via spool by 44113-submit@debbugs.gnu.org id=B44113.160328672428836 (code B ref 44113); Wed, 21 Oct 2020 13:26:02 +0000 Original-Received: (at 44113) by debbugs.gnu.org; 21 Oct 2020 13:25:24 +0000 Original-Received: from localhost ([127.0.0.1]:48260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVE7I-0007V2-JD for submit@debbugs.gnu.org; Wed, 21 Oct 2020 09:25:24 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:56669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVE7G-0007Un-Lu for 44113@debbugs.gnu.org; Wed, 21 Oct 2020 09:25:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603286715; bh=VuiOArYbDUUDSaj3DxZvxK4YqdTnOBlq9O8Tts/XdkY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=I6YuC0FOVQSGYWOEjNTVlM+WwGOBFqJg5M0GjAuQ7rz1w2GSWpFjIOF+D73zapcu4 f7SzUEyFVwATXEN8H2H3QdNv1kdaLW/0Gug4ud3C9FS2RQ8NerNAMIHMt3vK+xVLbQ aW03nM/Q3iWvUp6gwl/WXljLkoU5YiObu/4Qh38U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([178.9.96.28]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MvK0X-1kE6rz3ow5-00rFX3; Wed, 21 Oct 2020 15:25:15 +0200 In-Reply-To: (Robert Pluim's message of "Wed, 21 Oct 2020 15:00:45 +0200") X-Provags-ID: V03:K1:9znWkkoYgssP/wO24e3fjrAPrEVegamd/AEDtayreWKTCwf+2RI wjDMsl2sx9sqQo9n/ZpghO74Dx98JLFXcP44iZfoO+nMwNNPbp6NgRs+dzOCStj2qs/mn2f rZqYtGbWje+WZU6Min/5TcPlm74QhM+5pCMUC+PwtmQuVO7U7DHKCn7aM4i/cVVFWpMqbL3 TG8W5vT0D6vz5nwicQ6AA== X-UI-Out-Filterresults: notjunk:1;V03:K0:qDyJ2XmG66M=:uWXpVime1g5IEz+LxzxCGJ OTSBl34GRuMT+N9hHHcPba26j97KoxP11NdICeUam6F2CpxlZi3MmiDkJ+48FeeAf7VDIs4s0 t1z7zjS0IpKg29hQ3WobR6cNBrhG0qKFi18gPiVVqAWz4EsLdNSd+CwUhzEfVXi16ZWhge0vX O7WfZiVQWAcNvwSysFqPbxLdIgHYVE8H1fz4iBHsxuhdZ+vHMuAOmLknX0MRQmLvSSxCyCVgr WB21uHkbGG3h7Ff6gmaSzQqAVhqz0T7Jag1Fh0XTCBNvLjVn62jcmDfip1EljoB3gh3MUCiGF qWrAdQz/zAYQnVpPiwO04pQ5zHWL+9HAkqEWuGc03WNYjIloEKbz6kAxQ0UGzrnV2+nOv7O+y 8bldq5s8YGuWNAFSJySCMEF9AdQVJA7F4YKAsB+5jeV5Yn0AJrF9j5Ntc2exsa6y7yIDtriSY SArQO+O4Iu7WHHiN7aC0+chEUL0b9obhLfPTqXIaOogI9DZumfsfepuR06/qq9vx3PQTzw7lu b1b/pvV/L2TUCeIjxWQN3zAEfcg7GxnoOm6YH0sHpg91yflk0qNphnCMLj2CobrR7hqPFIpnw Z+Lebj3tRU2zc4/INQeKADZQstEukUQdDPEhQF/WGgdYJeJrfrACp9OD1w4a4c1cqsMfwFqMt Hze6IbCps5NABns1aESVDgMj/XmuKM4GXpyLZalXMGgyydDv3o5jx33X5NsJC+29xlbL6yI56 0xk79g8V/nOTs4ry6b4IPB6JdugBowmrELp3ZZA/gnzSKU+NM7J+kzERc695MBQ/2hxMO9gW X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191164 Archived-At: On Wed, 21 Oct 2020 15:00:45 +0200 Robert Pluim wrote: >>>>>> On Wed, 21 Oct 2020 14:22:13 +0200, Stephen Berman > said: > > Stephen> On Wed, 21 Oct 2020 12:12:00 +0200 Stephen Berman > Stephen> wrote: > >> I installed NotoSansJavanese-Regular.ttf and when I type `C-h h' to view > >> the Javanese script, Emacs immediately crashes. It also crashes when I > >> just try to insert a character from that script, e.g. `C-x 8 RET #xa9b2 > >> RET'. I've attached the backtrace from gdb produced from the latter. > >> Emacs also crashes when trying to display a character from the Balinese > >> script with NotoSansBalinese-Regular.ttf installed. The crashes do not > >> happen in emacs-27 built without cairo, but characters from the Javanese > >> and Balinese scripts are displayed there as tofu, as they are in Firefox > >> (e.g. https://en.wikipedia.org/wiki/Javanese_script), so maybe the fonts > >> are buggy; and indeed, when I uninstall them Emacs built with cairo does > >> not crash and the characters are displayed as tofu. > > Stephen> It seems those fonts are indeed buggy: I just installed > Stephen> NotoSansJavanese-Regular.ttf from > Stephen> https://github.com/googlefonts/noto-fonts and with it the Javanese > Stephen> script sample in etc/HELLO displays fine both in Emacs from master built > Stephen> with cairo and in emacs-27 with xft (and the Javanese script Wikipedia > Stephen> page also displays fine in Firefox; the googlefonts repository does not > Stephen> contain NotoSansBalinese-Regular.ttf but instead > Stephen> NotoSerifBalinese-Regular.ttf, which I also installed and with it the > Stephen> Balinese characters in the Wikipedia page also display fine). > > >> But it would be > >> better for Emacs with cairo not to crash with a buggy font, if possible. > > Stephen> That would still be good, but if it's not practically feasible, I guess > Stephen> this bug should just be closed. > > Stephen> Steve Berman > > 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 ? 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. Steve Berman