Bug 446101 - Crash in KWin::DrmPipeline::setCursor
Summary: Crash in KWin::DrmPipeline::setCursor
Status: RESOLVED DUPLICATE of bug 445894
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (show other bugs)
Version: 5.23.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on: 445894 449773
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-26 07:16 UTC by Jiri Slaby
Modified: 2022-02-08 06:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
gdb's "bt full" of the crash (17.27 KB, text/plain)
2021-11-26 07:16 UTC, Jiri Slaby
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Slaby 2021-11-26 07:16:43 UTC
Created attachment 143956 [details]
gdb's "bt full" of the crash

+++ This bug was initially created as a clone of Bug #445894 +++

Maybe it's the same bug as I did exactly the same, but the backtrace is different.

SUMMARY
A crash occurred during resume from suspend.

STEPS TO REPRODUCE
1. suspend notebook
2. connect thunderbolt with external monitor connected
3. resume notebook.
4. (rare) crash occurs

OBSERVED RESULT
> #0  0x00007f52faaf2789 in KWin::DrmPipeline::setCursor(QSharedPointer<KWin::DrmDumbBuffer> const&, QPoint const&) (this=0x55a48387d990, buffer=..., hotspot=...) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_pipeline.cpp:328 
> #1  0x00007f52faadfa6f in KWin::DrmOutput::showCursor() (this=0x55a4838abe60) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_output.cpp:108 
> #2  0x00007f52faadfd9e in KWin::DrmOutput::updateTransform(KWin::AbstractOutput::Transform) (this=0x55a4838abe60, transform=<optimized out>) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_output.cpp:323 
> #3  0x00007f52faadb8ec in KWin::DrmGpu::updateOutputs() (this=<optimized out>) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_gpu.cpp:276
> #4  KWin::DrmBackend::updateOutputs() (this=<optimized out>) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_backend.cpp:355
> #5  0x00007f52faadd77a in KWin::DrmBackend::reactivate() (this=0x55a481125c60) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_backend.cpp:159
> #6  KWin::DrmBackend::reactivate() (this=0x55a481125c60) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/plugins/platforms/drm/drm_backend.cpp:142
> #7  0x00007f53013e3043 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffb4a3f630, r=0x55a481125c60, this=0x55a48113e560) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
> #8  doActivate<false>(QObject*, int, void**) (sender=0x55a481121530, signal_index=4, argv=0x7fffb4a3f630) at kernel/qobject.cpp:3886
> #9  0x00007f53013dc50f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f5302e25840 <KWin::Session::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffb4a3f630) at kernel/qobject.cpp:3946
> #10 0x00007f5302bc4a12 in KWin::Session::activeChanged(bool) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/build/src/kwin_autogen/EWIEGA46WW/moc_session.cpp:150
> #11 0x00007f5302bd55ff in KWin::LogindSession::updateActive(bool) (active=<optimized out>, this=0x55a481121530) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/session_logind.cpp:303
> #12 KWin::LogindSession::handlePropertiesChanged(QString const&, QMap<QString, QVariant> const&) (interfaceName=<optimized out>, properties=..., this=0x55a481121530) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/session_logind.cpp:324
> #13 KWin::LogindSession::handlePropertiesChanged(QString const&, QMap<QString, QVariant> const&) (properties=..., interfaceName=<optimized out>, this=0x55a481121530) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/session_logind.cpp:319
> #14 KWin::LogindSession::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x55a481121530, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/build/src/kwin_autogen/EWIEGA46WW/moc_session_logind.cpp:88
> #15 0x00007f5302bc7c01 in KWin::LogindSession::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_a=0x7fffb4a3f7e0, _id=1, _c=QMetaObject::InvokeMetaMethod, _o=0x55a481121530) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/build/src/kwin_autogen/EWIEGA46WW/moc_session_logind.cpp:83
> #16 KWin::LogindSession::qt_metacall(QMetaObject::Call, int, void**) (this=0x55a481121530, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffb4a3f7e0) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/build/src/kwin_autogen/EWIEGA46WW/moc_session_logind.cpp:125
> #17 0x00007f5302e6069b in  () at /lib64/libQt5DBus.so.5
> #18 0x00007f53013d8fee in QObject::event(QEvent*) (this=0x55a481121530, e=0x7f52f401b430) at kernel/qobject.cpp:1314
> #19 0x00007f5302104a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55a481121530, e=0x7f52f401b430) at kernel/qapplication.cpp:3632
> #20 0x00007f53013ac9fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55a481121530, event=0x7f52f401b430) at kernel/qcoreapplication.cpp:1064
> #21 0x00007f53013afa47 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=data@entry=0x55a4810b4430) at kernel/qcoreapplication.cpp:1821
> #22 0x00007f53014013ea in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55a4810f22e0, flags=...) at kernel/qeventdispatcher_unix.cpp:468
> #23 0x000055a48005939d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
> #24 0x00007f53013ab3fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffb4a3fba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
> #25 0x00007f53013b36e0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
> #26 0x000055a47fffc625 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin5-5.23.2-2.1.x86_64/src/main_wayland.cpp:745


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211117
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-1.g26a203b-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-6600U CPU @ 2.60GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Comment 1 Jiri Slaby 2022-01-31 09:44:51 UTC
I believe, it's the same.

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