This is the output on the TTY of the failing Emacs process (though $DISPLAY is :0, so there's a window). The shell didn't state whether there was a fatal signal or not. (emacs:9982): GLib-WARNING **: 22:54:11.111: g_main_context_prepare() called recursively from within a source's check() or prepare() member. (emacs:9982): GLib-WARNING **: 22:54:11.111: g_main_context_check() called recursively from within a source's check() or prepare() member. Backtrace: emacs[0x51159e] emacs[0x4f6f6a] emacs[0x511643] emacs[0x4574ea] emacs[0x459c22] emacs[0x5ab860] emacs[0x5b35f5] emacs[0x4f6d34] emacs[0x4c3efd] emacs[0x4c7d49] emacs[0x4c7dcb] /usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a)[0x7febd921411a] /usr/lib/x86_64-linux-gnu/libX11.so.6(+0x43077)[0x7febd9211077] /usr/lib/x86_64-linux-gnu/libX11.so.6(+0x4311d)[0x7febd921111d] /usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7febd9211a55] /usr/lib/x86_64-linux-gnu/libX11.so.6(XPending+0x57)[0x7febd92037b7] /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6a20d)[0x7febd9aad20d] /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_prepare+0x1c9)[0x7febd9586669] /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4e06b)[0x7febd958706b] /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_pending+0x27)[0x7febd9587207] /usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_events_pending+0xd)[0x7febd9d7bb9d] emacs[0x4c4917] emacs[0x4fe1c9] emacs[0x4fe875] emacs[0x5d8dd7] emacs[0x586aa4] emacs[0x5db72a] emacs[0x5db9b1] emacs[0x5dbcbc] emacs[0x448473] emacs[0x44b9d1] emacs[0x44c56c] emacs[0x44d80b] emacs[0x44d9e2] emacs[0x44d9e2] emacs[0x44d80b] emacs[0x44d9e2] emacs[0x44d9e2] emacs[0x44eac9] emacs[0x44ed19] emacs[0x46672a] ...
This init.el file is sufficient (and minimal) for me to reproduce the crash on Emacs startup 100% of the time. Removing any line avoids the crash (though I didn't bother trying to remove the require lines). (require 'package) (package-initialize) ;; Helm configuration (require 'helm-config) (helm-mode 1) ;; Helm configuration ends
I was unable to reproduce this. If it still happens with Emacs 27.1, I encourage you to report it to the Emacs developers with M-x report-emacs-bug. They will need: 1) A complete, minimal example that shows the problem (eg lists exactly which version of helm and its dependencies you installed). 2) The output of addr2line, as per https://www.gnu.org/software/emacs/manual/html_node/emacs/Crashing.html
I was unable to reproduce this. If it still happens with Emacs 27.1, I encourage you to report it to the Emacs developers with M-x report-emacs-bug. They will need: 1) A complete, minimal example that shows the problem (eg lists exactly which version of helm and its dependencies you installed). 2) The output of addr2line, as per https://www.gnu.org/software/emacs/manual/html_node/emacs/Crashing.html