From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vivek Dasmohapatra Newsgroups: gmane.emacs.bugs Subject: bug#30045: X protocol error and a test case Date: Thu, 11 Jan 2018 17:03:05 +0000 (GMT) Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1453701100-1515690190=:6625" X-Trace: blaine.gmane.org 1515690148 31924 195.159.176.226 (11 Jan 2018 17:02:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 17:02:28 +0000 (UTC) User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) To: 30045@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 11 18:02:24 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 1eZgFC-0007mX-38 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 18:02:22 +0100 Original-Received: from localhost ([::1]:56023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZgHB-0002LW-De for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 12:04:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZgGs-0002GK-Jm for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:04:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZgGo-0006Gj-J7 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:04:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44510) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZgGo-0006Gc-Fw for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZgGo-0002wU-3I for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vivek Dasmohapatra Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jan 2018 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30045 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30045-submit@debbugs.gnu.org id=B30045.151569019411243 (code B ref 30045); Thu, 11 Jan 2018 17:04:02 +0000 Original-Received: (at 30045) by debbugs.gnu.org; 11 Jan 2018 17:03:14 +0000 Original-Received: from localhost ([127.0.0.1]:52407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZgG2-0002vH-8B for submit@debbugs.gnu.org; Thu, 11 Jan 2018 12:03:14 -0500 Original-Received: from ceres.etla.org ([85.119.82.193]:44213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZgG0-0002v9-6a for 30045@debbugs.gnu.org; Thu, 11 Jan 2018 12:03:12 -0500 Original-Received: from yaffle.pepperfish.net ([88.99.213.221] helo=[10.112.101.20]) by ceres.etla.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZgFy-0006X5-Ns for 30045@debbugs.gnu.org; Thu, 11 Jan 2018 17:03:10 +0000 X-X-Sender: vivek@platypus.pepperfish.net In-Reply-To: X-Spam_score: -3.0 X-Spam_score_int: -29 X-Spam_bar: --- X-Spam_report: Spam detection software, running on the system "ceres.etla.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Looks like it gets triggered inside XftFontLoadGlyphs -> =?UTF-8?Q?=E2=80=A6/.libs/libXft.so.2.3.2?=(XftFontLoadGlyphs+0x716) [0x7f415551fd16] -> =?UTF-8?Q?=E2=80=A6/.libs/libXft.so.2.3.2?=(XftGlyphExtents+0x14b) [0x7f415551cf6b] -> [backtrace enters emacs proper] -> =?UTF-8?Q?=E2=80=A6?= (xftfont_text_extents) [...] Content analysis details: (-3.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BA 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:142040 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1453701100-1515690190=:6625 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Looks like it gets triggered inside XftFontLoadGlyphs -> …/.libs/libXft.so.2.3.2(XftFontLoadGlyphs+0x716) [0x7f415551fd16] -> …/.libs/libXft.so.2.3.2(XftGlyphExtents+0x14b) [0x7f415551cf6b] -> [backtrace enters emacs proper] -> … (xftfont_text_extents) but it would appear that the cause is that Xft can't process colour fonts like Noto Color Emoji. So we either have to: - hack on libXft until it can, and make that a requirement - use some other mechanism for colour fonts - exclude fonts like N-C-E /before/ we get to Xft so we don't crash https://github.com/googlei18n/noto-emoji/issues/183 --8323329-1453701100-1515690190=:6625--