| Summary: | dev-qt/qtwayland-5.15.2-r1 crashes randomly when qt windows receive focus. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas Grois <andi> |
| Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | asturm |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://bugreports.qt.io/browse/QTBUG-81504 | ||
| See Also: | https://invent.kde.org/qt/backports-tracker/-/issues/1080 | ||
| Whiteboard: | fixed in >=dev-qt/qtwayland-5.15.2-r10 | ||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Callstack of the crash. | ||
|
Description
Andreas Grois
2021-04-03 13:09:47 UTC
I indeed misread the issue, the linked github patch does not resolve the problem. However there is a bugreport for Sway upstreamed, that might have a solution people claimed working: https://github.com/swaywm/sway/issues/4506 You could try with this patch applied to qtwayland: https://invent.kde.org/qt/qt/qtwayland/-/commit/9ee2ea141adc7765f6c212e63839ef23a4494b30 9ee2ea141adc7765f6c212e63839ef23a4494b30 just changes the severity of the error to warning, but still terminates the program. https://github.com/swaywm/sway/issues/4506#issuecomment-778666954 supplies a patch for the issue, and since I put that into the user patches folder for qtwayland, I haven't seen a single qt application crash and gotten quite a few hours uptime with clementine constantly running, so I'm reasonably confident that this indeed prevents the crashes. By the way, there is also an upstream bug report at qt: https://bugreports.qt.io/browse/QTBUG-81504 This sounds relevant, and it applies cleanly at least: https://invent.kde.org/qt/qt/qtwayland/-/commit/93058de8d7e7c2f320c22b3bd898aa06cf5babcd Please test with latest available version in tree. |