Bug 442794 - [Wayland] kwin crash on sleep and wake-up
Summary: [Wayland] kwin crash on sleep and wake-up
Status: RESOLVED DUPLICATE of bug 442677
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (show other bugs)
Version: 5.22.90
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-22 08:25 UTC by Pawel
Modified: 2021-09-23 14:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash on sleep (26.85 KB, text/plain)
2021-09-22 08:25 UTC, Pawel
Details
crash on resume (25.02 KB, text/plain)
2021-09-22 08:25 UTC, Pawel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel 2021-09-22 08:25:31 UTC
Created attachment 141785 [details]
crash on sleep

I have experienced a few crashes when I put the computer to sleep and then when I resume from sleep by, for example, pressing a button on the keyboard

I have attached full gdb dumps with debug symbols.

Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-1-amd-staging-drm-next-git-00968-g9c16208fa438 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Comment 1 Pawel 2021-09-22 08:25:54 UTC
Created attachment 141786 [details]
crash on resume

crash on resume
Comment 2 David Edmundson 2021-09-22 08:51:03 UTC
Pasting inline:

#0  0x00007f16d7904cc4 in QVector<KWin::DrmObject::Property*>::operator[](int) const (i=2, this=<optimized out>) at /usr/include/qt/QtCore/qvector.h:454
        vrrProp = <optimized out>
        vrr = <optimized out>
#1  KWin::DrmObject::getProp<KWin::DrmCrtc::PropertyIndex>(KWin::DrmCrtc::PropertyIndex) const (propIndex=KWin::DrmCrtc::PropertyIndex::VrrEnabled, this=<optimized out>) at /usr/src/debug/kwin-5.22.90/src/plugins/platforms/drm/drm_object.h:168
        vrrProp = <optimized out>
        vrr = <optimized out>
#2  KWin::DrmPipeline::setSyncMode(KWin::RenderLoopPrivate::SyncMode) (this=0x564a88899e80, syncMode=KWin::RenderLoopPrivate::SyncMode::Fixed) at /usr/src/debug/kwin-5.22.90/src/plugins/platforms/drm/drm_pipeline.cpp:452
        vrrProp = <optimized out>
Comment 3 Vlad Zahorodnii 2021-09-22 10:34:12 UTC
This looks like a dup of https://bugs.kde.org/show_bug.cgi?id=442677

@David are you still able to reproduce the crash?
Comment 4 Pawel 2021-09-22 10:43:54 UTC
there are 2 patches in 442677. Do I need to apply both to re-test this bug or one of the 2?

I can give it a try.
Comment 5 Zamundaaa 2021-09-22 13:20:38 UTC
You only need the newer one. Or simply use the Plasma/5.23 branch directly.
Comment 6 Pawel 2021-09-23 09:23:19 UTC
I have not experienced this crash since applying that patch. I will keep an eye out and report back should it re-occur.

many thanks!
Comment 7 Nate Graham 2021-09-23 14:18:01 UTC
Great!

*** This bug has been marked as a duplicate of bug 442677 ***