| Summary: | Plasmashell crashes after changing the wallpaper from slideshow to plain color | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | John Eric <johneric> |
| Component: | Image & Slideshow wallpaper plugins | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | lee295012, mrjptux, nate, plasma-bugs-null, qydwhotmail |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 5.22.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/77fedf1f9919eb2cc07c8ecccdd70ad2a7343161 | Version Fixed/Implemented In: | 5.90 |
| Sentry Crash Report: | |||
|
Description
John Eric
2021-11-28 12:44:00 UTC
Can reproduce. It could be "Next Wallpaper Image" not being deleted. (gdb) bt
#0 QList<QWidget*>::append(QWidget* const&) (this=0x100000100, t=@0x7fffffffcc30: 0x7fffe40605d0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:622
#1 0x00007ffff6a3fe30 in QWidget::insertAction(QAction*, QAction*) (this=0x7fffe40605d0, before=<optimized out>, action=0x5555560f2d90) at kernel/qwidget.cpp:3129
#2 0x00007ffff6a3ff56 in QWidget::addActions(QList<QAction*>) (this=this@entry=0x7fffe40605d0, actions=...) at kernel/qwidget.cpp:3098
#3 0x00007ffff00c7537 in ContainmentInterface::addContainmentActions(QMenu*, QEvent*) (this=this@entry=0x555555da1900, desktopMenu=desktopMenu@entry=0x7fffe40605d0, event=event@entry=0x7fffffffd380)
at /usr/src/debug/plasma-framework-5.89.0git.20211202T174329~a871333d9-ku.12.1.x86_64/src/scriptengines/qml/plasmoid/containmentinterface.cpp:1135
#4 0x00007ffff00c841e in ContainmentInterface::mousePressEvent(QMouseEvent*) (this=0x555555da1900, event=<optimized out>)
at /usr/src/debug/plasma-framework-5.89.0git.20211202T174329~a871333d9-ku.12.1.x86_64/src/scriptengines/qml/plasmoid/containmentinterface.cpp:943
#5 0x00007ffff778a988 in QQuickItem::event(QEvent*) (this=0x555555da1900, ev=0x7fffffffd380) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-ku.1.1.x86_64/src/quick/items/qquickitem.cpp:8221
#6 0x00007ffff6a07a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555555da1900, e=0x7fffffffd380) at kernel/qapplication.cpp:3632
#7 0x00007ffff5c699fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555da1900, event=0x7fffffffd380) at kernel/qcoreapplication.cpp:1064
#8 0x00007ffff77a6d16 in QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem*, QQuickPointerEvent*, bool) (this=this@entry=0x555555dd32f0, item=0x555555da1900, pointerEvent=pointerEvent@entry=
0x555558604f70, handlersOnly=handlersOnly@entry=false) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2903
#9 0x00007ffff77a7eaf in QQuickWindowPrivate::deliverPressOrReleaseEvent(QQuickPointerEvent*, bool) (this=<optimized out>, event=<optimized out>, handlersOnly=false)
at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2855
#10 0x00007ffff77a8cad in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x555555dd32f0, pointerEvent=0x555558604f70)
at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2040
#11 0x00007ffff77a9f2b in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=0x555555dd32f0, event=0x555558604f70)
at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2612
#12 0x00007ffff60d45e5 in QWindow::event(QEvent*) (this=0x555555dbfb40, ev=<optimized out>) at kernel/qwindow.cpp:2438
#13 0x00007ffff6a07a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555555dbfb40, e=0x7fffffffd380) at kernel/qapplication.cpp:3632
#14 0x00007ffff5c699fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555dbfb40, event=0x7fffffffd380) at kernel/qcoreapplication.cpp:1064
#15 0x00007ffff60c85c7 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55555871d670) at kernel/qguiapplication.cpp:2282
#16 0x00007ffff609e78c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#17 0x00007ffff1116d0a in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=source@entry=0x5555556ebb30) at qxcbeventdispatcher.cpp:105
#18 0x00007ffff3f86d4f in g_main_dispatch (context=0x7fffec005000) at ../glib/gmain.c:3381
#19 g_main_context_dispatch (context=0x7fffec005000) at ../glib/gmain.c:4099
#20 0x00007ffff3f870d8 in g_main_context_iterate (context=context@entry=0x7fffec005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#21 0x00007ffff3f8718f in g_main_context_iteration (context=0x7fffec005000, may_block=1) at ../glib/gmain.c:4240
#22 0x00007ffff5cc0ed4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555556f6800, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007ffff5c683fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd6b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007ffff5c706e0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007ffff60bc18c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#26 0x00007ffff6a079f5 in QApplication::exec() () at kernel/qapplication.cpp:2824
#27 0x0000555555579611 in main(int, char**) (argc=<optimized out>, argv=0x7fffffffd870) at /usr/src/debug/plasma5-workspace-5.23.80git.20211130T213720~747076d71-ku.67.1.x86_64/shell/main.cpp:238
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/406 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1246 Git commit 9b37459570f75e09f17aadf32f7abfe8b8d4d1e0 by Fushan Wen. Committed on 04/12/2021 at 10:48. Pushed by fusionfuture into branch 'master'. wallpaperinterface: Don't double delete action `removeAction` already deletes the action, it makes no sense to delete the action again and will crash plasmashell. M +0 -1 src/scriptengines/qml/plasmoid/wallpaperinterface.cpp https://invent.kde.org/frameworks/plasma-framework/commit/9b37459570f75e09f17aadf32f7abfe8b8d4d1e0 Git commit 77fedf1f9919eb2cc07c8ecccdd70ad2a7343161 by Fushan Wen. Committed on 05/12/2021 at 00:51. Pushed by ngraham into branch 'master'. wallpaperinterface: Update "contextualActions" after clearing actions After clearing the entire action collection, "contextualActions" needs to be updated to remove invalid action pointers. M +1 -0 src/scriptengines/qml/plasmoid/wallpaperinterface.cpp https://invent.kde.org/frameworks/plasma-framework/commit/77fedf1f9919eb2cc07c8ecccdd70ad2a7343161 The patch was not merged into 5.89. Delayed to 5.90. *** Bug 421316 has been marked as a duplicate of this bug. *** |