From: Mike FABIAN <mfabian@redhat.com>
To: 39797@debbugs.gnu.org
Subject: bug#39797: Emacs crashes when using Noto Color Emoji font
Date: Wed, 26 Feb 2020 10:13:09 +0100 [thread overview]
Message-ID: <s9dd0a1sod6.fsf@taka.site> (raw)
[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]
File to reproduce the problem:
$ cat reproduce-crash.el
(set-fontset-font t '(#x10000 . #x1FFFF) '("Noto Color Emoji" . "unicode-bmp") nil 'append) (i
nsert "🥰")
(Also attached to this mail).
Then the crash can be reproduced like this:
$ emacs -q --file reproduce-crash.el --eval '(eval-buffer)'
X protocol error: BadLength (poly request too large or internal Xlib length error) on protocol
request 138
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://gitlab.gnome.org/GNOME/gtk/issues/221
For details, see etc/PROBLEMS.
Fatal error 6: Aborted
It happens with Emacs 26.3 and also whith Emacs compiled from current
git master.
A similar problem happens when trying to show that font with "xfd"
$ xfd -fa "Noto Color Emoji"
Warning: Missing charsets in String to FontSet conversion
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 138 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 208
Current serial number in output stream: 271
This color emoji font contains bitmaps of emoji.
--
Mike FABIAN <mfabian@redhat.com>
[-- Attachment #2: reproduce-crash.el --]
[-- Type: text/plain, Size: 109 bytes --]
(set-fontset-font t '(#x10000 . #x1FFFF) '("Noto Color Emoji" . "unicode-bmp") nil 'append) (insert "🥰")
next reply other threads:[~2020-02-26 9:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-26 9:13 Mike FABIAN [this message]
2020-02-26 9:46 ` bug#39797: Emacs crashes when using Noto Color Emoji font Mike FABIAN
2020-02-26 10:13 ` Mike FABIAN
2020-02-26 13:35 ` Mike FABIAN
2020-02-26 15:20 ` Robert Pluim
2020-02-26 17:14 ` Mike FABIAN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s9dd0a1sod6.fsf@taka.site \
--to=mfabian@redhat.com \
--cc=39797@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.