Bug 513312

Summary: Starting apps can make Plasmashell assert in SmartLauncher::Backend::update()
Product: [Plasma] plasmashell Reporter: PK <pieterkristensen>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: nate, nicolas.fella, qydwhotmail
Priority: HI    
Version First Reported In: 6.5.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.6
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/307314/
Attachments: automatically generated debug rapport

Description PK 2025-12-13 19:13:00 UTC
Created attachment 187597 [details]
automatically generated debug rapport

When Elisa is almost done with starting plasmashell crashes always.

SUMMARY


STEPS TO REPRODUCE
1. startup Elisa
2. wait until it's almost done
 

OBSERVED RESULT
Plasmashell crashes (and restarts automatically)

EXPECTED RESULT
Plasmashell doesn't crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.14.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 8 GiB of RAM (7.6 GiB usable)
Graphics Processor: Intel® HD Graphics 520
Manufacturer: Dell Inc.
Product Name: Latitude 5480

ADDITIONAL INFORMATION
Comment 1 PK 2025-12-13 19:53:15 UTC
BUT
Now I'm trying again and experimenting a little and I discover that Elisa doesn't make plasma crash when I move the initial view from Albums to Artist.
But now it comes... when I move the initial view back to Albums plasma also doesn't crash at startup!
In other words: 
it could very well be that my old Elisa user profile was to blame.
I will look at Elisa with a sharp eye in the coming time and when there is reason to think the old user profile is not to blame I will return to this bug rapport.
Thank you.
Comment 2 PK 2025-12-13 20:05:14 UTC
Oh no, I spoke too soon. Plasma still crashes during the starup of Elisa.
Even after I deleted my elisa user profile in ~/.local and elisarc in the folder ~/.config
Comment 3 Nicolas Fella 2025-12-14 12:54:12 UTC
The crash report you attached seems to be incomplete.

Please use DrKonqi to submit crash reports or follow https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 4 PK 2025-12-14 14:14:40 UTC
(In reply to Nicolas Fella from comment #3)
> The crash report you attached seems to be incomplete.
> 
> Please use DrKonqi to submit crash reports or follow
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports

Is DrKonqi the automatic tool that pops up after the crash?
Because I'll try that again right away. I'll write PK in the comment too...
Comment 5 PK 2025-12-14 14:32:19 UTC
I just sent you an automatically generated crash rapport and typed in:

Elisa makes Plasma crash PK

I hope this one will help.
Comment 6 Bug Janitor Service 2025-12-29 03:46:39 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Nicolas Fella 2025-12-30 12:56:38 UTC
0   libc.so.6                       0x7310e329eb2c      [inlined] __pthread_kill_implementation (pthread_kill.c:44)
1   libc.so.6                       0x7310e329eb2c      [inlined] __pthread_kill_internal (pthread_kill.c:78)
2   libc.so.6                       0x7310e329eb2c      __GI___pthread_kill (pthread_kill.c:89)
3   libc.so.6                       0x7310e329eb2b      [inlined] __pthread_kill_implementation (pthread_kill.c:43)
4   libc.so.6                       0x7310e329eb2b      [inlined] __pthread_kill_internal (pthread_kill.c:78)
5   libc.so.6                       0x7310e329eb2b      [inlined] __GI___pthread_kill (pthread_kill.c:89)
6   libc.so.6                       0x7310e329eb2b      [inlined] __pthread_kill_implementation (pthread_kill.c:43)
7   libc.so.6                       0x7310e329eb2b      [inlined] __pthread_kill_internal (pthread_kill.c:78)
8   libc.so.6                       0x7310e329eb2b      __GI___pthread_kill (pthread_kill.c:89)
9   libc.so.6                       0x7310e324527d      __GI_raise (raise.c:26)
10  libc.so.6                       0x7310e32288fe      __GI_abort (abort.c:79)
11  libQt6Core.so.6                 0x7310e3f32890      [inlined] qAbort (qassert.cpp:46)
12  libQt6Core.so.6                 0x7310e3f32890      [inlined] qt_maybe_message_fatal<T> (qlogging.cpp:2166)
13  libQt6Core.so.6                 0x7310e3f32890      [inlined] qt_message (qlogging.cpp:412)
14  libQt6Core.so.6                 0x7310e3f32890      [inlined] qAbort (qassert.cpp:46)
15  libQt6Core.so.6                 0x7310e3f32890      [inlined] qt_maybe_message_fatal<T> (qlogging.cpp:2166)
16  libQt6Core.so.6                 0x7310e3f32890      [inlined] qt_message (qlogging.cpp:412)
17  libQt6Core.so.6                 0x7310e3f32890      [inlined] qAbort (qassert.cpp:46)
18  libQt6Core.so.6                 0x7310e3f32890      [inlined] qt_maybe_message_fatal<T> (qlogging.cpp:2166)
19  libQt6Core.so.6                 0x7310e3f32890      qt_message (qlogging.cpp:412)
20  libQt6Core.so.6                 0x7310e3f33652      QMessageLogger::fatal (qlogging.cpp:901)
21  libQt6Core.so.6                 0x7310e3f2101f      qt_assert (qassert.cpp:113)
22  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:516)
23  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:497)
24  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:565)
25  libtaskmanagerplugin.so         0x731040606b3c      [inlined] SmartLauncher::Backend::update (smartlauncherbackend.cpp:212)
26  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:516)
27  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:497)
28  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:565)
29  libtaskmanagerplugin.so         0x731040606b3c      [inlined] SmartLauncher::Backend::update (smartlauncherbackend.cpp:212)
30  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:516)
31  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:497)
32  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:565)
33  libtaskmanagerplugin.so         0x731040606b3c      [inlined] SmartLauncher::Backend::update (smartlauncherbackend.cpp:212)
34  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:516)
35  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:497)
36  libtaskmanagerplugin.so         0x731040606b3c      [inlined] ? (qnumeric.h:565)
37  libtaskmanagerplugin.so         0x731040606b3c      SmartLauncher::Backend::update (smartlauncherbackend.cpp:212)
38  libtaskmanagerplugin.so         0x7310406113fc      SmartLauncher::Backend::qt_static_metacall (moc_smartlauncherbackend.cpp:124)
39  libtaskmanagerplugin.so         0x7310406114d1      SmartLauncher::Backend::qt_metacall (moc_smartlauncherbackend.cpp:168)
40  libQt6DBus.so.6                 0x7310e419552b      QDBusConnectionPrivate::deliverCall (qdbusintegrator.cpp:1008)
41  libQt6Core.so.6                 0x7310e3e32e0f      QObject::event (qobject.cpp:1413)
42  libQt6Widgets.so.6              0x7310e623d68c      QApplicationPrivate::notify_helper (qapplication.cpp:3305)
43  libQt6Core.so.6                 0x7310e3ed6ebf      QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1109)
44  libQt6Core.so.6                 0x7310e3ed6f0c      QCoreApplication::sendEvent (qcoreapplication.cpp:1549)
45  libQt6Core.so.6                 0x7310e3ed7190      QCoreApplicationPrivate::sendPostedEvents (qcoreapplication.cpp:1904)
46  libQt6Core.so.6                 0x7310e3c8852e      postEventSourceDispatch (qeventdispatcher_glib.cpp:246)
47  libglib-2.0.so.0                0x7310e25105c5      <unknown>
48  libglib-2.0.so.0                0x7310e256f737      <unknown>
49  libglib-2.0.so.0                0x7310e250fa63      g_main_context_iteration
50  libQt6Core.so.6                 0x7310e3c86fee      QEventDispatcherGlib::processEvents (qeventdispatcher_glib.cpp:399)
51  libQt6Core.so.6                 0x7310e3ee14e2      QEventLoop::exec (qeventloop.cpp:186)
52  libQt6Core.so.6                 0x7310e3edb62e      QCoreApplication::exec (qcoreapplication.cpp:1452)
53  libQt6Gui.so.6                  0x7310e44c75fc      QGuiApplication::exec (qguiapplication.cpp:1973)
54  libQt6Widgets.so.6              0x7310e623a1c8      QApplication::exec (qapplication.cpp:2575)
55  plasmashell                     0x6089262f82f7      main.cold (main.cpp:188)
Comment 8 Nate Graham 2026-01-28 21:33:07 UTC
Sentry says this is actually the #4 most common still-unresolved crash in plasmashell right now; moving to plasmashell and increasing the priority.
Comment 9 Bug Janitor Service 2026-01-29 12:02:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3496
Comment 10 Nate Graham 2026-01-30 20:43:10 UTC
Git commit e13b07de49cf37ad9ad14ccea6948ab052931fa1 by Nate Graham, on behalf of David Edmundson.
Committed on 30/01/2026 at 19:00.
Pushed by ngraham into branch 'master'.

applets/taskmanager: Guard external input for progress

qRound(infinite) will assert, guard appropriately

M  +6    -1    applets/taskmanager/smartlauncherbackend.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/e13b07de49cf37ad9ad14ccea6948ab052931fa1
Comment 11 Nate Graham 2026-01-30 21:12:31 UTC
Git commit d02b6ab312e391695ea17fda8489002daa93cbb7 by Nate Graham.
Committed on 30/01/2026 at 20:43.
Pushed by ngraham into branch 'Plasma/6.6'.

applets/taskmanager: Guard external input for progress

qRound(infinite) will assert, guard appropriately


(cherry picked from commit e13b07de49cf37ad9ad14ccea6948ab052931fa1)

Co-authored-by: David Edmundson <kde@davidedmundson.co.uk>

M  +6    -1    applets/taskmanager/smartlauncherbackend.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/d02b6ab312e391695ea17fda8489002daa93cbb7
Comment 12 Nate Graham 2026-01-31 00:43:50 UTC
Git commit 90152337b67ebc5e4941360d8d5963c2a4ded3d8 by Nate Graham.
Committed on 30/01/2026 at 20:50.
Pushed by ngraham into branch 'Plasma/6.5'.

applets/taskmanager: Guard external input for progress

qRound(infinite) will assert, guard appropriately


(cherry picked from commit e13b07de49cf37ad9ad14ccea6948ab052931fa1)

Co-authored-by: David Edmundson <kde@davidedmundson.co.uk>

M  +6    -1    applets/taskmanager/smartlauncherbackend.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/90152337b67ebc5e4941360d8d5963c2a4ded3d8