From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: handa Newsgroups: gmane.emacs.bugs Subject: bug#30193: crash in libotf Date: Thu, 25 Jan 2018 18:23:45 +0900 Message-ID: <878tcm70m6.fsf@gnu.org> References: <87o9lnv8oe.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516872216 23396 195.159.176.226 (25 Jan 2018 09:23:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Jan 2018 09:23:36 +0000 (UTC) Cc: 30193@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 25 10:23:31 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eedkZ-0004jm-9u for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jan 2018 10:23:15 +0100 Original-Received: from localhost ([::1]:56022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eedmY-0000rO-3m for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jan 2018 04:25:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eedmM-0000lw-Ia for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2018 04:25:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eedmI-0005JB-Kr for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2018 04:25:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eedmI-0005J3-GW for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2018 04:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eedmI-0000A3-At for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2018 04:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: handa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jan 2018 09:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30193 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30193-submit@debbugs.gnu.org id=B30193.1516872244553 (code B ref 30193); Thu, 25 Jan 2018 09:25:02 +0000 Original-Received: (at 30193) by debbugs.gnu.org; 25 Jan 2018 09:24:04 +0000 Original-Received: from localhost ([127.0.0.1]:41732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eedlM-00008r-Kf for submit@debbugs.gnu.org; Thu, 25 Jan 2018 04:24:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eedlJ-00008M-Hw for 30193@debbugs.gnu.org; Thu, 25 Jan 2018 04:24:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eedl9-0004ae-EC for 30193@debbugs.gnu.org; Thu, 25 Jan 2018 04:23:56 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eedl9-0004aX-B2 for 30193@debbugs.gnu.org; Thu, 25 Jan 2018 04:23:51 -0500 Original-Received: from fl1-125-192-56-244.iba.mesh.ad.jp ([125.192.56.244]:41614 helo=shatin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eedl8-0002TY-FD; Thu, 25 Jan 2018 04:23:50 -0500 Original-Received: from handa by shatin with local (Exim 4.86_2) (envelope-from ) id 1eedl3-0008V5-JT; Thu, 25 Jan 2018 18:23:45 +0900 In-Reply-To: (message from Glenn Morris on Tue, 23 Jan 2018 22:31:43 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142499 Archived-At: In article , Glenn Morris writes: > Thanks, works for me. Thank you for confirming that! > Can anything be done to mitigate this in Emacs? > I expect it will be some time before the fixed libotf becomes the default > in some G/L distributions. Till then, an email can crash Emacs (I > assume) for someone who uses it to read mail. At the moment, this problem occurs with NotoSerifKannada-Regular.ttf and NotoSerifKannada-Bold.ttf. So, adding the following code will save Emacs from crashing. 1. Check the version number of libotf in configure script. 2. Expose that version number to config.h. 3. In xfaces.c, if the version number is less than 0.9.16, initialize Vface_ignored_fonts to ("Noto Serif Kannada"). > Can there at least be a PROBLEMS entry? We can advise (push "Noto Serif Kannada" face-ignored-fonts). > Does this relate to bug#27836, 28110 at all? #28110 is surely because of this bug, but as I can't reproduce #27836, I'm not sure about it. --- K. Handa handa@gnu.org