GNU bug report logs - #27872
[macOS] (without Symbola) freeze when opening file with emojis

Previous Next

Package: emacs;

Reported by: Nejc Vivod <nvivod <at> gmail.com>

Date: Sat, 29 Jul 2017 23:22:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 27872 <at> debbugs.gnu.org (full text, mbox):

From: Nejc Vivod <nvivod <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 27872 <at> debbugs.gnu.org
Subject: Re: bug#27872: 26.0.50; freeze when opening file with emojis
Date: Sun, 30 Jul 2017 14:10:38 +0200
[Message part 1 (text/plain, inline)]
Tried downloading from emacsformacosx.com <http://emacsformacosx.com/> (both the nightly and the stable version), still have the same issue - I’ve also recreated the file with your echo command. Not sure why it breaks like this, since the preinstalled emacs opens the file just fine. 
What I did notice is, it seems to allocate a bunch of memory every second or so when opening that test file (looking at activity monitor -> Info about the process); before I force-killed it, it was taking up 2,39GB of ram and it didn’t seem like it would stop.

I’m attaching a sample of the process, maybe this can be of help. 

Thanks for trying to help!






> On 30 Jul 2017, at 13:55, Alan Third <alan <at> idiocy.org> wrote:
> 
> On Sun, Jul 30, 2017 at 12:44:24AM +0200, Nejc Vivod wrote:
>> Emacs installed via homebrew (--with-cocoa enabled) freezes with 100%
>> CPU usage when opening a file that contains unicode emojis. Other
>> editors handle the file just fine (and default mac emacs opens it, but
>> doesn't display emojis).
>> Steps to reproduce:
>> 1. emacs -Q
>> 2. open a file that contains a unicode emoji (my test file has a burger icon in it - 🍔)
>> 3. emacs will stop responding and keep the CPU at 100%
> 
> I can’t reproduce this with the master branch. Are you sure it’s just
> the presence of the emoji and not something else?
> 
> I used this command to create a test file:
> 
>    echo "🍔" > /tmp/test.txt
> 
>> Is there a way to at least not display emojis (I’m fine with blocks)?
> 
> GUI Emacs doesn’t display emojis. It’s possible homebrew have included
> a patch to enable them.
> 
> Can you test with a build direct from git, or a nightly build from
> emacsformacosx.com?
> -- 
> Alan Third

[Message part 2 (text/html, inline)]
[sample.txt (text/plain, attachment)]
[Message part 4 (text/html, inline)]
[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 4 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.