Subject: GTK programs segfaulting

From: Bradley Haggerty <[email-masked]>
Date: Sat, 9 Mar 2019 23:37:26 +0000

I've allowed emacs and icecat to update after holding them back for
sometime. So far icecat has yet to crash, although I haven't restart it so
it's likely the safe version running from memory. Emacs, however, crashes
instantly. Error details below.

brad@kazuki:~/ > emacs

(emacs-26-1:10553): Gdk-ERROR **: 17:18:31.044: The program 'emacs-26-1'
received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 605 error_code 8 request_code 2 (core protocol)
minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Fatal error 5: Trace/breakpoint trap
Backtrace:
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50b1a2]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f20a4]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x509e5e]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50a143]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50a1f9]
/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libpthread.so.0(+0x12750)[0x7f23cb2ab750]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(+0x53431)[0x7f23cc2db431]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_writer_default+0x182)[0x7f23cc2ddbc2]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_structured_array+0x7c)[0x7f23cc2dbf6c]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_structured_standard+0x182)[0x7f23cc2dc962]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x634bd)[0x7f23cc7d04bd]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6f7c9)[0x7f23cc7dc7c9]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XError+0xf5)[0x7f23cc166475]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x434f7)[0x7f23cc1634f7]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x435a5)[0x7f23cc1635a5]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XReply+0x208)[0x7f23cc164428]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(XGetWindowProperty+0xe6)[0x7f23cc14b356]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x2f2b1)[0x7f23cc79c2b1]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x64deb)[0x7f23cc7d1deb]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a8e2)[0x7f23cc7d78e2]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a41c)[0x7f23cc7d741c]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(gdk_display_get_event+0x79)[0x7f23cc7a3769]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a002)[0x7f23cc7d7002]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_dispatch+0x287)[0x7f23cc2d5b57]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(+0x4dd98)[0x7f23cc2d5d98]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f23cc2d5e3c]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7f23cca9e185]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4c1c42]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f9239]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f9795]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4cdbd1]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4278d8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565f76]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x5679ee]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565f76]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]
...
zsh: trace trap  emacs