Bug 460452 - plasmashell crashes when using Standard Latte Menu containment action
Summary: plasmashell crashes when using Standard Latte Menu containment action
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-10-14 22:18 UTC by Nicolas Fella
Modified: 2024-05-30 11:18 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2022-10-14 22:18:57 UTC
Application: plasmashell (5.26.80)
 (Compiled from sources)
Qt Version: 5.15.5
Frameworks Version: 5.100.0
Operating System: Linux 5.19.14-200.fc36.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.26.0 [KCrashBackend]

-- Information about the crash:
- Right click on desktop
- Configure wallpaper
- Go to Mouse Actions
- Add a new action, choose "Standard Latte Menu" and assign to middle mouse button
- Click middle mouse button on desktop

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  QArrayData::data() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/text/qstring.h:277
#6  QTypedArrayData<unsigned short>::data() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#7  QString::constData() const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/text/qstring.h:1086
#8  (anonymous namespace)::splitString<QStringList, QString>(QString const&, QChar const*, Qt::SplitBehavior, Qt::CaseSensitivity, int) (source=..., sep=0x5444288, behavior=..., cs=Qt::CaseSensitive, separatorSize=2) at text/qstring.cpp:7818
#9  0x00007fc13ab50787 in QString::split(QString const&, QFlags<Qt::SplitBehaviorFlags>, Qt::CaseSensitivity) const (this=this@entry=0x42f4238, sep=..., behavior=..., behavior@entry=..., cs=cs@entry=Qt::CaseSensitive) at text/qstring.cpp:7873
#10 0x00007fc09b7e28fa in Menu::contextualActions() (this=0x6edaaa0) at /home/nico/kde/src/latte-dock/containmentactions/contextmenu/menu.cpp:235
#11 0x00007fc120147ffb in ContainmentInterface::mousePressEvent(QMouseEvent*) (this=0x2924060, event=0x7ffd37693860) at /home/nico/kde/src/plasma-framework/src/scriptengines/qml/plasmoid/containmentinterface.cpp:908
#12 0x00007fc13cd67b38 in QQuickItem::event(QEvent*) (this=0x2924060, ev=0x7ffd37693860) at items/qquickitem.cpp:8284
#13 0x00007fc13bbc434e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x2924060, e=0x7ffd37693860) at kernel/qapplication.cpp:3637
#14 0x00007fc13ac96708 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x2924060, event=0x7ffd37693860) at kernel/qcoreapplication.cpp:1064
#15 0x00007fc13cd7f6d0 in QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem*, QQuickPointerEvent*, bool) (this=this@entry=0x2bbe050, item=item@entry=0x2924060, pointerEvent=pointerEvent@entry=0x4e29830, handlersOnly=handlersOnly@entry=false) at items/qquickwindow.cpp:2908
#16 0x00007fc13cd8079a in QQuickWindowPrivate::deliverPressOrReleaseEvent(QQuickPointerEvent*, bool) (this=<optimized out>, event=0x4e29830, handlersOnly=false) at items/qquickwindow.cpp:2860
#17 0x00007fc13cd8152d in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x2bbe050, pointerEvent=0x4e29830) at items/qquickwindow.cpp:2045
#18 0x00007fc13cd82579 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=0x2bbe050, event=0x4e29830) at items/qquickwindow.cpp:2617
#19 0x00007fc13b0c25fb in QWindow::event(QEvent*) (this=0x2c2a160, ev=<optimized out>) at kernel/qwindow.cpp:2438
#20 0x00007fc13bbc434e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x2c2a160, e=0x7ffd37693860) at kernel/qapplication.cpp:3637
#21 0x00007fc13ac96708 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x2c2a160, event=0x7ffd37693860) at kernel/qcoreapplication.cpp:1064
#22 0x00007fc13b0b775c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7fc11c006c60) at kernel/qguiapplication.cpp:2285
#23 0x00007fc13b08c3bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#24 0x00007fc13a32f170 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qeventdispatcher_glib.cpp:74
#25 0x00007fc137906faf in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#26 0x00007fc13795c2c8 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#27 0x00007fc137904940 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#28 0x00007fc13acea956 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x22d23a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007fc13ac952eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd37693be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007fc13ac9cdf2 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007fc13b0aba4c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#32 0x00007fc13bbc42c5 in QApplication::exec() () at kernel/qapplication.cpp:2829
#33 0x0000000000422c99 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nico/kde/src/plasma-workspace/shell/main.cpp:235
[Inferior 1 (process 181631) detached]

Reported using DrKonqi
Comment 2 Nate Graham 2022-10-16 00:17:01 UTC
Not a Latte issue?