Bug 462400

Summary: plasmashell crashes randomly
Product: [Plasma] plasmashell Reporter: Aitor <mail>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version: 5.26.3   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aitor 2022-11-29 15:48:53 UTC
SUMMARY
Not clear how to reproduce it, but plasmashell has been crashing randomly for some time for me. Sometimes is right after clicking on the launcher icon, but sometimes is without having interacted explicitly.
Not huge impact as plasmashell gets automatically restarted and I can keep working.

I can see the following output from `journalctl --user`:

```
nov 29 16:35:48 apinovo systemd-coredump[14214]: [🡕] Process 7178 (plasmashell) of user 1004 dumped core.
                                                 
                                                 Stack trace of thread 7178:
                                                 #0  0x00007f19a80737da _ZNK11QTextEngine7itemizeEv (libQt5Gui.so.5 + 0x2737da)
                                                 #1  0x00007f19a807c4fc _ZN11QTextLayout11beginLayoutEv (libQt5Gui.so.5 + 0x27c4fc)
                                                 #2  0x00007f19a96acffe _ZN17QQuickTextPrivate15setupTextLayoutEPd (libQt5Quick.so.5 + 0x2acffe)
                                                 #3  0x00007f19a96af3dd _ZN17QQuickTextPrivate10updateSizeEv (libQt5Quick.so.5 + 0x2af3dd)
                                                 #4  0x00007f19a96b0a84 _ZN17QQuickTextPrivate12updateLayoutEv (libQt5Quick.so.5 + 0x2b0a84)
                                                 #5  0x00007f19a96b105b _ZN10QQuickText7setFontERK5QFont (libQt5Quick.so.5 + 0x2b105b)
                                                 #6  0x00007f19a96b3613 _ZN10QQuickText11qt_metacallEN11QMetaObject4CallEiPPv (libQt5Quick.so.5 + 0x2b3613)
                                                 #7  0x00007f19a9108243 _ZN3QV420QQmlValueTypeWrapper10virtualPutEPNS_7ManagedENS_11PropertyKeyERKNS_5ValueEPS4_ (libQt5Qml.so.5 + 0x308243)
                                                 #8  0x00007f19a8f85582 _ZN3QV46Object26virtualResolveLookupSetterEPS0_PNS_15ExecutionEngineEPNS_6LookupERKNS_5ValueE (libQt5Qml.so.5 + 0x185582)
                                                 #9  0x00007f19780324b4 n/a (n/a + 0x0)
                                                 #10 0x00007f19a8fdd0d0 n/a (libQt5Qml.so.5 + 0x1dd0d0)
                                                 #11 0x00007f19a8f701de _ZN3QV48Function4callEPKNS_5ValueES3_iPKNS_16ExecutionContextE (libQt5Qml.so.5 + 0x1701de)
                                                 #12 0x00007f19a90f89fd _ZN24QQmlJavaScriptExpression8evaluateEPN3QV48CallDataEPb (libQt5Qml.so.5 + 0x2f89fd)
                                                 #13 0x00007f19a90aa02f _ZN25QQmlBoundSignalExpression8evaluateEPPv (libQt5Qml.so.5 + 0x2aa02f)
                                                 #14 0x00007f19a90ab208 n/a (libQt5Qml.so.5 + 0x2ab208)
                                                 #15 0x00007f19a90ddd2f _ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv (libQt5Qml.so.5 + 0x2ddd2f)
                                                 #16 0x00007f19a7b1301d _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x31301d)
                                                 #17 0x00007f19a96a8ba3 _ZN10QQuickText20contentHeightChangedEd (libQt5Quick.so.5 + 0x2a8ba3)
                                                 #18 0x00007f19a96afa25 _ZN17QQuickTextPrivate10updateSizeEv (libQt5Quick.so.5 + 0x2afa25)
                                                 #19 0x00007f19a96b0a84 _ZN17QQuickTextPrivate12updateLayoutEv (libQt5Quick.so.5 + 0x2b0a84)
                                                 #20 0x00007f19a96b105b _ZN10QQuickText7setFontERK5QFont (libQt5Quick.so.5 + 0x2b105b)
                                                 #21 0x00007f19a96b3613 _ZN10QQuickText11qt_metacallEN11QMetaObject4CallEiPPv (libQt5Quick.so.5 + 0x2b3613)
                                                 #22 0x00007f19a9108243 _ZN3QV420QQmlValueTypeWrapper10virtualPutEPNS_7ManagedENS_11PropertyKeyERKNS_5ValueEPS4_ (libQt5Qml.so.5 + 0x308243)
                                                 #23 0x00007f19a8f85582 _ZN3QV46Object26virtualResolveLookupSetterEPS0_PNS_15ExecutionEngineEPNS_6LookupERKNS_5ValueE (libQt5Qml.so.5 + 0x185582)
                                                 #24 0x00007f19780324b4 n/a (n/a + 0x0)
                                                 #25 0x00007f19a8fdd0d0 n/a (libQt5Qml.so.5 + 0x1dd0d0)
                                                 #26 0x00007f19a8f701de _ZN3QV48Function4callEPKNS_5ValueES3_iPKNS_16ExecutionContextE (libQt5Qml.so.5 + 0x1701de)
                                                 #27 0x00007f19a90f89fd _ZN24QQmlJavaScriptExpression8evaluateEPN3QV48CallDataEPb (libQt5Qml.so.5 + 0x2f89fd)
                                                 #28 0x00007f19a90aa02f _ZN25QQmlBoundSignalExpression8evaluateEPPv (libQt5Qml.so.5 + 0x2aa02f)
                                                 #29 0x00007f19a90ab208 n/a (libQt5Qml.so.5 + 0x2ab208)
                                                 #30 0x00007f19a90ddd2f _ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv (libQt5Qml.so.5 + 0x2ddd2f)
                                                 #31 0x00007f19a7b1301d _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x31301d)
                                                 #32 0x00007f19a96a8ba3 _ZN10QQuickText20contentHeightChangedEd (libQt5Quick.so.5 + 0x2a8ba3)
                                                 #33 0x00007f19a96afa25 _ZN17QQuickTextPrivate10updateSizeEv (libQt5Quick.so.5 + 0x2afa25)
                                                 #34 0x00007f19a96b0a84 _ZN17QQuickTextPrivate12updateLayoutEv (libQt5Quick.so.5 + 0x2b0a84)
                                                 #35 0x00007f19a96b105b _ZN10QQuickText7setFontERK5QFont (libQt5Quick.so.5 + 0x2b105b)
                                                 #36 0x00007f19a96b3613 _ZN10QQuickText11qt_metacallEN11QMetaObject4CallEiPPv (libQt5Quick.so.5 + 0x2b3613)
                                                 #37 0x00007f19a9108243 _ZN3QV420QQmlValueTypeWrapper10virtualPutEPNS_7ManagedENS_11PropertyKeyERKNS_5ValueEPS4_ (libQt5Qml.so.5 + 0x308243)
                                                 #38 0x00007f19a8f85582 _ZN3QV46Object26virtualResolveLookupSetterEPS0_PNS_15ExecutionEngineEPNS_6LookupERKNS_5ValueE (libQt5Qml.so.5 + 0x185582)
                                                 #39 0x00007f19780324b4 n/a (n/a + 0x0)
                                                 #40 0x00007f19a8fdd0d0 n/a (libQt5Qml.so.5 + 0x1dd0d0)
                                                 #41 0x00007f19a8f701de _ZN3QV48Function4callEPKNS_5ValueES3_iPKNS_16ExecutionContextE (libQt5Qml.so.5 + 0x1701de)
                                                 #42 0x00007f19a90f89fd _ZN24QQmlJavaScriptExpression8evaluateEPN3QV48CallDataEPb (libQt5Qml.so.5 + 0x2f89fd)
                                                 #43 0x00007f19a90aa02f _ZN25QQmlBoundSignalExpression8evaluateEPPv (libQt5Qml.so.5 + 0x2aa02f)
                                                 #44 0x00007f19a90ab208 n/a (libQt5Qml.so.5 + 0x2ab208)
                                                 #45 0x00007f19a90ddd2f _ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv (libQt5Qml.so.5 + 0x2ddd2f)
                                                 #46 0x00007f19a7b1301d _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x31301d)
                                                 #47 0x00007f19a96a8ba3 _ZN10QQuickText20contentHeightChangedEd (libQt5Quick.so.5 + 0x2a8ba3)
                                                 #48 0x00007f19a96afa25 _ZN17QQuickTextPrivate10updateSizeEv (libQt5Quick.so.5 + 0x2afa25)
                                                 #49 0x00007f19a96b0a84 _ZN17QQuickTextPrivate12updateLayoutEv (libQt5Quick.so.5 + 0x2b0a84)
                                                 #50 0x00007f19a96b105b _ZN10QQuickText7setFontERK5QFont (libQt5Quick.so.5 + 0x2b105b)
                                                 #51 0x00007f19a96b3613 _ZN10QQuickText11qt_metacallEN11QMetaObject4CallEiPPv (libQt5Quick.so.5 + 0x2b3613)
                                                 #52 0x00007f19a9108243 _ZN3QV420QQmlValueTypeWrapper10virtualPutEPNS_7ManagedENS_11PropertyKeyERKNS_5ValueEPS4_ (libQt5Qml.so.5 + 0x308243)
                                                 #53 0x00007f19a8f85582 _ZN3QV46Object26virtualResolveLookupSetterEPS0_PNS_15ExecutionEngineEPNS_6LookupERKNS_5ValueE (libQt5Qml.so.5 + 0x185582)
                                                 #54 0x00007f19780324b4 n/a (n/a + 0x0)
                                                 #55 0x00007f19a8fdd0d0 n/a (libQt5Qml.so.5 + 0x1dd0d0)
                                                 #56 0x00007f19a8f701de _ZN3QV48Function4callEPKNS_5ValueES3_iPKNS_16ExecutionContextE (libQt5Qml.so.5 + 0x1701de)
                                                 #57 0x00007f19a90f89fd _ZN24QQmlJavaScriptExpression8evaluateEPN3QV48CallDataEPb (libQt5Qml.so.5 + 0x2f89fd)
                                                 #58 0x00007f19a90aa02f _ZN25QQmlBoundSignalExpression8evaluateEPPv (libQt5Qml.so.5 + 0x2aa02f)
                                                 #59 0x00007f19a90ab208 n/a (libQt5Qml.so.5 + 0x2ab208)
                                                 #60 0x00007f19a90ddd2f _ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv (libQt5Qml.so.5 + 0x2ddd2f)
                                                 #61 0x00007f19a7b1301d _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x31301d)
                                                 #62 0x00007f19a96a8ba3 _ZN10QQuickText20contentHeightChangedEd (libQt5Quick.so.5 + 0x2a8ba3)
                                                 #63 0x00007f19a96afa25 _ZN17QQuickTextPrivate10updateSizeEv (libQt5Quick.so.5 + 0x2afa25)
                                                 
                                                 Stack trace of thread 7264:
                                                 #0  0x00007f19a730bb7f __poll (libc.so.6 + 0x106b7f)
                                                 #1  0x00007f19a5b1cdbe n/a (libglib-2.0.so.0 + 0x58dbe)
                                                 #2  0x00007f19a5b1cedc g_main_context_iteration (libglib-2.0.so.0 + 0x58edc)
                                                 #3  0x00007f19a7b33b56 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x333b56)
                                                 #4  0x00007f19a7adab9b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2dab9b)
                                                 #5  0x00007f19a78f4c47 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf4c47)
                                                 #6  0x00007f19a913ef05 n/a (libQt5Qml.so.5 + 0x33ef05)
                                                 #7  0x00007f19a78f5e3d _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5e3d)
                                                 #8  0x00007f19a729398d start_thread (libc.so.6 + 0x8e98d)
                                                 #9  0x00007f19a731a380 __clone3 (libc.so.6 + 0x115380)
                                                 
                                                 Stack trace of thread 7323:
                                                 #0  0x00007f19a7290006 __futex_abstimed_wait_common (libc.so.6 + 0x8b006)
                                                 #1  0x00007f19a7292cd0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8dcd0)
                                                 #2  0x00007f19924baa5b n/a (iris_dri.so + 0xbaa5b)
                                                 #3  0x00007f1992503f27 n/a (iris_dri.so + 0x103f27)
                                                 #4  0x00007f19a729398d start_thread (libc.so.6 + 0x8e98d)
                                                 #5  0x00007f19a731a380 __clone3 (libc.so.6 + 0x115380)
[...] (followed by a bunch of _poll and *wait in the other threads)
```


STEPS TO REPRODUCE
1. Sometimes clicking on some widgets or randomly 

OBSERVED RESULT
 - Plasmashell crashes and gets restarted

EXPECTED RESULT
- No crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-11-29 18:58:49 UTC
Are you using the Wayland session, or the X11 session? If Wayland, it's probably Bug 447717.
Comment 2 Aitor 2022-11-29 22:51:05 UTC
It is wayland indeed. Marking this one as duplicated.

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