Bug 432815 - kwin_wayland segfaults while pinning App from launcher
Summary: kwin_wayland segfaults while pinning App from launcher
Status: RESOLVED DUPLICATE of bug 428399
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-11 20:13 UTC by Paul Ezvan
Modified: 2021-02-11 22:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Ezvan 2021-02-11 20:13:58 UTC
SUMMARY


STEPS TO REPRODUCE
1. Start Fedora Plasma Wayland session
2. Open Plasma launcher
3. Drag app from launcher bookmarks to taskbar 

OBSERVED RESULT

kwin_wayland crash

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 33
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Backtrace:

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
KWaylandServer::SurfaceInterface::frameRendered (this=0x5639697088d0, msec=803277) at /usr/src/debug/kwayland-server-5.20.5-1.fc33.x86_64/src/server/surface_interface.cpp:420
420         const bool needsFlush = !d->current.frameCallbacks.isEmpty();
(gdb) bt
#0  KWaylandServer::SurfaceInterface::frameRendered(unsigned int) (this=0x5639697088d0, msec=803277)
    at /usr/src/debug/kwayland-server-5.20.5-1.fc33.x86_64/src/server/surface_interface.cpp:420
#1  0x00007f5b860f10a0 in KWin::CursorImage::markAsRendered() (this=0x563968dce1e0) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/pointer_input.cpp:973
#2  0x00007f5b849d3386 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1cea6bb0, r=0x563968dce1e0, this=0x563968d8b6b0)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#3  doActivate<false>(QObject*, int, void**) (sender=0x56396848c710, signal_index=7, argv=argv@entry=0x7ffc1cea6bb0) at kernel/qobject.cpp:3886
#4  0x00007f5b849cd9a8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=<optimized out>, m=m@entry=0x7f5b86281200 <KWin::Cursor::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc1cea6bb0)
    at kernel/qobject.cpp:3946
#5  0x00007f5b8601ba49 in KWin::Cursor::rendered(QRect const&) (this=<optimized out>, _t1=<optimized out>)
    at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/x86_64-redhat-linux-gnu/kwin_autogen/EWIEGA46WW/moc_cursor.cpp:230
#6  0x00007f5b8606f7ce in KWin::Cursor::markAsRendered() (this=0x56396848c710) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/cursor.h:170
#7  KWin::Compositor::performCompositing() (this=0x563968544560) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/composite.cpp:709
#8  0x00007f5b7106cb3d in drmHandleEvent () at /lib64/libdrm.so.2
#9  0x00007f5b7081786b in QtPrivate::QFunctorSlotObject<KWin::DrmBackend::openDrm()::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /usr/lib64/qt5/plugins/org.kde.kwin.waylandbackends/KWinWaylandDrmBackend.so
#10 0x00007f5b849d3386 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1cea7200, r=0x5639683eb0f0, this=0x5639684d2910)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false>(QObject*, int, void**) (sender=0x56396847d460, signal_index=3, argv=0x7ffc1cea7200) at kernel/qobject.cpp:3886
#12 0x00007f5b849d677a in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal)
    (this=this@entry=0x56396847d460, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#13 0x00007f5b849d6f21 in QSocketNotifier::event(QEvent*) (this=0x56396847d460, e=0x7ffc1cea7320) at kernel/qsocketnotifier.cpp:302
#14 0x00007f5b85438ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x56396847d460, e=0x7ffc1cea7320) at kernel/qapplication.cpp:3632
#15 0x00007f5b849a3bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56396847d460, event=0x7ffc1cea7320) at kernel/qcoreapplication.cpp:1063
#16 0x00007f5b849eda4e in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x5639683a23a0) at kernel/qeventdispatcher_unix.cpp:304
#17 0x00007f5b849eddd4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511
#18 0x00007f5b715ae1a1 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so
#19 0x00007f5b849a257b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffc1cea7490, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007f5b849aa1b4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x000056396678955e in main ()
Comment 1 David Edmundson 2021-02-11 22:30:02 UTC

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