Bug#901038: Emacs exits with X protocol error when mouse is moved in window
SCHOEPFLIN Markus
Markus.SCHOEPFLIN at frequentis.com
Fri Jun 8 11:49:44 BST 2018
Package: libgtk-3-0
Version: 3.22.11-1
When I start Emacs using an X server which only provides XInputExtension 1.3, Emacs immediately exits when the mouse enters the Emacs window.
---%<---
> emacs
X protocol error: BadRequest (invalid request code or no such operation) on protocol request 131
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
Backtrace:
emacs[0x500e63]
emacs[0x4e740e]
emacs[0x500ea3]
emacs[0x4bbbcf]
emacs[0x4bdc9c]
emacs[0x4bdcfb]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11d)[0x7fb7b514522d]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x42157)[0x7fb7b5142157]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x42215)[0x7fb7b5142215]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XReply+0x238)[0x7fb7b5143128]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XQueryPointer+0x8e)[0x7fb7b51392be]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x584ea)[0x7fb7b6f7a4ea]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x77045)[0x7fb7b6f99045]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_window_get_device_position_double+0x10b)[0x7fb7b6f6c6eb]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_window_get_device_position+0x2d)[0x7fb7b6f6c7ed]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x33c299)[0x7fb7b7555299]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x33c7ff)[0x7fb7b75557ff]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x2b6e8)[0x7fb7b6f4d6e8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4b123)[0x7fb7b58b0123]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x15a)[0x7fb7b58af6aa]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aa60)[0x7fb7b58afa60]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fb7b58afb0c]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7fb7b7446df5]
emacs[0x4bbce2]
emacs[0x4ee2b9]
emacs[0x4ef935]
emacs[0x57a7f7]
emacs[0x57946b]
emacs[0x57bc0a]
emacs[0x57d31a]
emacs[0x57c07a]
emacs[0x57d31a]
emacs[0x57ba33]
emacs[0x57c03a]
emacs[0x57d31a]
emacs[0x57c07a]
emacs[0x57d080]
emacs[0x57d129]
emacs[0x57dce2]
emacs[0x57e46c]
emacs[0x5675c2]
...
Aborted
--->%---
> lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.2 (stretch)
Release: 9.2
Codename: stretch
When applying the following patch https://bugzilla.redhat.com/attachment.cgi?id=1395089&action=diff to libgtk, Emacs works normally.
The exact same patch has already been integrated into upstream and is present in gtk+3.0-3.22.30 on Debian sid, can this fix please be integrated into Debian stretch as well?
Thanks,
Markus
More information about the pkg-gnome-maintainers
mailing list