Summary: | KWin crashed in KWin::DrmOutput::DrmOutput when plugging in an external HDMI screen | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nate Graham <nate> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | xaver.hugl |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/24dc3abe918cde9007e19c4351e5778480f5bb75 | Version Fixed In: | 5.24 |
Description
Nate Graham
2022-01-14 16:17:34 UTC
Thanks for reminding me that that method can be completely removed now :) Anyways, that looks like there's some deeper issue, with invalid memory accesses - that backtrace doesn't make any sense otherwise. The other half of the backtrace would be interesting. That was the whole thing. Is there anything else I can get? You can maybe check the journalctl for any possible logging that happened before the crash... but if you can't reproduce it, that's all you can do. If you can reproduce it then you could attach gdb over ssh before it crashes and get a proper backtrace that way I think https://invent.kde.org/plasma/kwin/-/merge_requests/1905 may also fix this / the same bug caused this. Invalid memory accesses can do all sorts of weird stuff. OK, let me give it a try! Yep, that fixes it! Git commit e0a8fa778e3dce508695155c7d5a9a1e0bddd9f8 by Nate Graham, on behalf of Xaver Hugl. Committed on 18/01/2022 at 21:36. Pushed by ngraham into branch 'master'. backends/drm: fix output changes with the placeholder output As the placeholder output gets added or removed in response to other outputs getting enabled or disabled, the output list may change while iterating over them and applying changes. Related: bug 448454, bug 448697 FIXED-IN: 5.24 M +7 -3 src/backends/drm/drm_backend.cpp https://invent.kde.org/plasma/kwin/commit/e0a8fa778e3dce508695155c7d5a9a1e0bddd9f8 Git commit 24dc3abe918cde9007e19c4351e5778480f5bb75 by Nate Graham, on behalf of Xaver Hugl. Committed on 18/01/2022 at 21:37. Pushed by ngraham into branch 'Plasma/5.24'. backends/drm: fix output changes with the placeholder output As the placeholder output gets added or removed in response to other outputs getting enabled or disabled, the output list may change while iterating over them and applying changes. Related: bug 448454, bug 448697 FIXED-IN: 5.24 (cherry picked from commit e0a8fa778e3dce508695155c7d5a9a1e0bddd9f8) M +7 -3 src/backends/drm/drm_backend.cpp https://invent.kde.org/plasma/kwin/commit/24dc3abe918cde9007e19c4351e5778480f5bb75 |