From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#27872: 26.0.50; freeze when opening file with emojis Date: Sun, 30 Jul 2017 16:06:05 +0100 Message-ID: <20170730150605.GA19287@breton.holly.idiocy.org> References: <81029CAB-B75D-4396-B174-1B929A8D2CBB@gmail.com> <20170730115513.GA2137@breton.holly.idiocy.org> <20170730123416.GC2137@breton.holly.idiocy.org> <20170730130458.GA19175@breton.holly.idiocy.org> <83y3r6101q.fsf@gnu.org> <42AD47D2-6C68-4AF2-AD66-92E2E4F12794@gmail.com> <83wp6q0zl4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1501427232 16579 195.159.176.226 (30 Jul 2017 15:07:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2017 15:07:12 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: Nejc Vivod , 27872@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 30 17:07:08 2017 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 1dbpoB-00042Q-KE for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jul 2017 17:07:07 +0200 Original-Received: from localhost ([::1]:55593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbpoH-00015a-HH for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jul 2017 11:07:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbpo9-000135-OR for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 11:07:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbpo6-0007V5-IZ for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 11:07:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbpo6-0007Uz-E7 for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 11:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dbpo6-0005LI-5B for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 11:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2017 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27872-submit@debbugs.gnu.org id=B27872.150142717720479 (code B ref 27872); Sun, 30 Jul 2017 15:07:02 +0000 Original-Received: (at 27872) by debbugs.gnu.org; 30 Jul 2017 15:06:17 +0000 Original-Received: from localhost ([127.0.0.1]:34408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbpnM-0005KF-UC for submit@debbugs.gnu.org; Sun, 30 Jul 2017 11:06:17 -0400 Original-Received: from mail-wm0-f52.google.com ([74.125.82.52]:33693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbpnK-0005K1-Dx for 27872@debbugs.gnu.org; Sun, 30 Jul 2017 11:06:14 -0400 Original-Received: by mail-wm0-f52.google.com with SMTP id k20so9506527wmg.0 for <27872@debbugs.gnu.org>; Sun, 30 Jul 2017 08:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=toqMusJUsr5RXzqyl3yMx4lo75drJeuO1CzKB47DKPs=; b=DSXPFYH+itdm+8ecXy6URAfYLMAdtzVKft4WGpX8hclqHr9aXKizfUEqhJaJ60wT2b XFQK1SXnSOAf0i7wicxKWUgMSvnztHqArJEKqigzBeT/GMgH20kTknXJ32zSA38galPH WqVyBI8bB7qcKVNTWqi5nkJQHLbvq/INtBuAkionNXS1BDcPUFcivCNj810lYQ3uXOoY gYnpsgMfHypfSHlmNdHA55gkibFgUzoojcUA/jZCJbAsP937RPIUsHDU5YXRstURaZTO hzzVo4NOQ4zsE8KxgOEEBklDz44gdhf7TReDrRGvjKJmnH2+UFHFhlZ4NkjSTANGnxN1 Qxbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=toqMusJUsr5RXzqyl3yMx4lo75drJeuO1CzKB47DKPs=; b=KMnFcAE8no/50ki2rauVX41ZaBwIVXDZY6rz/5nOMtwXTvNNywUQ6811V7y411dOwI pfKWYrSXZ58lwkSU9dQDGvbXII81UBOp/LcxuH4wu5jsO9AsJOaJhwuT5wVW8dtH8hS+ Nvjl+qYuFQWYR7KZ9AXMaXk4Gs1vnLVvdORh6yfnOCJkf3EqI5XONUtxME+J/JC3AOjt s5ed7QLx0p+W6kPRP64OqQuPM/kTndBQlGkP5kspHLGBEmKCxT0/GJGML7wSaxh0ps85 vepCF+Usj2It5hDb82qriZrXmo7OM7ys60e3elG3IcTJBzCRVNjSFoYb2zGcRDMzo2be 7cgw== X-Gm-Message-State: AIVw111hzt8orld2O4FQupmVB4nLHV9IMuYQsUSa4csF1/ixV9BHukG0 RW9axk/VObzHLA== X-Received: by 10.28.156.79 with SMTP id f76mr9566156wme.22.1501427168618; Sun, 30 Jul 2017 08:06:08 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-b502-fffb-632e-95b3.holly.idiocy.org. [2001:8b0:3f8:8129:b502:fffb:632e:95b3]) by smtp.gmail.com with ESMTPSA id y35sm6545132wrd.60.2017.07.30.08.06.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jul 2017 08:06:07 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83wp6q0zl4.fsf@gnu.org> 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:135151 Archived-At: On Sun, Jul 30, 2017 at 05:27:35PM +0300, Eli Zaretskii wrote: > > From: Nejc Vivod > > Date: Sun, 30 Jul 2017 16:19:45 +0200 > > Cc: 27872@debbugs.gnu.org > > > > I thought I did, but I might be mistaken. Re-sending the backtrace. > > Thanks. > > Alan, I don't think I understand how you reached your conclusion: all > the loops involved in the code shown in the backtrace are fixed-size > loops, so they've got to end at some point. Am I missing something? No, I just saw that the last piece of Emacs code in the backtrace was macfont_list and figured it was probably something to do with that, but presumably the loop could be somewhere else. On macOS there is specific code for displaying colour emojis, but it’s been disabled. I don’t see any emojis at all, just a blank space the same size as the colour emoji should be. I don’t know if Macs come with non‐colour emoji capable fonts by default, all other Mac apps display the colour ones so I can’t even see a way to test. If I call describe-char on the hamburger I get: position: 146 of 146 (99%), column: 0 character: 🍔 (displayed as 🍔) (codepoint 127828, #o371524, #x1f354) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0x1F354 script: symbol syntax: w which means: word category: .:Base to input: type "C-x 8 RET 1f354" or "C-x 8 RET HAMBURGER" buffer code: #xF0 #x9F #x8D #x94 file code: #xF0 #x9F #x8D #x94 (encoded by coding system utf-8-unix) display: no font available Character code properties: customize what to show name: HAMBURGER general-category: So (Symbol, Other) decomposition: (127828) ('🍔') There are text properties here: fontified nil I don’t know if any of this is relevant. -- Alan Third