Bug#916012: emacs-gtk crashes when rendering U+2728 SPARKLES

2019-01-02 Thread Rob Browning
Daniel Kahn Gillmor  writes:

> Indeed, when i "apt purge fonts-noto-color-emoji" i also stop having a
> crash with emacs-gtk when rendering certain high-plane Unicode
> characters (they render as unintelligible boxes instead, of course, but
> that's better than crashing i guess.  thanks for finding that workaround!
>
> so, how do we fix it?

No idea yet -- I imagine the next step is to see if we can come up with
an even simpler way to reproduce it, and either way, report it upstream.
I'll plan to do that when I have some time.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



Bug#916012: emacs-gtk crashes when rendering U+2728 SPARKLES

2019-01-02 Thread Daniel Kahn Gillmor
On Wed 2019-01-02 19:40:43 -0600, Rob Browning wrote:
> Daniel Kahn Gillmor  writes:
>
>> Control: found 916012 1:26.1+1-2
>>
>> running emacs-gtk 26.1 from unstable, I still get crashes on U+2728
>> SPARKLES .  I'm also seeing a crash when trying to render U+26C4 SNOWMAN
>> WITHOUT SNOW.
>
> So I just hit a random crash when trying to look at my INBOX in
> notmuch.  Searching for the error turned up this:
>
>   
> https://askubuntu.com/questions/1076735/emacs-crashes-on-pasting-the-unicode-symbol
>
> And indeed, purging fonts-noto-color-emoji "fixed" the problem.  I
> wonder if it's at all related...

Indeed, when i "apt purge fonts-noto-color-emoji" i also stop having a
crash with emacs-gtk when rendering certain high-plane Unicode
characters (they render as unintelligible boxes instead, of course, but
that's better than crashing i guess.  thanks for finding that workaround!

so, how do we fix it?

--dkg


signature.asc
Description: PGP signature


Bug#916012: emacs-gtk crashes when rendering U+2728 SPARKLES

2019-01-02 Thread Rob Browning
Daniel Kahn Gillmor  writes:

> Control: found 916012 1:26.1+1-2
>
> running emacs-gtk 26.1 from unstable, I still get crashes on U+2728
> SPARKLES .  I'm also seeing a crash when trying to render U+26C4 SNOWMAN
> WITHOUT SNOW.

So I just hit a random crash when trying to look at my INBOX in
notmuch.  Searching for the error turned up this:

  
https://askubuntu.com/questions/1076735/emacs-crashes-on-pasting-the-unicode-symbol

And indeed, purging fonts-noto-color-emoji "fixed" the problem.  I
wonder if it's at all related...

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



Bug#916012: emacs-gtk crashes when rendering U+2728 SPARKLES

2018-12-21 Thread Daniel Kahn Gillmor
Control: found 916012 1:26.1+1-2

running emacs-gtk 26.1 from unstable, I still get crashes on U+2728
SPARKLES .  I'm also seeing a crash when trying to render U+26C4 SNOWMAN
WITHOUT SNOW.

interestingly, U+1F332 EVERGREEN TREE gives no problems :)

A stderr transcript from one such crash:

X protocol error: BadLength (poly request too large or internal Xlib
length error) on protocol request 139
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.
Fatal error 6: Aborted
(emacs:21625): GLib-WARNING **: 17:05:05.830: g_main_context_prepare()
called recursively from within a source's check() or prepare() member.

(emacs:21625): GLib-WARNING **: 17:05:05.830: g_main_context_check()
called recursively from within a source's check() or prepare() member.

Backtrace:
emacs[0x5114ae]
emacs[0x4f6eda]
emacs[0x511553]
emacs[0x4c3f83]
emacs[0x4c7da9]
emacs[0x4c7e2b]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a)[0x7f1d561cf11a]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x43077)[0x7f1d561cc077]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x4311d)[0x7f1d561cc11d]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7f1d561cca55]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XPending+0x57)[0x7f1d561be7b7]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x68fad)[0x7f1d56c44fad]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_prepare+0x1c9)[0x7f1d5673e379]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4dd7b)[0x7f1d5673ed7b]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_pending+0x27)[0x7f1d5673ef17]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_events_pending+0xd)[0x7f1d56f143ed]
emacs[0x4c4977]
emacs[0x4fe129]
emacs[0x4fe7d5]
emacs[0x5d8aa7]
emacs[0x586a84]
emacs[0x5db58a]
emacs[0x5db811]
emacs[0x5dbb1c]
emacs[0x4484c3]
emacs[0x44f790]
emacs[0x45458b]
emacs[0x467022]
emacs[0x46abeb]
emacs[0x56cdf6]
emacs[0x434862]
emacs[0x457d75]
emacs[0x459c85]
emacs[0x41d152]
emacs[0x56dc0c]
emacs[0x5a5130]
emacs[0x5704dc]
emacs[0x56db8b]
emacs[0x56dc98]
emacs[0x56cf32]
emacs[0x4f78c4]
...
Aborted

Regards,

--dkg



Bug#916012: emacs-gtk crashes when rendering U+2728 SPARKLES

2018-12-09 Thread Daniel Kahn Gillmor
Package: emacs-gtk
Version: 1:25.2+1-11
Severity: normal
Control: affects -1 + notmuch-emacs

I'm running emacs-gtk under X11.

When i try to open the attached file (sparkles.txt), emacs-gtk crashes
with the following backtrace.  Sorry for it not being well-annotated,
i have emacs-gtk-dbg and emacs-bin-common-dbgsym installed!

I've tried this after clearing my xrdb as well, and the crash still
happens.

Let me know if i can help debug further.

I've marked this bug report as affecting notmuch-emacs because anyone
who sends a mail that contains U+2728 SPARKLES in the subject line
(typically via RFC 2047-encoding) will crash the inbox view.

---
X protocol error: BadLength (poly request too large or internal Xlib length 
error) on protocol request 139
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.
Fatal error 6: Aborted
(emacs:2822): GLib-WARNING **: 05:31:05.156: g_main_context_prepare() called 
recursively from within a source's check() or prepare() member.

(emacs:2822): GLib-WARNING **: 05:31:05.156: g_main_context_check() called 
recursively from within a source's check() or prepare() member.

Backtrace:
emacs[0x50a52e]
emacs[0x4f0a29]
emacs[0x50a5d3]
emacs[0x4c0b53]
emacs[0x4c4eb9]
emacs[0x4c4f3b]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a)[0x7fca397fa11a]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x43077)[0x7fca397f7077]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x4311d)[0x7fca397f711d]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7fca397f7a55]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XPending+0x57)[0x7fca397e97b7]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x68e1d)[0x7fca3a26ee1d]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_prepare+0x1c9)[0x7fca39d69379]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4dd7b)[0x7fca39d69d7b]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_pending+0x27)[0x7fca39d69f17]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_events_pending+0xd)[0x7fca3a53e31d]
emacs[0x4c14f7]
emacs[0x4f7829]
emacs[0x4f7ec5]
emacs[0x5c7eb7]
emacs[0x57c344]
emacs[0x5cabda]
emacs[0x5cae61]
emacs[0x5cb16c]
emacs[0x44349a]
emacs[0x44b5b0]
emacs[0x451148]
emacs[0x4647a1]
emacs[0x467eeb]
emacs[0x563d6e]
emacs[0x432332]
emacs[0x454639]
emacs[0x4fa45f]
emacs[0x4fde89]
emacs[0x4ff574]
emacs[0x563ce2]
emacs[0x4f0e64]
emacs[0x563c61]
emacs[0x4f0dfb]
emacs[0x4f5557]
emacs[0x4f58a8]
...
Aborted
---

-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common   1:25.2+1-11
ii  emacs-common   1:25.2+1-11
ii  libacl12.2.52-3+b1
ii  libasound2 1.1.7-1+b1
ii  libatk1.0-02.30.0-1
ii  libc6  2.27-8
ii  libcairo-gobject2  1.16.0-1
ii  libcairo2  1.16.0-1
ii  libdbus-1-31.12.10-1
ii  libfontconfig1 2.13.1-2
ii  libfreetype6   2.9.1-3
ii  libgdk-pixbuf2.0-0 2.38.0+dfsg-6
ii  libgif75.1.4-3
ii  libglib2.0-0   2.58.1-2
ii  libgnutls303.5.19-1+b1
ii  libgomp1   8.2.0-9
ii  libgpm21.20.7-5
ii  libgtk-3-0 3.24.1-2
ii  libice62:1.0.9-2
ii  libjpeg62-turbo1:1.5.2-2+b1
ii  libm17n-0  1.8.0-2
ii  libmagickcore-6.q16-6  8:6.9.10.14+dfsg-7
ii  libmagickwand-6.q16-6  8:6.9.10.14+dfsg-7
ii  libotf00.9.13-4
ii  libpango-1.0-0 1.42.4-4
ii  libpangocairo-1.0-01.42.4-4
ii  libpng16-161.6.34-2
ii  librsvg2-2 2.44.9-1
ii  libselinux12.8-1+b1
ii  libsm6 2:1.2.2-1+b3
ii  libtiff5   4.0.10-3
ii  libtinfo6  6.1+20181013-1
ii  libx11-6   2:1.6.7-1
ii  libx11-xcb12:1.6.7-1
ii  libxcb11.13.1-1
ii  libxfixes3 1:5.0.3-1
ii  libxft22.3.2-2
ii  libxinerama1   2:1.1.4-1
ii  libxml22.9.4+dfsg1-7+b2
ii  libxpm41:3.5.12-1
ii  libxrandr2 2:1.5.1-1
ii  libxrender11:0.9.10-1
ii  zlib1g 1:1.2.11.dfsg-1

emacs-gtk recommends no packages.

Versions of packages emacs-gtk suggests:
pn  emacs-common-non-dfsg  

-- no debconf information
✨