From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39892: 28.0.50; Crash when running async command Date: Thu, 05 Mar 2020 13:22:18 +0200 Message-ID: <83mu8vujv9.fsf@gnu.org> References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> <83r1y7uoa4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="98056"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 05 12:23:13 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 1j9oav-000PQE-7m for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Mar 2020 12:23:13 +0100 Original-Received: from localhost ([::1]:47296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9oau-0005jv-9s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Mar 2020 06:23:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55262) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9oal-0005hq-CE for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 06:23:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9oak-0005U0-FL for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 06:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36285) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9oak-0005Tv-C2 for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 06:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9oak-0006IE-7q for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 06:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Mar 2020 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39892 X-GNU-PR-Package: emacs Original-Received: via spool by 39892-submit@debbugs.gnu.org id=B39892.158340736424153 (code B ref 39892); Thu, 05 Mar 2020 11:23:02 +0000 Original-Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 11:22:44 +0000 Original-Received: from localhost ([127.0.0.1]:42258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oaS-0006HV-Fk for submit@debbugs.gnu.org; Thu, 05 Mar 2020 06:22:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oaR-0006HJ-0k for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 06:22:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9oaL-00053l-TL; Thu, 05 Mar 2020 06:22:37 -0500 Original-Received: from [176.228.60.248] (port=3196 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9oaL-0002Lr-2p; Thu, 05 Mar 2020 06:22:37 -0500 In-Reply-To: (message from Robert Pluim on Thu, 05 Mar 2020 11:57:24 +0100) 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176896 Archived-At: > From: Robert Pluim > Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org, Kenichi Handa > > Date: Thu, 05 Mar 2020 11:57:24 +0100 > > >>>>> On Thu, 05 Mar 2020 11:46:59 +0200, Eli Zaretskii said: > > Eli> How about the patch below? It works for me, and seems to be TRT in > Eli> general, since it makes the code more defensive in the face of > Eli> possible nil values in that vector, which are legitimate according to > Eli> my reading of the commentary at the beginning of fontset.c. > > That patch works for me. Thanks for testing. I will wait for Ravine to confirm it fixes the original use case. > >> Btw, U+E9F8 is a PUA character; how did it get into a context where we > >> are trying to display it? > > Eli> I'd still like to know the answer to this. It seems like something > Eli> fishy is going on in the original use case that requires us to try to > Eli> display this PUA codepoint. > > Itʼs essentially doing 'cat' on a .gz file. I see. But I guess there was some real-life use case behind all that? I mean, why would someone want to dump a Gzip-compressed text to the screen, and inside Emacs on top of that? > Interestingly, under macOS it displays a proper glyph using > "mac-ct:-*-Hannotate TC-normal-normal-normal-*-14-*-*-*-p-0-iso10646-1 > (#x933F)", so somebody has decided that codepoint is good for something. Yes, some fonts usurp the PUA for displaying characters not (yet) in Unicode. This being a font for Chinese, I guess they use it for characters in GB-18030 that don't map to Unicode, or somesuch.