beyond-all-reason / beyond-all-reason/RecoilEngine

Spring crashes on wayland when input event polling rate is high.

Open
#247 14 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 1h
Merged PRs (30d)
38

Description

After I've upgraded my system from Gnome 41 to 42 spring started crashing from time to time when loading games. I've managed to reproduce it to the points that when game is loading or map is being downloaded when I start to move my mouse a lot it crashes the process. When I don't move mouse at all, all is fine.

My current working theory is that when the game is being loaded/map is being downloaded spring doesn't process input events, that with combination of https://www.phoronix.com/scan.php?page=news_item&px=GNOME-42-Input-Rate introduced by upgrade, causes some event buffer (?) to overflow and crashing the process.

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. First reproduce the crash on GNOME 42 with Wayland while loading a game or map and moving the mouse rapidly, then trace the input-event handling and crash output. Done means the reported loading scenario no longer crashes and the fix is covered by a reproducible regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.