Package: emacs
Version: 47.0
Severity: normal
Dear Maintainer,
entering the unicode character u+026c5 into a buffer crashes emacs on X.
To test, try the following:
~$ echo -e "\u26C5" > tst.txt
~$ emacs tst.txt
(emacs:22002): Gtk-CRITICAL **: gtk_distribute_natural_allocation:
assertion 'extra_space >= 0' failed
(emacs:22002): Gtk-CRITICAL **: gtk_distribute_natural_allocation:
assertion 'extra_space >= 0' failed
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:22002): GLib-WARNING **: g_main_context_prepare() called recursively
from within a source's check() or prepare() member.
(emacs:22002): GLib-WARNING **: g_main_context_check() called recursively
from within a source's check() or prepare() member.
Backtrace:
emacs[0x50a53e]
emacs[0x4f0b49]
emacs[0x50a5e3]
emacs[0x4c0990]
emacs[0x4c4cd9]
emacs[0x4c4d5b]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11d)[0x7f7cd642122d]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x42157)[0x7f7cd641e157]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x42215)[0x7f7cd641e215]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7f7cd641eb15]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XPending+0x57)[0x$7f7cd64107e7]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6840e)[0x7f7cd827540e]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_prepare+0x1c8)[0x7f7cd6b8b678]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4b04b)[0x7f7cd6b8c04b]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_pending+0x27)[0x7f7cd6b8c1d7]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_events_pending+0xd)[0x7f7cd873806d]
emacs[0x4c1397]
emacs[0x4f7a71]
emacs[0x4f8105]
emacs[0x5c689a]
emacs[0x57b734]
emacs[0x5c946c]
emacs[0x5c9741]
emacs[0x5c9a5c]
emacs[0x443941]
emacs[0x44b9a0]
emacs[0x451558]
emacs[0x4644fd]
emacs[0x4678db]
emacs[0x5630de]
emacs[0x432785]
emacs[0x454c69]
emacs[0x4fabab]
emacs[0x4fd960]
emacs[0x4ff3e4]
emacs[0x563052]
emacs[0x4f0f64]
emacs[0x562fd1]
emacs[0x4f0efb]
emacs[0x4f57e7]
emacs[0x4f5b0a]
...
Aborted
It seems to be related to the X server, as 'emacs -nw' seems to work
fine.
Best regards,
Andi
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages emacs depends on:
ii emacs25 25.2+1-6+b1
emacs recommends no packages.
emacs suggests no packages.
-- no debconf information