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: Wed, 04 Mar 2020 11:01:57 +0100 Message-ID: References: <877e00976m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="84741"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39892@debbugs.gnu.org To: Ravine Var Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 04 11:08:45 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 1j9QxI-000Lxw-TM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Mar 2020 11:08:44 +0100 Original-Received: from localhost ([::1]:60112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9QxI-0000rh-00 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Mar 2020 05:08:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42213) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Qrn-0008Mu-AV for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 05:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9Qrm-00030L-9F for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 05:03:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9Qrm-0002zE-2I for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 05:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9Qrl-0000WH-PT for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 05:03: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: Wed, 04 Mar 2020 10:03: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.15833161271929 (code B ref 39892); Wed, 04 Mar 2020 10:03:01 +0000 Original-Received: (at 39892) by debbugs.gnu.org; 4 Mar 2020 10:02:07 +0000 Original-Received: from localhost ([127.0.0.1]:40418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Qqs-0000V3-P5 for submit@debbugs.gnu.org; Wed, 04 Mar 2020 05:02:06 -0500 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:55725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Qqr-0000UY-JM for 39892@debbugs.gnu.org; Wed, 04 Mar 2020 05:02:05 -0500 Original-Received: by mail-wm1-f51.google.com with SMTP id 6so1282017wmi.5 for <39892@debbugs.gnu.org>; Wed, 04 Mar 2020 02:02:05 -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; bh=Abgy3nI51mn7nEKlB4sSofNheLvAey7Q0O3n/TxaZTY=; b=A8lJyk6yaLHrkczABufEeohHn3GwQOrJfhjyLUTDh1LhbEvVpRNKnOiNzqaOlYsLU7 bctRXIfxsOScrFtXZ6q0DH5cpTjmmGC3RdwtJRPrvEHLCfaQMcsj3CqTXG6oo3VCFXh2 fiso9aqxn3UjrlSk9OERrgNoCxiKLc1Ez/jsyiVH3c9bLs8x8vMkVLbSGvvR/PfdU2rQ aKEjzz3txYFP+wSjOcYqCjCW1Jnm1PPdH328LtjznhF7Tn/yGHHldWSOFxAuaB/lFYSZ 0+ghyWhDK1hwbffVc8gvEUxywZ4hc25DhK9E8q0ho3MDLOMzMMOHrXOif+I8i2P9X/mI uHhg== 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; bh=Abgy3nI51mn7nEKlB4sSofNheLvAey7Q0O3n/TxaZTY=; b=SYpz+hRkeR08/UzV2WFnP8zeOjJU0R7g9akFbS/yd4VBNvEafgkHxfzudB7Uh6M2P0 7Wl6/IDilp1vu0pyf9Y1sQHFwdTrfms4wY5Tkkghgau4ZWp4PkqeQ4gDyLtIDhy1E85r Mc2xoLLfRkfHMaO3gZ5mGfXpaG8FBX0coNOWZMi9W7+eBYo3cuPJzMkRAbqshf21ZAzf VZFUFmOHcJIUeGIKVDdSwKnDiFW4qqWHw0P5ka2SWQCXo/Akst2rAt3Tjbo3gGS/2zwl qsN6kLh6VloozGzX7X+PcZ8BbBC01IONdIxQ7mkyVsY7BZd5Qv7YeUvJZ3bi9xM/kSCL AaRQ== X-Gm-Message-State: ANhLgQ2QNm96Q2BuSgCnWNpPlfioQ3L+aMgnnolED+Kb68jjXd6zNEtt gj5QRj3260zzlZapRwd/yrlp3ytr X-Google-Smtp-Source: ADFU+vsUbJd7J6dQPIk1RyCGUYo+oZVlf5hv8xB+u78jwtAj6O2a6UX1VelvI2U2e7vxaKhyYZ0nSg== X-Received: by 2002:a7b:c386:: with SMTP id s6mr2965266wmj.28.1583316119444; Wed, 04 Mar 2020 02:01:59 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id z14sm35298009wrg.76.2020.03.04.02.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 02:01:58 -0800 (PST) In-Reply-To: <877e00976m.fsf@gmail.com> (Ravine Var's message of "Wed, 04 Mar 2020 08:07:21 +0530") 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:176831 Archived-At: >>>>> On Wed, 04 Mar 2020 08:07:21 +0530, Ravine Var said: Ravine> Emacs crashes when the output of 'gpg -d' is processed Ravine> in the '*Async Shell Command*' buffer. This happens when the Ravine> "Noto Sans Symbols2" font is used. To reproduce: Ravine> * Inside the emacs git tree, do: Ravine> "gzip configure" Ravine> "gpg -c configure.gz" Ravine> * Start 'emacs -Q' Ravine> * Eval this: (set-fontset-font t 'unicode "Noto Sans Symbols2" nil 'append) Ravine> * In dired, run dired-do-async-shell-command (&) on configure.gz.gpg and Ravine> give 'gpg -d'. gpg now sends the decrypted output to stdout. Ravine> * At this point emacs crashes. Indeed. A simpler recipe is to do the set-fontset-font and then 'C-x 8 RET e9f8' The relevant code is: for (i = 0; i < size; i++) { Lisp_Object rfont_def = AREF (vec, i); Lisp_Object font_def = RFONT_DEF_FONT_DEF (rfont_def); 'vec' at that point is [ [nil [# 144 nil] nil 0] nil [nil [# 0 0] nil 2] ] and i == 1, so rfont_def ends up as nil. How did that 'nil' get in there? Robert