Bug 448697 - kwin_wayland crash when it turns off and turn on the screen monitor
Summary: kwin_wayland crash when it turns off and turn on the screen monitor
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.23.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-18 10:32 UTC by smgog3476
Modified: 2022-01-19 15:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
This file contains the debug information of the kwin_wayland using the coredumpctl (7.95 KB, text/x-log)
2022-01-18 10:32 UTC, smgog3476
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smgog3476 2022-01-18 10:32:57 UTC
Created attachment 145606 [details]
This file contains the debug information of the kwin_wayland using the coredumpctl

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Load session with wayland protocol
2. Open some programs(optionaly)
3. Shutdown the screen or let the screen enters in rest mode
4. Turn on the screen and the crash triggers

OBSERVED RESULT
All opened windows in the session disappear  and multiple crash warnings in the clipboard content

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.13.0-25-generic Linux kernel
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
* Graphical card: NVIDIA GeForce RTX 2080 SUPER
* processor: Intel i7-9700K (8) @ 4.900GHz
* RAM: 16GB
* GPU Driver: NVIDIA 470.86
* Distribution: Kubuntu 21.10 x86_64
* Monitor resolution: 1920x1080

NOTE: I opened a report before with the same problem but with the notifier and they told me that the problem are laying with the kwin_wayland. The report ID is 448648
Comment 1 Bug Janitor Service 2022-01-18 11:18:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1905
Comment 2 Nate Graham 2022-01-18 21:36:44 UTC
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 448474
FIXED-IN: 5.24

M  +7    -3    src/backends/drm/drm_backend.cpp

https://invent.kde.org/plasma/kwin/commit/e0a8fa778e3dce508695155c7d5a9a1e0bddd9f8
Comment 3 Nate Graham 2022-01-18 21:37:49 UTC
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 448474
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
Comment 4 David Edmundson 2022-01-19 15:32:49 UTC
The relevant area has received a lot of changes. The backtrace unfortunately lacks enough to be confident. Please file a new bug report if you have issues on 5.24.0