Crashes in Godot since a9e84580
Reported at https://github.com/godotengine/godot/issues/69352.
Both Gentoo and OpenSUSE backported a9e84580 on top of libX11 1.8.2. With this commit, one gets a hang or crash when opening Godot (quoting from the linked bug):
Godot Engine v4.0.beta6.official.7f8ecffa5 - https://godotengine.org
libdbus-1.so: cannot open shared object file: No such file or directory
libdbus-1.so: cannot open shared object file: No such file or directory
OpenGL Renderer: Mesa Intel(R) Xe Graphics (TGL GT2)
[xcb] Unknown sequence number while processing queue
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
Godot_4_b6.x86_64: xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Given the confusion on this issue, it's not clear to me if the issue is on libX11's side, or if Godot was misusing API (as we've seen examples of both when handling these problems recently), but thought it wise to report here in case it is on libX11's side.
Thanks.