After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724067 - emacs24 aborts on startup with a X BadMatch
emacs24 aborts on startup with a X BadMatch
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
3.11.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-02-10 20:41 UTC by Fabien Tassin
Modified: 2014-02-11 03:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabien Tassin 2014-02-10 20:41:20 UTC
I'm not sure it should be filed in gtk or someplace else, please advise.

When I start emacs24 (gtk mode), it now crashes on startup (an abort).
It started a few days ago after I did a massive upgrade to 3.11.5, including gtk.


X protocol error: BadMatch (invalid parameter attributes) 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
Backtrace:
/usr/bin/emacs24[0x4f762b]
/usr/bin/emacs24[0x4dd0de]
/usr/bin/emacs24[0x4f7673]
/usr/bin/emacs24[0x4b232b]
/usr/bin/emacs24[0x4b439c]
/usr/bin/emacs24[0x4b43fd]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x12b)[0x7ffff4e4554b]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3b5e7)[0x7ffff4e425e7]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3b695)[0x7ffff4e42695]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7ffff4e42fc5]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XPending+0x4d)[0x7ffff4e3512d]
...

Program received signal SIGABRT, Aborted.
0x00007ffff1ce420b in raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37	../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) bt
  • #0 raise
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c line 37
  • #1 terminate_due_to_signal
    at emacs.c line 344
  • #2 emacs_abort
    at sysdep.c line 2152
  • #3 x_connection_closed
  • #4 x_error_quitter
    at xterm.c line 7898
  • #5 x_error_handler
    at xterm.c line 7868
  • #6 _XError
    at ../../src/XlibInt.c line 1463
  • #7 handle_error
    at ../../src/xcb_io.c line 213
  • #8 handle_response
    at ../../src/xcb_io.c line 325
  • #9 _XEventsQueued
    at ../../src/xcb_io.c line 364
  • #10 XPending
    at ../../src/Pending.c line 55
  • #11 gdk_check_xpending
    at /build/buildd/gtk+3.0-3.11.5/./gdk/x11/gdkeventsource.c line 266
  • #12 gdk_event_source_prepare
    at /build/buildd/gtk+3.0-3.11.5/./gdk/x11/gdkeventsource.c line 284
  • #13 g_main_context_prepare
    at /build/buildd/glib2.0-2.39.4/./glib/gmain.c line 3338
  • #14 g_main_context_iterate
    at /build/buildd/glib2.0-2.39.4/./glib/gmain.c line 3691
  • #15 g_main_context_pending
    at /build/buildd/glib2.0-2.39.4/./glib/gmain.c line 3737
  • #16 gtk_events_pending
    at /build/buildd/gtk+3.0-3.11.5/./gtk/gtkmain.c line 1270
  • #17 XTread_socket
    at xterm.c line 7173
  • #18 gobble_input
    at keyboard.c line 6767
  • #19 handle_async_input
    at keyboard.c line 7080
  • #20 process_pending_signals
    at keyboard.c line 7094
  • #21 readbyte_from_file
    at lread.c line 456
  • #22 readchar
    at lread.c line 330
  • #23 lisp_file_lexically_bound_p
    at lread.c line 774
  • #24 Fload
    at lread.c line 1312
  • #25 eval_sub
    at eval.c line 2157
  • #26 internal_lisp_condition_case
    at eval.c line 1243
  • #27 exec_byte_code
    at bytecode.c line 1096
  • #28 funcall_lambda
    at eval.c line 3010
  • #29 Ffuncall
    at eval.c line 2839
  • #30 call1
    at eval.c line 2572
  • #31 mapcar1
    at fns.c line 2321
  • #32 Fmapc
    at fns.c line 2410
  • #33 Ffuncall
    at eval.c line 2781
  • #34 exec_byte_code
    at bytecode.c line 900
  • #35 funcall_lambda
    at eval.c line 3010
  • #36 Ffuncall
    at eval.c line 2839
  • #37 exec_byte_code
    at bytecode.c line 900
  • #38 funcall_lambda
    at eval.c line 3010
  • #39 Ffuncall
    at eval.c line 2839
  • #40 exec_byte_code
    at bytecode.c line 900
  • #41 funcall_lambda
    at eval.c line 2944
  • #42 Ffuncall
    at eval.c line 2839
  • #43 exec_byte_code
    at bytecode.c line 900
  • #44 funcall_lambda
    at eval.c line 2944
  • #45 apply_lambda
    at eval.c line 2887
  • #46 eval_sub
    at eval.c line 2218
  • #47 Feval
    at eval.c line 2005
  • #48 internal_condition_case
    at eval.c line 1289
  • #49 top_level_1
    at keyboard.c line 1185
  • #50 internal_catch
    at eval.c line 1060
  • #51 command_loop
    at keyboard.c line 1146
  • #52 recursive_edit_1
    at keyboard.c line 779
  • #53 Frecursive_edit
    at keyboard.c line 843
  • #54 main
    at emacs.c line 1528