Bug 424467

Summary: Plasma crashed when I pressed ctrl+z and clicked on "Delete" button of confirmation dialog to undo file copy to desktop
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2020-07-20 13:56:53 UTC
Application: plasmashell (5.19.80)

Qt Version: 5.14.2
Frameworks Version: 5.73.0
Operating System: Linux 5.3.0-62-generic x86_64
Windowing system: X11
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
I copied a file with Dolphin, created a folder on desktop, right-clicked on it, chose "Paste one file" (the file was unexpectedly pasted on desktop).
I pressed ctrl+z to undo file copy, clicked on "Delete" button  of the confirmation dialog, then plasma crashed.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f5584825c80 (LWP 1479))]
[KCrash Handler]
#6  0x00007f557c6743c1 in  () at /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#7  0x00007f557c670e37 in KIO::FileUndoManager::undo() () at /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#8  0x00007f557e8526d7 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc35d8ea50, r=0x7f557c94b3e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  0x00007f557e8526d7 in doActivate<false>(QObject*, int, void**) (sender=0x55e1455ed3f0, signal_index=4, argv=0x7ffc35d8ea50) at kernel/qobject.cpp:3870
#10 0x00007f557e84cf92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55e1455ed3f0, m=m@entry=0x7f558023d340 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc35d8ea50) at kernel/qobject.cpp:3930
#11 0x00007f557fb554a2 in QAction::triggered(bool) (this=this@entry=0x55e1455ed3f0, _t1=<optimized out>) at .moc/moc_qaction.cpp:381
#12 0x00007f557fb57b0c in QAction::activate(QAction::ActionEvent) (this=0x55e1455ed3f0, event=<optimized out>) at kernel/qaction.cpp:1161
#13 0x00007f557fb581bf in QAction::trigger() (this=0x55e1455ed3f0) at ../../include/QtWidgets/../../src/widgets/kernel/qaction.h:187
#14 0x00007f557fb581bf in QAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x55e1455ed3f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7ffc35d8ec80) at .moc/moc_qaction.cpp:213
#15 0x00007f557fb58625 in QAction::qt_metacall(QMetaObject::Call, int, void**) (this=0x55e1455ed3f0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffc35d8ec80) at .moc/moc_qaction.cpp:339
#16 0x00007f5582178889 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=this@entry=0x7ffc35d8ef70, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=10, argv=argv@entry=0x7ffc35d8ec80) at qml/qqmlobjectorgadget.cpp:51
#17 0x00007f558206532b in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., index=10, returnType=returnType@entry=43, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, engine=engine@entry=0x55e144da5af0, callArgs=0x7f55661644d8, callType=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1318
#18 0x00007f55820672f2 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=engine@entry=0x55e144da5af0, callArgs=callArgs@entry=0x7f55661644d8, callType=callType@entry=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1569
#19 0x00007f5582067fe1 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=0x7f55661644d0, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:2127
#20 0x00007f558206c5c2 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=0x7f55661644c8) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:202
#21 0x00007f558206c5c2 in QV4::FunctionObject::call(QV4::JSCallData const&) const (data=..., this=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:112
#22 0x00007f558206c5c2 in QV4::QObjectSlotDispatcher::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, metaArgs=0x7ffc35d8f2d0, ret=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:951
#23 0x00007f557e8526d7 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc35d8f2d0, r=0x55e145659c80, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 0x00007f557e8526d7 in doActivate<false>(QObject*, int, void**) (sender=0x55e145659c80, signal_index=4, argv=0x7ffc35d8f2d0) at kernel/qobject.cpp:3870
#25 0x00007f557e84cf92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55e145659c80, m=m@entry=0x7f558023d340 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc35d8f2d0) at kernel/qobject.cpp:3930
#26 0x00007f557fb554a2 in QAction::triggered(bool) (this=this@entry=0x55e145659c80, _t1=<optimized out>) at .moc/moc_qaction.cpp:381
#27 0x00007f557fb57b0c in QAction::activate(QAction::ActionEvent) (this=0x55e145659c80, event=<optimized out>) at kernel/qaction.cpp:1161
#28 0x00007f5566dbb13f in QAction::trigger() (this=0x55e145659c80) at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:187
#29 0x00007f5566dbb13f in AppletInterface::event(QEvent*) (this=0x55e144fcb780, event=0x7ffc35d8fae0) at ./src/scriptengines/qml/plasmoid/appletinterface.cpp:784
#30 0x00007f557fb5b9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55e144c96db0, receiver=receiver@entry=0x55e144fcb780, e=e@entry=0x7ffc35d8fae0) at kernel/qapplication.cpp:3685
#31 0x00007f557fb62bb0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc35d8ff40, receiver=0x55e144fcb780, e=0x7ffc35d8fae0) at kernel/qapplication.cpp:3431
#32 0x00007f557e8174a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e144fcb780, event=0x7ffc35d8fae0) at kernel/qcoreapplication.cpp:1075
#33 0x00007f557e81767e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x55e144fcb780, event=event@entry=0x7ffc35d8fae0) at kernel/qcoreapplication.cpp:1470
#34 0x00007f558278013f in QQuickWindowPrivate::deliverKeyEvent(QKeyEvent*) (this=this@entry=0x55e144e05470, e=e@entry=0x7ffc35d8fae0) at items/qquickwindow.cpp:1806
#35 0x00007f55827855bf in QQuickWindow::keyPressEvent(QKeyEvent*) (this=<optimized out>, e=e@entry=0x7ffc35d8fae0) at items/qquickwindow.cpp:1782
#36 0x000055e14353d906 in DesktopView::keyPressEvent(QKeyEvent*) (this=<optimized out>, e=0x7ffc35d8fae0) at ./shell/desktopview.cpp:246
#37 0x00007f557ee1fc05 in QWindow::event(QEvent*) (this=this@entry=0x55e144e1f0b0, ev=ev@entry=0x7ffc35d8fae0) at kernel/qwindow.cpp:2363
#38 0x00007f5582790975 in QQuickWindow::event(QEvent*) (this=0x55e144e1f0b0, e=0x7ffc35d8fae0) at items/qquickwindow.cpp:1773
#39 0x00007f557fb5b9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55e144c96db0, receiver=receiver@entry=0x55e144e1f0b0, e=e@entry=0x7ffc35d8fae0) at kernel/qapplication.cpp:3685
#40 0x00007f557fb62bb0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc35d8ff40, receiver=0x55e144e1f0b0, e=0x7ffc35d8fae0) at kernel/qapplication.cpp:3431
#41 0x00007f557e8174a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e144e1f0b0, event=0x7ffc35d8fae0) at kernel/qcoreapplication.cpp:1075
#42 0x00007f557e81768e in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=receiver@entry=0x55e144e1f0b0, event=event@entry=0x7ffc35d8fae0) at kernel/qcoreapplication.cpp:1482
#43 0x00007f557ee1105b in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) (e=0x55e149889ca0) at kernel/qguiapplication.cpp:2335
#44 0x00007f557ee159c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x55e149889ca0) at kernel/qguiapplication.cpp:1941
#45 0x00007f557edee1cb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#46 0x00007f5571be6f9a in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#47 0x00007f5577831417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f5577831650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f55778316dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f557e8767ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55e144cf7310, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#51 0x00007f557e815d2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc35d8fde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#52 0x00007f557e81f4a0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1383
#53 0x000055e14353215f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:224

Possible duplicates by query: bug 424314, bug 424232, bug 424171, bug 424122, bug 423983.

Reported using DrKonqi
Comment 1 Nate Graham 2021-03-02 04:14:35 UTC
Same root cause as Bug 427776.

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