From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#38569: 27.0.50; Certain emoji crashes with "X protocol error: BadLength" Date: Fri, 13 Dec 2019 10:01:16 +0100 Message-ID: References: <87mubytoph.fsf@cochranmail.com> <87immlut1l.fsf@cochranmail.com> <83r21890tf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="159315"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Robert Cochran , shelvacu@gmail.com, 38569@debbugs.gnu.org, robert-emacs@cochranmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 13 10:02:39 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ifgqM-000fHg-U2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2019 10:02:39 +0100 Original-Received: from localhost ([::1]:42892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifgqL-0002kk-O8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2019 04:02:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57205) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifgpo-0002Hp-4s for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 04:02:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifgpn-0000Eu-1t for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 04:02:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifgpl-0000Dw-QG for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 04:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ifgpl-0004qm-OM for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 04:02: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: Fri, 13 Dec 2019 09:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38569 X-GNU-PR-Package: emacs Original-Received: via spool by 38569-submit@debbugs.gnu.org id=B38569.157622768718603 (code B ref 38569); Fri, 13 Dec 2019 09:02:01 +0000 Original-Received: (at 38569) by debbugs.gnu.org; 13 Dec 2019 09:01:27 +0000 Original-Received: from localhost ([127.0.0.1]:32997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifgpD-0004py-33 for submit@debbugs.gnu.org; Fri, 13 Dec 2019 04:01:27 -0500 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:38744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifgpB-0004pm-E0 for 38569@debbugs.gnu.org; Fri, 13 Dec 2019 04:01:25 -0500 Original-Received: by mail-wr1-f52.google.com with SMTP id y17so5764715wrh.5 for <38569@debbugs.gnu.org>; Fri, 13 Dec 2019 01:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=T6CEYs89wARuppOHyeiDEhxKGtylcM1pvBvmrOesKeE=; b=kY2vlKEt3cglJFsTu68RVpHs58MP1Z9RBZYfD30ty6iKtSuTsmvyhA+yIljp74uhNM 0Q7PRuQf1ms9amUiXzknu+RMu3fo4bCWUUk3ZsWkyZCzHdaNdI3PacDSsvSBPAbRP7Cc yUte9pr9ZZhnmkk7NcD/Fjg8ZH7LAT9NMOTk7NAV8tdggEs0yt3jbHskDLZShdcriWYF dX0+UyKNI9dogtGDqk7NXglxckC9yDeLZDb2o9hCLtlt4ZX4j5s5mc4GGNQ9YfhL/i/6 sgFDbSSgqG0PZ1SK4kXbTdq9L5eVNe8qrNGkfjLTP6fEt+1PTAqo4ULGEMr2eZCB6gew N2/g== 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 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=T6CEYs89wARuppOHyeiDEhxKGtylcM1pvBvmrOesKeE=; b=HkQE8nE0N0x8v5glLpdj8ZumXFmXBeRIJwXnDiTS/pgook7172JjQT65JlEK7Y3Nhw h5m6xUhuUm4Twt8AfHMaVsP8SsK++AFJzzM+p25g5TkDIeUUSZwXKJWkkjB3rxNEt5Ik 5CW6yG1xTGn0bXqBJci/5im1vNaE4jQ3JsTcyo2opTQZ4LYZehZEaliP6r5SwXBA2rVC EWaoiT44y0Zleg9ZaArs5UnG16fxg7TQjX4SurXmwTqwnKZkSmZnPfxkvaOhbMPVmeiR OxyDlIcKaPr9Fh+AbbFdlCCbO9tt+qCYGyrYOXKHrfetDQpGPZvelkXtG3Dt6sxKgOSd mydg== X-Gm-Message-State: APjAAAUdZNrby4usYYcvqWQumZ3VdpjrDZUrLyPmI1EBzPq/g7c4pWAL w70s5rprXOkxtRj+P2d98t3WyteN16sdqQ== X-Google-Smtp-Source: APXvYqz8FR6qqmOUCP0c4//ypTH9VA1ou8vOGGAW91PglAzhFZAtVONFIPKuURf2IxmYx5lECCB07w== X-Received: by 2002:a5d:690e:: with SMTP id t14mr11226920wru.65.1576227679037; Fri, 13 Dec 2019 01:01:19 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id t12sm9143161wrs.96.2019.12.13.01.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2019 01:01:17 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <83r21890tf.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Dec 2019 08:50:04 +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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173255 Archived-At: >>>>> On Fri, 13 Dec 2019 08:50:04 +0200, Eli Zaretskii said: >> From: Robert Cochran >> Date: Thu, 12 Dec 2019 13:34:46 -0800 >> Cc: Shelvacu , 38569@debbugs.gnu.org, >> Robert Cochran >>=20 >> The easier thing is to add another exception to face-ignored-fonts, = but >> at this point it'd be a better idea to deal with it at the font rend= erer >> level. IMO it's not scalable for the solution to be "ok, also add th= is >> font to the exception list", especially as frequently as Emacs has >> releases. Eli> The problem is that AFAIR the "font renderer" that is to blame in = this Eli> case is XFT, and it doesn't seem to be actively maintained lately. Eli> (Robert Pluim will correct me if I'm wrong.) That's why we are us= ing Eli> the face-ignored-fonts workaround. That=CA=BCs correct. The real solution is 'stop using XFT', but I don=CA=BCt think we can require cairo just yet, much as I=CA=BCd like to do so. Eli, we could install my patch to filter out all colour fonts (see ), that should reduce the amount of whack-a-mole required. Robert