Subject: Emacs crash when built with Guix

From: Ryan Prior <[email-masked]>
Date: Sun, 03 Jul 2022 01:01:47 +0000

I've been getting a persistent crash when I select text in Emacs this past couple days. I'll post the stacktrace below.

using guix 9829f53
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master commit: 9829f53a3f88884e245e962073528be46918ad2e

Using GNU Emacs 29.0.50 (the "emacs-next" package)

Stacktrace:

/home/ryan/.guix-profile/bin/emacs[0x56af8e]
/home/ryan/.guix-profile/bin/emacs[0x425bad]
/home/ryan/.guix-profile/bin/emacs[0x42609e]
/home/ryan/.guix-profile/bin/emacs[0x5695f8]
/home/ryan/.guix-profile/bin/emacs[0x569669]
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0(+0x11d80)[0x7f1f638c1d80]
/gnu/store/fa43ijbrb96x08621qigxxiphp503lsi-libx11-1.7.3.1/lib/libX11.so.6(XVisualIDFromVisual+0x0)[0x7f1f64b789b0]
/gnu/store/ll5s37859kfz8j7j4isz2qm9n0ykikgh-gtk+-3.24.30/lib/libgdk-3.so.0(gdk_x11_window_foreign_new_for_display+0x15a)[0x7f1f6537555a]
/gnu/store/ll5s37859kfz8j7j4isz2qm9n0ykikgh-gtk+-3.24.30/lib/libgdk-3.so.0(+0x69d48)[0x7f1f6535cd48]
/gnu/store/ll5s37859kfz8j7j4isz2qm9n0ykikgh-gtk+-3.24.30/lib/libgdk-3.so.0(+0x70151)[0x7f1f65363151]
/gnu/store/ll5s37859kfz8j7j4isz2qm9n0ykikgh-gtk+-3.24.30/lib/libgdk-3.so.0(+0x6fc23)[0x7f1f65362c23]
/gnu/store/ll5s37859kfz8j7j4isz2qm9n0ykikgh-gtk+-3.24.30/lib/libgdk-3.so.0(gdk_display_get_event+0x40)[0x7f1f6532b9b0]
/gnu/store/ll5s37859kfz8j7j4isz2qm9n0ykikgh-gtk+-3.24.30/lib/libgdk-3.so.0(+0x6f8b2)[0x7f1f653628b2]
/gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/lib/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7f1f64d054cb]
/gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/lib/libglib-2.0.so.0(+0x55748)[0x7f1f64d05748]
/gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/lib/libglib-2.0.so.0(g_main_context_iteration+0x2f)[0x7f1f64d057ef]
/gnu/store/ll5s37859kfz8j7j4isz2qm9n0ykikgh-gtk+-3.24.30/lib/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7f1f65642665]
/home/ryan/.guix-profile/bin/emacs[0x50d65b]
/home/ryan/.guix-profile/bin/emacs[0x552432]
/home/ryan/.guix-profile/bin/emacs[0x555575]
/home/ryan/.guix-profile/bin/emacs[0x659055]
/home/ryan/.guix-profile/bin/emacs[0x481f25]
/home/ryan/.guix-profile/bin/emacs[0x44d340]
/home/ryan/.guix-profile/bin/emacs[0x461115]
/home/ryan/.guix-profile/bin/emacs[0x46e500]
/home/ryan/.guix-profile/bin/emacs[0x47532c]
/home/ryan/.guix-profile/bin/emacs[0x453106]
/home/ryan/.guix-profile/bin/emacs[0x47db49]
/home/ryan/.guix-profile/bin/emacs[0x47e352]
/home/ryan/.guix-profile/bin/emacs[0x5598f7]
/home/ryan/.guix-profile/bin/emacs[0x55b97d]
/home/ryan/.guix-profile/bin/emacs[0x55d603]
/home/ryan/.guix-profile/bin/emacs[0x5d3217]
/home/ryan/.guix-profile/bin/emacs[0x549f1a]
/home/ryan/.guix-profile/bin/emacs[0x5d3171]
/home/ryan/.guix-profile/bin/emacs[0x549ebf]
/home/ryan/.guix-profile/bin/emacs[0x550d23]
/home/ryan/.guix-profile/bin/emacs[0x55109a]
/home/ryan/.guix-profile/bin/emacs[0x42e197]
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6(__libc_start_main+0xcd)[0x7f1f635197dd]
/home/ryan/.guix-profile/bin/emacs[0x42e63a]
...
Segmentation fault