I'm sorry, it seems the first message was sent without content. After commit b944841173... I can't start GUI Emacs. I did: ./configure && make And when I start Emacs with "emacs -Q" I get: X protocol error: RenderBadPicture (invalid Picture parameter) on protocol request 138 When compiled with GTK, Emacs cannot recover from X disconnects. This is a GTK bug: https://gitlab.gnome.org/GNOME/gtk/issues/221 For details, see etc/PROBLEMS. Backtrace: ./src/emacs(emacs_backtrace+0x41)[0x81bc731] ./src/emacs(terminate_due_to_signal+0x7f)[0x809958c] ./src/emacs[0x8099abd] ./src/emacs[0x8098b20] ./src/emacs[0x8167314] ./src/emacs[0x8167379] /usr/lib/libX11.so.6(_XError+0x117)[0xb6f74ef7] /usr/lib/libX11.so.6(+0x3f236)[0xb6f71236] /usr/lib/libX11.so.6(+0x3f2cf)[0xb6f712cf] /usr/lib/libX11.so.6(_XEventsQueued+0x81)[0xb6f71fd1] /usr/lib/libX11.so.6(_XFlush+0x47)[0xb6f722f7] /usr/lib/libX11.so.6(_XGetRequest+0x7c)[0xb6f756ac] /usr/lib/libXext.so.6(XdbeDeallocateBackBufferName+0x5b)[0xb60e385b] ./src/emacs(tear_down_x_back_buffer+0x86)[0x8181446] ./src/emacs(x_free_frame_resources+0x49)[0x8176ed9] ./src/emacs[0x8177654] ./src/emacs(delete_frame+0x37e)[0x80b56de] ./src/emacs[0x8098aeb] ./src/emacs[0x8167314] ./src/emacs[0x8167379] /usr/lib/libX11.so.6(_XError+0x117)[0xb6f74ef7] /usr/lib/libX11.so.6(+0x3f236)[0xb6f71236] /usr/lib/libX11.so.6(+0x3f2cf)[0xb6f712cf] /usr/lib/libX11.so.6(_XReply+0x25c)[0xb6f726ec] /usr/lib/libX11.so.6(XParseColor+0x1c9)[0xb6f608f9] ./src/emacs(x_parse_color+0xc7)[0x816e337] ./src/emacs(x_defined_color+0x71)[0x817f211] ./src/emacs[0x81612a4] ./src/emacs[0x816353e] ./src/emacs(face_at_buffer_position+0x2b7)[0x8165b47] ./src/emacs[0x80bdca5] ./src/emacs[0x80d7dbb] ./src/emacs[0x80d1396] ./src/emacs[0x80d9da7] ./src/emacs[0x80d7fae] ./src/emacs[0x80da04f] ./src/emacs(move_it_to+0x4c2)[0x80dc332] ./src/emacs(resize_mini_window+0x2ca)[0x80e53fa] ./src/emacs[0x80e604b] ./src/emacs[0x80c4d10] ./src/emacs[0x80ed195] I'm not able to run GDB, but I bisected it to the following commit: b944841173..: Håkon Flatval 2022-01-29 Add background transparency support for GTK+Cairo commit b944841173f12134e4c68d269d5b82b1820b2a40 Author: Håkon Flatval Date: Sat Jan 29 16:13:06 2022 +0100 Add background transparency support for GTK+Cairo In particular, if I revert the hunk in select_visual, the problem seems to go away. In GNU Emacs 29.0.50 (build 24, i686-pc-linux-gnu, GTK+ Version 2.24.33, cairo version 1.16.0) of 2022-02-04 built on tbb.theblackbeard.org Repository revision: 35cd9197fc3bda7576b3c343d1183360067dccd2 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Slackware 14.2 i586 (post 14.2 -current) Configured using: 'configure LDFLAGS=-rdynamic' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM GTK2 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Message Minor modes in effect: mml-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: message-do-auto-fill transient-mark-mode: t abbrev-mode: t Load-path shadows: /home/tbb/.emacs.d/elpa/transient-20200819.1133/transient hides /home/tbb/code/emacs/emacs/lisp/transient Features: (shadow emacsbug sendmail mail-extr message yank-media rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader modus-vivendi-theme modus-themes init-web company-web dash company-css web-completion-data company edmacro kmacro pcase init-ext init-emms dbus emms-librefm-stream emms-librefm-scrobbler emms-playlist-limit emms-volume emms-volume-mixerctl emms-volume-pulse emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url emms-streams emms-show-all emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-exiftool emms-info-tinytag emms-info-metaflac emms-info-opusinfo emms-info-ogginfo emms-info-mp3info emms-info emms-later-do emms-playlist-mode emms-player-vlc emms-player-mpv emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate dired dired-loaddefs emms-setup emms emms-compat init-gnus gnus nnheader gnus-util range init-org org-clock org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol rx org-keys oc org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs init-social newsticker newst-treeview tree-widget wid-edit newst-plainview newst-reader newst-ticker newst-backend iso8601 time-date xml init-octave init-rmail undigest rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils init-vc vc vc-dispatcher init-cc-mode init-c init-yasnippet init-eshell eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util init-lisp slime compile text-property-search etags fileloop generator xref project arc-mode archive-mode noutline outline easy-mmode pp comint ansi-color ring hyperspec thingatpt init-elisp init-global finder-inf init-package slime-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 418801 72363) (symbols 24 30139 5) (strings 16 130194 5004) (string-bytes 1 3637892) (vectors 8 49856) (vector-slots 4 1319110 112230) (floats 8 189 77) (intervals 28 481 0) (buffers 564 11))