Skip to content

Workaround X11 crash issue #106798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gelvinp
Copy link
Contributor

@gelvinp gelvinp commented May 25, 2025

As discovered in #75308, checking for pending events during the process_events function can cause a race condition in libx11, leading to the 'poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed' crash.

This PR removes the second pending events check. Unfortunately, this essentially reverts #54326, but I would rather have occasional 1 frame latency than a game that crashes.

@gelvinp gelvinp requested a review from a team as a code owner May 25, 2025 15:14
@Calinou Calinou added bug platform:linuxbsd topic:porting cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels May 26, 2025
@Calinou Calinou added this to the 4.5 milestone May 26, 2025
@akien-mga akien-mga requested review from hpvb and bruvzg May 27, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release platform:linuxbsd topic:porting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants