XInitThreads crashes from libX11-1.8.7
Godot 4.X (engine, editor as well as released apps) and other applications crash with libX11-1.8.7 (or later). Downgrading to libX11-1.8.4 seems to workaround the problem. Tested on Fedora 38, 39, also reported on Ubuntu 23.04.
Reported to impact Rust Desk as well as mentioned here:
- https://github.com/rustdesk/rustdesk/issues/6477
- https://github.com/rustdesk/rustdesk/discussions/5862
[xcb] Unknown sequence number while processing queue
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
godot.linuxbsd.editor.x86_64: xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Reported at: https://github.com/godotengine/godot/issues/75308
This is quite a serious problem. Preventing all (new and old) Godot based apps from running on systems with libX11-1.8.7 or later. Because Fedora 39 and other similarly recent distros don't support earlier versions of libX11 any more, this prevents a lot of apps from running on many Linux systems.
Probably regression of: #170 (closed) based on Godot report: https://github.com/godotengine/godot/issues/69352