Bug 486633 - Crash on plasmashell --replace
Summary: Crash on plasmashell --replace
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.8
Platform: Kubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-05-05 17:56 UTC by nahoj
Modified: 2024-05-06 21:39 UTC (History)
2 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 nahoj 2024-05-05 17:56:14 UTC
Application: plasmashell (5.27.8)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.0-28-generic x86_64
Windowing System: X11
Distribution: Ubuntu 23.10
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
Crashed as I ran `plasmashell --replace` in krunner because I felt it was using too much RAM (>1Go)(but the new instance used the same amount).

The crash does not seem to be reproducible.

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

[KCrash Handler]
#4  0x0000000000000018 in ??? ()
#5  0x000076f69396deb6 in ??? () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
#6  0x000076f69396e1b4 in ??? () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
#7  0x000076f69396658f in ??? () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
#8  0x000076f6e88f746e in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x000076f6e8903a94 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x000076f6e2a12f55 in ??? () at /lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#11 0x000076f6e88f746e in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x000076f6e8903a94 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x000076f6953b79c9 in ??? () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#14 0x000076f6eaef621d in PlasmaQuick::AppletQuickItem::~AppletQuickItem() () at /lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#15 0x000076f6dbf9377d in ??? () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#16 0x000076f6e88f746e in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x000076f6e8903a94 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x000076f6dbf8c8dd in ??? () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#19 0x000076f6eac3f9d8 in ??? () at /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#20 0x000076f6eac3fbdd in ??? () at /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#21 0x000076f6eac29176 in Plasma::Applet::~Applet() () at /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#22 0x000076f6eac2919d in Plasma::Applet::~Applet() () at /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#23 0x000076f6e88f746e in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x000076f6e8903a94 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x000076f6eac2ed2d in Plasma::Containment::~Containment() () at /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#26 0x0000599dbaff7920 in ??? ()
#27 0x0000599dbaff7bfd in ??? ()
#28 0x000076f6e88f976b in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000076f6e956bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x000076f6e88cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000076f6e88cfeb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x000076f6e88d391e in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x0000599dbafc4a34 in ??? ()
#34 0x000076f6e7e28150 in __libc_start_call_main (main=main@entry=0x599dbafc3b50, argc=argc@entry=2, argv=argv@entry=0x7fffad808188) at ../sysdeps/nptl/libc_start_call_main.h:58
#35 0x000076f6e7e28209 in __libc_start_main_impl (main=0x599dbafc3b50, argc=2, argv=0x7fffad808188, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffad808178) at ../csu/libc-start.c:360
#36 0x0000599dbafc4b55 in ??? ()
[Inferior 1 (process 34590) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2024-05-05 20:33:17 UTC
Thank you for the bug report! Unfortunately I can't reproduce the crash myself on current git master, and the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

> #4  0x0000000000000018 in ??? ()
> #5  0x000076f69396deb6 in ??? () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
> #6  0x000076f69396e1b4 in ??? () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
> #7  0x000076f69396658f in ??? () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so

Could you please install debug symbols for Plasma and attach a new symbolicated backtrace generated by using `coredumpctl gdb` in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.

Thanks again!
Comment 2 nahoj 2024-05-05 22:08:33 UTC
(In reply to Nate Graham from comment #1)
> Could you please install debug symbols for Plasma and attach a new
> symbolicated backtrace generated by using `coredumpctl gdb` in a terminal
> window? See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
> for details about how to do this.

Thank you for your reply. I'm afraid I didn't have systemd-coredump and instead had apport. I ran
> apport-retrace -g /var/crash/_usr_bin_plasmashell.1000.crash
which downloaded a bunch of debug symbols including 
> Downloading separate debug info for /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/workspace/calendar/libcalendarplugin.so
but gdb still produced the exact same backtrace.

Is there anything else I can do?
Comment 3 Nate Graham 2024-05-06 20:58:33 UTC
Does anything in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Ubuntu-based_distros_(Ubuntu,_Kubuntu,_KDE_Neon,_Linux_Mint) help?

If not, then ask your distro how to install debug symbols properly, I guess. And then update that page! :)
Comment 4 nahoj 2024-05-06 21:09:59 UTC
Alright, well, I don't think I want to spend the time right now for a bug that I can't reproduce, but if I do I'll give an update of course.
Best
Comment 5 Nate Graham 2024-05-06 21:39:35 UTC
Ok, fair enough.