Bug 468428

Summary: plasmashell crashed at Plasma::AppletPrivate::mainConfigGroup
Product: [Frameworks and Libraries] libplasma Reporter: Fushan Wen <qydwhotmail>
Component: libplasmaAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: me, nate, notmart
Priority: NOR Keywords: qt6
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fushan Wen 2023-04-12 16:58:40 UTC
SUMMARY
random plasmashell crashes in Qt6


STEPS TO REPRODUCE
Cannot reliably reproduce

OBSERVED RESULT
Crash

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:  6.5.0

ADDITIONAL INFORMATION
(gdb) bt
#0  QObject::parent (this=0x0) at /usr/include/qt6/QtCore/qscopedpointer.h:89
#1  Plasma::Applet::containment (this=<optimized out>) at /home/qydw/kde/src/plasma-framework/src/plasma/applet.cpp:647
#2  0x00007f6d640c7eca in Plasma::AppletPrivate::mainConfigGroup (this=0x5b0c510)
    at /home/qydw/kde/src/plasma-framework/src/plasma/private/applet_p.cpp:481
#3  0x00007f6d640afd45 in Plasma::Applet::config (this=0x4e63ca0) at /home/qydw/kde/src/plasma-framework/src/plasma/applet.cpp:198
#4  0x00007f6d643b7bf9 in PlasmaQuick::AppletQuickItem::~AppletQuickItem (this=0x54817e0, __in_chrg=<optimized out>)
    at /home/qydw/kde/src/plasma-framework/src/plasmaquick/appletquickitem.cpp:501
#5  0x00007f6d643e5a29 in AppletInterface::~AppletInterface (warning: internal error: string "StringData<...>" failed to be canonicalized
warning: internal error: string "QtMocHelpers::StringData<...>" failed to be canonicalized
this=0x54817e0, __in_chrg=<optimized out>)
    at /home/qydw/kde/src/plasma-framework/src/plasmaquick/plasmoid/appletinterface.cpp:124
#6  0x00007f6d643b7f22 in operator() (__closure=0x6406aa0) at /home/qydw/kde/src/plasma-framework/src/plasmaquick/appletquickitem.cpp:573
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
#8  QtPrivate::Functor<PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (
    arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:241
#9  QtPrivate::QFunctorSlotObject<PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x6406a90, r=<optimized out>, 
    a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:409
#10 0x00007f6d60fbacc3 in QtPrivate::QSlotObjectBase::call (a=0x7ffe40452df0, r=0x4e63ca0, this=0x6406a90)
    at /usr/src/debug/qtbase-everywhere-src-6.5.0/build/include/QtCore/../../../src/corelib/kernel/qobjectdefs_impl.h:363
#11 doActivate<false> (sender=0x4e63ca0, signal_index=0, argv=0x7ffe40452df0)
    at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/corelib/kernel/qobject.cpp:3992
#12 0x00007f6d60fb69cf in QObject::destroyed (this=<optimized out>, _t1=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.5.0/build/src/corelib/kernel/moc_qobject.cpp:266
#13 0x00007f6d60fa394c in QObject::~QObject (this=<optimized out>, this=<optimized out>)
    at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/corelib/kernel/qobject.cpp:1014
#14 0x00007f6d640ae789 in Plasma::Applet::~Applet (this=0x4e63ca0, __in_chrg=<optimized out>)
    at /home/qydw/kde/src/plasma-framework/src/plasma/applet.cpp:83
#15 0x00007f6d60fa4407 in QObject::event (this=0x4e63ca0, e=0x6767d90)
    at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/corelib/kernel/qobject.cpp:1378
#16 0x00007f6d621bec9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x4e63ca0, e=0x6767d90)
    at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/widgets/kernel/qapplication.cpp:3284
#17 0x00007f6d60f64db8 in QCoreApplication::notifyInternal2 (receiver=0x4e63ca0, event=0x6767d90)
--Type <RET> for more, q to quit, c to continue without paging--c
    at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/corelib/kernel/qcoreapplication.cpp:1115
#18 0x00007f6d60f650f7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1733860) at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/corelib/kernel/qcoreapplication.cpp:1895
#19 0x00007f6d61152dd3 in postEventSourceDispatch (s=0x17cd4a0) at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#20 0x00007f6d600f2f96 in g_main_dispatch (context=0x7f6d58000f10) at ../glib/gmain.c:3460
#21 g_main_context_dispatch (context=context@entry=0x7f6d58000f10) at ../glib/gmain.c:4200
#22 0x00007f6d600f3358 in g_main_context_iterate (context=context@entry=0x7f6d58000f10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#23 0x00007f6d600f33ec in g_main_context_iteration (context=0x7f6d58000f10, may_block=1) at ../glib/gmain.c:4343
#24 0x00007f6d6115092c in QEventDispatcherGlib::processEvents (this=0x17c9fb0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#25 0x00007f6d60f6f68b in QEventLoop::exec (this=0x7ffe404532d0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.5.0/build/include/QtCore/../../../src/corelib/global/qflags.h:34
#26 0x00007f6d60f68b96 in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.5.0/build/include/QtCore/../../../src/corelib/global/qflags.h:74
#27 0x00007f6d615dc59c in QGuiApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/gui/kernel/qguiapplication.cpp:1886
#28 0x00007f6d621bc095 in QApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.5.0/src/widgets/kernel/qapplication.cpp:2564
#29 0x0000000000426bb3 in main (argc=<optimized out>, argv=<optimized out>) at /home/qydw/kde/src/plasma-workspace/shell/main.cpp:232
Comment 1 Nate Graham 2023-07-16 08:06:17 UTC
Haven't seen this; are you still seeing it at all?
Comment 2 Bug Janitor Service 2023-07-31 03:44:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2023-08-15 03:45:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!