Bug 496415 - Plasmashell crashes occasionally after login
Summary: Plasmashell crashes occasionally after login
Status: RESOLVED DUPLICATE of bug 495871
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: 6.2.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-18 11:15 UTC by Liz Lee
Modified: 2024-11-18 23:42 UTC (History)
2 users (show)

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


Attachments
Full Dump journalctl.txt (775.74 KB, text/plain)
2024-11-18 11:15 UTC, Liz Lee
Details
Info Center - KWin Support Information.txt (6.01 KB, text/plain)
2024-11-18 11:15 UTC, Liz Lee
Details
Info Center - OpenGL EGL.txt (177.88 KB, text/plain)
2024-11-18 11:15 UTC, Liz Lee
Details
Info Center - Wayland.txt (10.63 KB, text/plain)
2024-11-18 11:16 UTC, Liz Lee
Details
plasmashell.kcrash (38.34 KB, text/plain)
2024-11-18 11:16 UTC, Liz Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Lee 2024-11-18 11:15:03 UTC
Created attachment 175909 [details]
Full Dump journalctl.txt

SUMMARY

Plasmashell crashes occasionally (ca. 50% of all tries) after login.
It's irrelevant if the system is freshly booted or if I just try to re-login.
For a brief moment I see the desktop, but after 1-2 seconds it freezes, i get a black screen and the plasmashell crash-handler opens. When I close the crash-handler, the plasmashell starts again. Usually this time it works, but sometimes it crashes a second time.



STEPS TO REPRODUCE
1. Login to plasma desktop session

OBSERVED RESULT
Plasmashell occasionally crashes.


EXPECTED RESULT
Plasmashell should start without crashing.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.7-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland

Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon R9 380 Series (radeonsi, tonga, LLVM 19.1.0, DRM 3.59, 6.11.7-300.fc41.x86_64)
OpenGL version string: 4.6 (Core Profile) Mesa 24.2.7
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 24.2.7
X server version: 1.24.1
Linux kernel version: 6.11.7
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

ADDITIONAL INFORMATION
Might be related to:
https://bugs.kde.org/show_bug.cgi?id=495226#add_comment

I added the following files:
- Full Dump journalctl.txt
- Info Center - KWin Support Information.txt
- Info Center - OpenGL EGL.txt
- Info Center - Wayland.txt
- plasmashell.kcrash
Comment 1 Liz Lee 2024-11-18 11:15:27 UTC
Created attachment 175910 [details]
Info Center - KWin Support Information.txt
Comment 2 Liz Lee 2024-11-18 11:15:40 UTC
Created attachment 175911 [details]
Info Center - OpenGL EGL.txt
Comment 3 Liz Lee 2024-11-18 11:16:00 UTC
Created attachment 175912 [details]
Info Center - Wayland.txt
Comment 4 Liz Lee 2024-11-18 11:16:13 UTC
Created attachment 175913 [details]
plasmashell.kcrash
Comment 5 Liz Lee 2024-11-18 11:26:21 UTC
Btw. it happens on both of my Plasma systems: the beforementioned desktop pc and my laptop. Both of them feature the same software specifications (also Fedora 41 and the Plasma-version etc. is all the same, see my post above).
The major difference might only be that the laptop runs a Ryzen 5 6600HS with Radeon 660M.
Comment 6 TraceyC 2024-11-18 23:38:21 UTC
Searchable backtrace

Thread 1 (Thread 0x7fd5a17c1d40 (LWP 2859)):
[KCrash Handler]
#4  0x00007fd5a989b00d in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) () from /lib64/libQt6Quick.so.6
#5  0x00007fd5a989bbd7 in QQuickItem::setX(double) () from /lib64/libQt6Quick.so.6
#6  0x00007fd5a9bcba5c in QQuickItemViewPrivate::updateUnrequestedPositions() () from /lib64/libQt6Quick.so.6
#7  0x00007fd5a9bcb2b5 in QQuickItemViewPrivate::refill(double, double) () from /lib64/libQt6Quick.so.6
#8  0x00007fd5a9bcec50 in QQuickItemViewPrivate::layout() () from /lib64/libQt6Quick.so.6
#9  0x00007fd5a9963863 in QQuickWindowPrivate::polishItems() () from /lib64/libQt6Quick.so.6
#10 0x00007fd5a9b948e9 in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) () from /lib64/libQt6Quick.so.6
#11 0x00007fd5a99664a9 in QQuickWindow::event(QEvent*) () from /lib64/libQt6Quick.so.6
#12 0x00007fd5aa23d6b8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#13 0x00007fd5a7cf3a38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#14 0x00007fd5a852fe3c in QPlatformWindow::deliverUpdateRequest() () from /lib64/libQt6Gui.so.6
#15 0x00007fd5a7d4d172 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#16 0x00007fd5aa23d6b8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#17 0x00007fd5a7cf3a38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#18 0x00007fd5a7cf7765 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6
#19 0x00007fd5a7fea68f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#20 0x00007fd5a68d328c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#21 0x00007fd5a69337b8 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#22 0x00007fd5a68d4783 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x00007fd5a7fe9de3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#24 0x00007fd5a7d0221b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#25 0x00007fd5a7cfda2e in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#26 0x000055f97c89c173 in main ()
Comment 7 TraceyC 2024-11-18 23:42:32 UTC
Thank you for the bug report.

This looks like a duplicate of Bug 495871 based on the backtrace. A fix was merged with Qt 6.8.1
This was done upstream in https://bugreports.qt.io/browse/QTBUG-129622

The fix will reach your system when the updated version of Qt is provided by your distribution. Please feel free to re-open this report if you experience the same problem with Qt 6.8.1.

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