From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#39892: 28.0.50; Crash when running async command Date: Thu, 05 Mar 2020 11:57:24 +0100 Message-ID: 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: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="123490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 05 11:58:14 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 1j9oCk-000W39-DQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Mar 2020 11:58:14 +0100 Original-Received: from localhost ([::1]:47098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9oCj-0004UI-E8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Mar 2020 05:58:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51358) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9oCa-0004T1-2Y for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 05:58:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9oCX-0005WH-VW for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 05:58:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9oCX-0005Vy-SJ for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 05:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9oCX-0005gP-R8 for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 05:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Mar 2020 10:58:01 +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.158340585421806 (code B ref 39892); Thu, 05 Mar 2020 10:58:01 +0000 Original-Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 10:57:34 +0000 Original-Received: from localhost ([127.0.0.1]:42238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oC6-0005fe-7i for submit@debbugs.gnu.org; Thu, 05 Mar 2020 05:57:34 -0500 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:38544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oC4-0005fR-Hh for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 05:57:33 -0500 Original-Received: by mail-wr1-f45.google.com with SMTP id t11so6434273wrw.5 for <39892@debbugs.gnu.org>; Thu, 05 Mar 2020 02:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=kGg9NlQ4z52LdobzxCuxVo7QVYQdvEfXOiCf3x5snSM=; b=rMcSuy1waimPuj4nex13RWPxDLnSJrvhmdl262w/TDMYTdEeCqGxel/+/vVsF6GLMZ McCWzhyJzIEf1zoDzdWryHFuSm/CyzfLspd9hHPhGT7sccZzF5S6n0UU+9dFDxLZB98M Yz9l9VB6+CAetNDXAPGKaBsaBH8lTj6nl2jp4XqvOMONMaT2pXd2KKBeKRVYNsw32zkt iu/b0C/qtoyPOtDzhXIi6r4TKlSjVZt6VPwZoN7+9z1PcA9hlRmo8M2Qx4s9uTOW8rE6 pYPsPTa72VDk8pbC2DsmWyTn7S4ZoFsvSXy5hUuNnGi7TJnk+XJdKUqCsPGRx10ITy/j LRbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=kGg9NlQ4z52LdobzxCuxVo7QVYQdvEfXOiCf3x5snSM=; b=MNQhVkNeyydnvX3N3V1M1vNzbPe6+VyHYL5eo1hfBycIBYTHAnofC89mRcxaSDgQAs Gw7Vu0yBWtIGV6bV4VcPkU72gmGHUeTtelpmyuzyrVx7gOzzGF8Pw7wYCGUveXodcRdv aNFo85kZgPuEXXFcu/F018e3BgpWAFhYI1pOIuo81ILrg5/IgfLn3iJE8r3Fg5GuPCgF aaz/sH5PpkQpi4EFAAV/IOsqMEOronlU0rMGo9sG3b1VdIScvG28dRAST40mKXDp3ZWT xDreWXZdh557AidDUsmC4/qWwc4y73n0Sr63kjg3qRhM5eylJ3pBN4HKL9/jvd5qRiJC py9Q== X-Gm-Message-State: ANhLgQ3hQ6CWtZpQvVnKtK7K1eF0Z35RlE7/NHORZZ1VUDiuU8W2Lfhu 2o1c8xYO1pSckJNTEuKHl38= X-Google-Smtp-Source: ADFU+vvnEPjKkn/XefzB+c70A4qBkyMeDwQQFa9MdBImUJ5arrslnNhDFGhGb25p+ntE5L19cZ08qQ== X-Received: by 2002:adf:f312:: with SMTP id i18mr609488wro.375.1583405846346; Thu, 05 Mar 2020 02:57:26 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id n11sm33703694wrq.40.2020.03.05.02.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 02:57:25 -0800 (PST) In-Reply-To: <83r1y7uoa4.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Mar 2020 11:46:59 +0200") 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:176895 Archived-At: >>>>> 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. >> 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=CA=BCs essentially doing 'cat' on a .gz file. There=CA=BCs no guarantee whatsoever that the result is valid. And in fact doing exactly that crashes the same way (without the patch). 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. Robert