Bug 470191 - Crash in Configure Desktop and Wallpaper when Latte Dock is installed
Summary: Crash in Configure Desktop and Wallpaper when Latte Dock is installed
Status: REPORTED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-24 04:30 UTC by tildearrow
Modified: 2023-05-24 17:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tildearrow 2023-05-24 04:30:04 UTC
SUMMARY

plasmashell will crash if plasma_containmentactions_lattecontextmenu.so loads by going to Configure Desktop and Wallpaper... > Mouse Actions.
I don't know whether to report it as a plasmashell bug or a latte-dock one, so I reported it as plasmashell.
May not reproduce all the time.

Backtrace:

```
(gdb) backtrace
#0  0x00007fff7fc93b42 in  () at /usr/lib/qt/plugins/plasma_containmentactions_lattecontextmenu.so
#1  0x00007fff7fc9624b in  () at /usr/lib/qt/plugins/plasma_containmentactions_lattecontextmenu.so
#2  0x00007ffff5cecfe7 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7fffffffda20, r=<optimized out>, this=0x555558e39a80, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#3  doActivate<false>(QObject*, int, void**) (sender=0x555555f5cc60, signal_index=13, argv=0x7fffffffda20)
    at kernel/qobject.cpp:3923
#4  0x00007ffff7ca72e7 in Plasma::Applet::userConfiguringChanged(bool)
    (this=<optimized out>, _t1=<optimized out>, _t1@entry=false)
    at /usr/src/debug/plasma-framework/build/src/plasma/KF5Plasma_autogen/include/moc_applet.cpp:598
#5  0x00007ffff7ca85c9 in Plasma::Applet::setUserConfiguring(bool)
    (this=<optimized out>, configuring=configuring@entry=false)
    at /usr/src/debug/plasma-framework/plasma-framework-5.106.0/src/plasma/applet.cpp:585
#6  0x00007ffff7f5dd51 in PlasmaQuick::ConfigView::~ConfigView() (this=0x55555a1877a0, this=<optimized out>)
    at /usr/src/debug/plasma-framework/plasma-framework-5.106.0/src/plasmaquick/configview.cpp:284
#7  0x000055555558422a in ContainmentConfigView::~ContainmentConfigView()
    (this=0x55555a1877a0, this=<optimized out>)
    at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.5/shell/containmentconfigview.cpp:62
#8  ContainmentConfigView::~ContainmentConfigView() (this=0x55555a1877a0, this=<optimized out>)
    at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.5/shell/containmentconfigview.cpp:62
#9  0x00007ffff5cdf65e in QObject::event(QEvent*) (this=0x55555a1877a0, e=0x555558bab1e0)
    at kernel/qobject.cpp:1334
#10 0x00007ffff693593f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff5cb7b18 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    (receiver=0x55555a1877a0, event=0x555558bab1e0) at kernel/qcoreapplication.cpp:1064
#12 0x00007ffff5cbca7b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
    (receiver=0x0, event_type=0, data=0x55555562fa70) at kernel/qcoreapplication.cpp:1821
#13 0x00007ffff5d03088 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x555555707410)
    at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007ffff470c53b in g_main_dispatch (context=0x7fffe8000ee0) at ../glib/glib/gmain.c:3460
#15 g_main_context_dispatch (context=0x7fffe8000ee0) at ../glib/glib/gmain.c:4200
#16 0x00007ffff4769219 in g_main_context_iterate.constprop.0
    (context=0x7fffe8000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#17 0x00007ffff470b1a2 in g_main_context_iteration (context=0x7fffe8000ee0, may_block=1)
    at ../glib/glib/gmain.c:4343
#18 0x00007ffff5d06f0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    (this=0x55555570f800, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#19 0x00007ffff5cb6824 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
    (this=this@entry=0x7fffffffdeb0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007ffff5cb7cc3 in QCoreApplication::exec() ()
    at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x000055555557816c in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.5/shell/main.cpp:235
```


STEPS TO REPRODUCE
1. Install Latte Dock 0.10.9.
2. Right click on desktop and select Configure Desktop and Wallpaper.
3. Go to Mouse Actions.
4. Change (or add) one of the actions. Set the action to Standard Latte Menu. When this happens, plasma_containmentactions_lattecontextmenu.so will be loaded into memory.
5. Click OK. plasmashell will crash.

OBSERVED RESULT
Crash.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.107.62.realtime1-2-rt-lts (64-bit)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
N/A