godot icon indicating copy to clipboard operation
godot copied to clipboard

Project or editor crashes randomly from xcb XInitThreads

Open Cykyrios opened this issue 1 year ago • 55 comments

Godot version

v4.1.dev.custom_build [0291fcd7b]

System information

Linux Manjaro, kernel 6.1.19, X11

Issue description

The editor or the running project sometimes crashes with the following error:

[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.

Crashes are more common while a project is running, but the editor also crashed because of this a couple of times over the past week or so.

I am not using any thread-related functions in my project, physics/rendering are not threaded, the project I'm working on as this happens is a simple GUI-based game.

Steps to reproduce

This seems to happen fairly randomly.

Minimal reproduction project

N/A

Cykyrios avatar Mar 25 '23 07:03 Cykyrios