Bug 492809 - Shortly after login the desktop crashes
Summary: Shortly after login the desktop crashes
Status: RESOLVED DUPLICATE of bug 485386
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-08 12:36 UTC by Kristijan
Modified: 2024-09-12 14:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The crash file (16.69 KB, text/plain)
2024-09-08 12:36 UTC, Kristijan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristijan 2024-09-08 12:36:33 UTC
Created attachment 173439 [details]
The crash file

SUMMARY
The desktop crashes shortly after login. This issue is present both in X11 and Wayland. Once logging back in the desktop is fully black and unresponsive. The TTY is inaccessible. When on X11 the kcrash shows it to be an error with plasmashell, however after further investigation it doesn't indicate anything other than a memory error where it is trying to read an inaccessible memory address.

STEPS TO REPRODUCE
1. Boot the PC into SDDM
2. Login
3. Wait

OBSERVED RESULT
The desktop crashes for no supposed reason.

EXPECTED RESULT
The desktop functions as normal without any issues

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
There exists a temporary fix that sometimes works:
1. Boot the PC
2. Login on Wayland
3. Wait for the crash to happen(~30 seconds)
4. Login on X11
5. Once the black screen is shown, this time your cursor will also show.
6. Quickly press the TTY2 and TTY3 buttons
7. Suddenly the Plasma desktop will re-appear.
Do note the fact that in this state some things like the reset and shutdown button do not work and that this seems to only be a temporary band-aid solution.

I do not know how does this happen.

I already tried deleting the configs and reinstalling Plasma to no avail with no solution
Comment 1 Kristijan 2024-09-09 12:24:51 UTC
P.S. After a while memory leaks start to occur and the PC crashes meaning that this truly is just a band aid solution.
Comment 2 Kristijan 2024-09-09 13:15:59 UTC
This seems to be an issue with kwin! :/
Comment 3 TraceyC 2024-09-12 14:30:33 UTC
Searchable backtrace

Thread 1 (Thread 0x74e60bdb8a00 (LWP 916)):
[KCrash Handler]
#4  0x000074e612400e20 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x000074e61216cde4 in QAbstractProxyModel::roleNames() const () at /usr/lib/libQt6Core.so.6
#6  0x000074e610f4a275 in QQmlDelegateModel::_q_modelAboutToBeReset() () at /usr/lib/libQt6QmlModels.so.6
#7  0x000074e611fa3397 in ??? () at /usr/lib/libQt6Core.so.6
#8  0x000074e61214ece0 in QAbstractItemModel::beginResetModel() () at /usr/lib/libQt6Core.so.6
#9  0x000074e61218f1a6 in QSortFilterProxyModel::setSourceModel(QAbstractItemModel*) () at /usr/lib/libQt6Core.so.6
#10 0x000074e5f2e3ea5f in ??? () at /usr/lib/qt6/qml/org/kde/kitemmodels/libitemmodelsplugin.so
#11 0x000074e612172b4a in ??? () at /usr/lib/libQt6Core.so.6
#12 0x000074e611fa057d in QPropertyBindingPrivate::evaluateRecursive(QVarLengthArray<QBindingObserverPtr, 256ll>&, QBindingStatus*) () at /usr/lib/libQt6Core.so.6
#13 0x000074e6132ff4dd in QQmlPropertyBindingJS::expressionChanged() () at /usr/lib/libQt6Qml.so.6
#14 0x000074e6132dba4c in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt6Qml.so.6
#15 0x000074e611fa30ea in ??? () at /usr/lib/libQt6Core.so.6
#16 0x000074e6132f3ee1 in QQmlOpenMetaObject::checkedSetValue(int, QVariant const&, bool) () at /usr/lib/libQt6Qml.so.6
#17 0x000074e61337ef85 in QQmlPropertyMap::clear(QString const&) () at /usr/lib/libQt6Qml.so.6
#18 0x000074e611fa3397 in ??? () at /usr/lib/libQt6Core.so.6
#19 0x000074e611f926e6 in QObject::~QObject() () at /usr/lib/libQt6Core.so.6
#20 0x000074e5f0451b33 in ??? () at /usr/lib/qt6/plugins/plasma5support/dataengine/plasma_engine_clipboard.so
#21 0x000074e611f8c60b in QObjectPrivate::deleteChildren() () at /usr/lib/libQt6Core.so.6
#22 0x000074e611f92678 in QObject::~QObject() () at /usr/lib/libQt6Core.so.6
#23 0x000074e6098f2796 in Plasma5Support::DataContainer::~DataContainer() () at /usr/lib/libPlasma5Support.so.6
#24 0x000074e611f8c60b in QObjectPrivate::deleteChildren() () at /usr/lib/libQt6Core.so.6
#25 0x000074e611f92678 in QObject::~QObject() () at /usr/lib/libQt6Core.so.6
#26 0x000074e5f043fec0 in ??? () at /usr/lib/qt6/plugins/plasma5support/dataengine/plasma_engine_clipboard.so
#27 0x000074e6098fb770 in ??? () at /usr/lib/libPlasma5Support.so.6
#28 0x000074e6098fbb0d in ??? () at /usr/lib/libPlasma5Support.so.6
#29 0x000074e61244e891 in ??? () at /usr/lib/libc.so.6
#30 0x000074e61244e95e in exit () at /usr/lib/libc.so.6
#31 0x000074e60bd367d5 in ??? () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#32 0x000074e60bd63b7f in ??? () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#33 0x000074e610c4a299 in ??? () at /usr/lib/libglib-2.0.so.0
#34 0x000074e610cacec7 in ??? () at /usr/lib/libglib-2.0.so.0
#35 0x000074e610c49795 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#36 0x000074e6121a82bd in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#37 0x000074e611f4ff66 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#38 0x000074e611f4a11d in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#39 0x0000606b7994dd86 in ??? ()
#40 0x000074e612434e08 in ??? () at /usr/lib/libc.so.6
#41 0x000074e612434ecc in __libc_start_main () at /usr/lib/libc.so.6
#42 0x0000606b7994e275 in ??? ()
Comment 4 TraceyC 2024-09-12 14:33:38 UTC
*** This bug has been marked as a duplicate of bug 485386 ***