Bug 495871

Summary: Plasma shell crashes after log in
Product: [Plasma] plasmashell Reporter: rbnmndz <kdebugs>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version: 6.2.2   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/87445/events/9a5e9347a65a4087a969addff3609e3e/
Attachments: drkonqi bactrace (one of them)
Some kcrash files generated by drkonqi
Backtrace generated by gdb log
drkonqi kcrash on Wayland

Description rbnmndz 2024-11-06 09:22:25 UTC
SUMMARY
Plasmashell crashes one or more times after user log in.

STEPS TO REPRODUCE
1. Log in

OBSERVED RESULT
Plasma shell crashes one or more times.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.8.0-48-generic (64-bit)
Graphics Platform: X11


ADDITIONAL INFORMATION

Error before crash:
file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_980 to QQuickItem

Complete error log from journalctl:
plasmashell[2688]: kf.plasma.quick: Applet preload policy set to 1
plasmashell[2688]: qml: false
plasmashell[2688]: qml: false
plasmashell[2688]: qml: false
plasmashell[2688]: qml: false
plasmashell[2688]: qml: false
plasmashell[2688]: qml: false
plasmashell[2688]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
                                   file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
plasmashell[2688]: Toolbox not loading, toolbox package is either invalid or disabled.
plasmashell[2688]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
plasmashell[2688]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
plasmashell[2688]: qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
plasmashell[2688]: error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")
plasmashell[2688]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
plasmashell[2688]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_980 to QQuickItem
plasmashell[2688]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_980 to QQuickItem
plasmashell[2688]: Loading Calendar plugin HolidaysEventsPlugin(0x58c7981e2ea0)
plasmashell[2688]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
plasmashell[3555]: kf.plasma.quick: Applet preload policy set to 1
plasmashell[3555]: qml: false
plasmashell[3555]: qml: false
plasmashell[3555]: qml: false
plasmashell[3555]: qml: false
plasmashell[3555]: qml: false
plasmashell[3555]: qml: false
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
                                   file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
plasmashell[3555]: Toolbox not loading, toolbox package is either invalid or disabled.
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
plasmashell[3555]: qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
plasmashell[3555]: error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")
plasmashell[3555]: Loading Calendar plugin HolidaysEventsPlugin(0x5fe178960aa0)
plasmashell[3555]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_976 to QQuickItem
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_976 to QQuickItem
plasmashell[3555]: org.kde.pulseaudio: No object for name "auto_null.monitor"
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_976 to QQuickItem
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_976 to QQuickItem
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:136: TypeError: Cannot read property 'screenGeometry' of null
plasmashell[3555]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:250: TypeError: Cannot read property 'plasmoid' of undefined
plasmashell[6866]: kf.plasma.quick: Applet preload policy set to 1
plasmashell[6866]: qml: false
plasmashell[6866]: qml: false
plasmashell[6866]: qml: false
plasmashell[6866]: qml: false
plasmashell[6866]: qml: false
plasmashell[6866]: qml: false
plasmashell[6866]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
                                   file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
plasmashell[6866]: Toolbox not loading, toolbox package is either invalid or disabled.
plasmashell[6866]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
plasmashell[6866]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
plasmashell[6866]: qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
plasmashell[6866]: error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")
plasmashell[6866]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
plasmashell[6866]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_980 to QQuickItem
plasmashell[6866]: Loading Calendar plugin HolidaysEventsPlugin(0x5b278060f950)
plasmashell[6866]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:771:29: Unable to assign ActionMenu_QMLTYPE_980 to QQuickItem
plasmashell[6866]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
...
Comment 1 Nate Graham 2024-11-06 20:12:30 UTC
If something crashed, we need a backtrace of it so we can figure out what's going on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl?

Thanks!
Comment 2 rbnmndz 2024-11-07 08:57:14 UTC
It is related with X11 session. No crash in Wayland.
I'm going to attach some crashes bactraces.
Comment 3 rbnmndz 2024-11-07 08:58:39 UTC
Created attachment 175611 [details]
drkonqi bactrace (one of them)
Comment 4 rbnmndz 2024-11-07 10:11:01 UTC
Created attachment 175613 [details]
Some kcrash files generated by drkonqi

3 kcrash files produced by 3 consecutive crashes and generated by drkonqi.
Comment 5 rbnmndz 2024-11-07 10:12:57 UTC
Sometimes (very few) not crashes at all after login (in X11).
Comment 6 rbnmndz 2024-11-07 10:33:21 UTC
Created attachment 175614 [details]
Backtrace generated by gdb log

I've tried a "gdb /bin/plasmashell"
Comment 7 rbnmndz 2024-11-07 10:35:22 UTC
Another intent of gdb backtrace:

Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
Downloading source file /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitem.cpp
0x00007fd8cea4b05d in QQuickItemPrivate::dirty (this=0x63da5d9698f0, type=<optimized out>)                          
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitem.cpp:6747
warning: 6747   /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitem.cpp: No such file or directory
(gdb) backtrace
#0  0x00007fd8cea4b05d in QQuickItemPrivate::dirty (this=0x63da5d9698f0, type=<optimized out>)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitem.cpp:6747
#1  0x00007fd8cea4b2b7 in QQuickItem::setX (this=0x63da602e0080, v=<optimized out>)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitem.cpp:7196
#2  0x00007fd8ce70f814 in QQuickItemViewPrivate::updateUnrequestedPositions (this=0x63da5ddf6a00)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitemview.cpp:2594
#3  0x00007fd8ce70af3d in QQuickItemViewPrivate::refill (this=0x63da5ddf6a00, from=-0, to=48)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitemview.cpp:1818
#4  0x00007fd8ce7146eb in QQuickItemViewPrivate::layout (this=<optimized out>)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickitemview.cpp:1938
#5  0x00007fd8ce9e79ed in QQuickWindowPrivate::polishItems (this=0x63da5d2ff6e0)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickwindow.cpp:348
#6  0x00007fd8ce80a39c in QSGThreadedRenderLoop::polishAndSync
    (this=0x63da5d5e7500, w=0x63da611f13d0, inExpose=false)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1636
#7  0x00007fd8ce9e8670 in QQuickWindow::event (this=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-declarative-6.8.0-0zneon+24.04+noble+release+build15/src/quick/items/qquickwindow.cpp:1582
#8  0x00007fd8cf3ff518 in QApplicationPrivate::notify_helper
    (this=<optimized out>, receiver=0x63da5cf10800, e=0x7fff5bdf3f50)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/widgets/kernel/qapplication.cpp:3294
#9  0x00007fd8cd0bda48 in QCoreApplication::notifyInternal2 (receiver=0x63da5cf10800, event=0x7fff5bdf3f50)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qcoreapplication.cpp:1165
#10 0x00007fd8cd0bda8d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qcoreapplication.cpp:1609
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x00007fd8cd51760a in QPlatformWindow::deliverUpdateRequest (this=<optimized out>)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/gui/kernel/qplatformwindow.cpp:792
#12 0x00007fd8cd5153d5 in QPlatformWindow::windowEvent (this=0x63da5d5e7580, event=<optimized out>)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/gui/kernel/qplatformwindow.cpp:454
#13 0x00007fd8cf4040b3 in QApplication::notify (this=0x7fff5bdf45d0, receiver=0x63da5cf10800, e=0x7fff5bdf4220)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/widgets/kernel/qapplication.cpp:2585
#14 0x00007fd8cd0bda48 in QCoreApplication::notifyInternal2 (receiver=0x63da5cf10800, event=0x7fff5bdf4220)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qcoreapplication.cpp:1165
#15 0x00007fd8ccf84e58 in QTimerInfoList::activateTimers (this=0x63da5cd288e0)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qtimerinfo_unix.cpp:426
#16 0x00007fd8cce71671 in timerSourceDispatch (source=<optimized out>)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qeventdispatcher_glib.cpp:152
#17 idleTimerSourceDispatch (source=source@entry=0x63da5cc95ac0)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qeventdispatcher_glib.cpp:199
#18 0x00007fd8cb8035b5 in g_main_dispatch (context=0x7fd8c0000f30) at ../../../glib/gmain.c:3344
#19 0x00007fd8cb862717 in g_main_context_dispatch_unlocked (context=0x7fd8c0000f30) at ../../../glib/gmain.c:4152
#20 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fd8c0000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4217
#21 0x00007fd8cb802a53 in g_main_context_iteration (context=0x7fd8c0000f30, may_block=1) at ../../../glib/gmain.c:4282
#22 0x00007fd8cce6f4ff in QEventDispatcherGlib::processEvents (this=0x63da5cd42a70, flags=...)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#23 0x00007fd8cd0c89bb in QEventLoop::exec (this=0x7fff5bdf44f0, flags=...)
    at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qflags.h:34
#24 0x00007fd8cd0be68d in QCoreApplication::exec () at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qflags.h:74
#25 0x00007fd8cd4d48ed in QGuiApplication::exec () at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/gui/kernel/qguiapplication.cpp:1975
#26 0x00007fd8cf3f8579 in QApplication::exec () at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/widgets/kernel/qapplication.cpp:2562
#27 0x000063da5ca4800e in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/plasma-workspace-4:6.2.3-0zneon+24.04+noble+release+build17/shell/main.cpp:192
(gdb) kill
Comment 8 rbnmndz 2024-11-07 10:40:30 UTC
(In reply to rbnmndz from comment #2)
> It is related with X11 session. No crash in Wayland.
> I'm going to attach some crashes bactraces.

I was lucky the first time on Wayland. It also crashes radomly. The same as X11.
Comment 9 rbnmndz 2024-11-07 10:55:56 UTC
Created attachment 175615 [details]
drkonqi kcrash on Wayland
Comment 10 rbnmndz 2024-11-07 11:04:02 UTC
The system, with a new user, is not crashing. At least, I would like to know what is causing the crash, if it possible.
Thanks.
Comment 11 Nate Graham 2024-11-08 19:58:01 UTC
Aha, you're hitting https://bugreports.qt.io/browse/QTBUG-129622. It's fixed in Qt 6.8.1.

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