Bug 481639 - Plasmashell crash on "plasmashell --replace"
Summary: Plasmashell crash on "plasmashell --replace"
Status: RESOLVED DUPLICATE of bug 477165
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.10
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-02-21 21:33 UTC by jcruz
Modified: 2024-02-22 06:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jcruz 2024-02-21 21:33:05 UTC
Application: plasmashell (5.27.10)

Qt Version: 5.15.11
Frameworks Version: 5.113.0
Operating System: Linux 6.7.4-100.fc38.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora release 38 (Thirty Eight)"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Sometimes I have to restart plasmashell for the night light widget successfully activate the night light. 
I restart plasma from the terminal using "plasmashell --replace", and sometimes it crashes when restarting. This doesn't stop the restart procedure, since 2 seconds after the crash, plasma comes to life again (i.e., the crashing plasma is restarted automatically).
I can't distinguish anything different in what I do between the times when I restart it and it crashes, and the times when I restart it and it doesn't crash.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f2d8c788180 in QArrayData::shared_null () at /lib64/libQt5Core.so.5
#5  0x00007f2d6195f946 in EventPluginsManager::~EventPluginsManager() () at /usr/lib64/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
#6  0x00007f2d6195fad7 in QQmlPrivate::QQmlElement<EventPluginsManager>::~QQmlElement() () at /usr/lib64/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
#7  0x00007f2d8c6dd7eb in QObjectPrivate::deleteChildren() () at /lib64/libQt5Core.so.5
#8  0x00007f2d8c6e5488 in QObject::~QObject() () at /lib64/libQt5Core.so.5
#9  0x00007f2d7938468d in QQuickContentItem::~QQuickContentItem() [clone .lto_priv.0] () at /lib64/libQt5QuickTemplates2.so.5
#10 0x00007f2d8c6dd7eb in QObjectPrivate::deleteChildren() () at /lib64/libQt5Core.so.5
#11 0x00007f2d8c6e5488 in QObject::~QObject() () at /lib64/libQt5Core.so.5
#12 0x00007f2d701a8eb1 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement() () at /usr/lib64/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#13 0x00007f2d8ed57a13 in PlasmaQuick::AppletQuickItem::~AppletQuickItem() () at /lib64/libKF5PlasmaQuick.so.5
#14 0x00007f2d789f8fc5 in AppletInterface::~AppletInterface() () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#15 0x00007f2d8c6dd7eb in QObjectPrivate::deleteChildren() () at /lib64/libQt5Core.so.5
#16 0x00007f2d8c6e5488 in QObject::~QObject() () at /lib64/libQt5Core.so.5
#17 0x00007f2d789f7c87 in DeclarativeAppletScript::~DeclarativeAppletScript() () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#18 0x00007f2d8eac4c82 in Plasma::AppletPrivate::~AppletPrivate() () at /lib64/libKF5Plasma.so.5
#19 0x00007f2d8eab63ac in Plasma::Applet::~Applet() () at /lib64/libKF5Plasma.so.5
#20 0x00007f2d8eab6405 in Plasma::Applet::~Applet() () at /lib64/libKF5Plasma.so.5
#21 0x00007f2d8c6dd7eb in QObjectPrivate::deleteChildren() () at /lib64/libQt5Core.so.5
#22 0x00007f2d8c6e5488 in QObject::~QObject() () at /lib64/libQt5Core.so.5
#23 0x00007f2d8eab66d5 in Plasma::Containment::~Containment() () at /lib64/libKF5Plasma.so.5
#24 0x0000564c3f63e63b in ShellCorona::~ShellCorona() ()
#25 0x0000564c3f63e9e5 in ShellCorona::~ShellCorona() ()
#26 0x00007f2d8c6deef9 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#27 0x00007f2d8d3aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#28 0x00007f2d8c6b4538 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#29 0x00007f2d8c6b79e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#30 0x00007f2d8c6bb1a5 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#31 0x0000564c3f61862a in main ()
[Inferior 1 (process 2321) detached]

The reporter indicates this bug may be a duplicate of or related to bug 477165.

Reported using DrKonqi
Comment 1 Bug Janitor Service 2024-02-21 23:30:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3959
Comment 2 Harald Sitter 2024-02-22 06:25:37 UTC

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