Created attachment 186372 [details] Backtrace of crash event, suggests SEGV as cause of crash SUMMARY: After upgrading from Plasma 6.5.0 to 6.5.1, when starting session while laptop (Thinkpad T470) is docked, all displays, including the internal screen stay blank. Only after detaching from dock, the crash handler shows up, telling me, the user, that plasmashell has crashed. After looking at the crash-log, it says that plasmashell is terminated due to a segmentation fault (SIGSEGV). STEPS TO REPRODUCE 1. Run openSUSE Tumbleweed with Plasma 6.5.1, have laptop docked on startup 2. Launch Wayland session at log-in OBSERVED RESULT Black screen on all displays, no change until laptop is detached from dock. Only after detachment, plasmashell restarts. EXPECTED RESULT Usual launch of plasmashell + KWin, like on 6.5.0. (After rollback to 6.5.0, the problem no longer persists.) SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed, KDE Plasma 6.5.1 Kernel: 6.17.5-1-default (64-bit) KDE Plasma Version: 6.5.1 KDE Frameworks Version: 6.19.0 Qt Version: 6.10.0 Graphics platform: Wayland ADDITIONAL INFORMATION Attached is the coredump obtained from "coredumpctl debug plasmashell -A "-ex bt -ex quit" |& tee backtrace.txt". I noticed similarities with Bug 511428, even though I do not use i3 as WM, but KWin as intended.
Stack trace of thread 2260: #0 0x00007faccbc9dd3c __pthread_kill_implementation (libc.so.6 + 0x9dd3c) #1 0x00007faccbc427b6 raise (libc.so.6 + 0x427b6) #2 0x00007faccf2a7390 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x8390) #3 0x00007faccbc42910 __restore_rt (libc.so.6 + 0x42910) #4 0x00007faccd940364 n/a (libQt6Qml.so.6 + 0x140364) #5 0x00007faccda5627b n/a (libQt6Qml.so.6 + 0x25627b) #6 0x00007faccda5a070 _ZN3QV414QObjectWrapper14getQmlPropertyEPNS_15ExecutionEngineERK14QQmlRefPointerI15QQmlContextDataEPNS_4Heap6ObjectEP7QObjectPNS_6StringE6QFlagsINS0_4FlagEEPbPPK16QQmlPropertyData (libQt6Qml.so.6 + 0x25a070) #7 0x00007faccdc3db37 _ZN3QV415QQmlTypeWrapper10virtualGetEPKNS_7ManagedENS_11PropertyKeyEPKNS_5ValueEPb (libQt6Qml.so.6 + 0x43db37) #8 0x00007faccda2b2c1 _ZN3QV46Lookup14getterFallbackEPS0_PNS_15ExecutionEngineERKNS_5ValueE (libQt6Qml.so.6 + 0x22b2c1) #9 0x00007faccdac3a9c n/a (libQt6Qml.so.6 + 0x2c3a9c) #10 0x00007faccdacac81 n/a (libQt6Qml.so.6 + 0x2cac81) #11 0x00007faccda0f3a1 n/a (libQt6Qml.so.6 + 0x20f3a1) #12 0x00007faccdb63fa0 _ZN24QQmlJavaScriptExpression8evaluateEPN3QV48CallDataEPb (libQt6Qml.so.6 + 0x363fa0) #13 0x00007faccdaf4074 _ZN11QQmlBinding8evaluateEPb (libQt6Qml.so.6 + 0x2f4074) #14 0x00007faccdafee09 _ZN11QQmlBinding8doUpdateERKN24QQmlJavaScriptExpression13DeleteWatcherE6QFlagsIN16QQmlPropertyData9WriteFlagEERN3QV45ScopeE (libQt6Qml.so.6 + 0x2fee09) #15 0x00007faccdaf63c9 _ZN11QQmlBinding6updateE6QFlagsIN16QQmlPropertyData9WriteFlagEE (libQt6Qml.so.6 + 0x2f63c9) #16 0x00007faccdb9ff9d _ZN17QQmlObjectCreator8finalizeER26QQmlInstantiationInterrupt (libQt6Qml.so.6 + 0x39ff9d) #17 0x00007faccdb1ae0a _ZN20QQmlComponentPrivate8completeEP17QQmlEnginePrivatePNS_17ConstructionStateE (libQt6Qml.so.6 + 0x31ae0a) #18 0x00007faccdb1d6b9 _ZN20QQmlComponentPrivate14completeCreateEv (libQt6Qml.so.6 + 0x31d6b9) #19 0x00007faccf3dad7b _ZN11PlasmaQuick15SharedQmlEngine22completeInitializationERK5QHashI7QString8QVariantE (libPlasmaQuick.so.6 + 0x5cd7b) #20 0x00007faccf3bc4cc _ZN11PlasmaQuick15AppletQuickItem13itemForAppletEPN6Plasma6AppletE (libPlasmaQuick.so.6 + 0x3e4cc) #21 0x00007faca3c7f558 n/a (libcontainmentlayoutmanagerplugin.so + 0x1f558) #22 0x00007faccdba04cc _ZN17QQmlObjectCreator8finalizeER26QQmlInstantiationInterrupt (libQt6Qml.so.6 + 0x3a04cc) #23 0x00007faccdb1ae0a _ZN20QQmlComponentPrivate8completeEP17QQmlEnginePrivatePNS_17ConstructionStateE (libQt6Qml.so.6 + 0x31ae0a) #24 0x00007faccdb1d6b9 _ZN20QQmlComponentPrivate14completeCreateEv (libQt6Qml.so.6 + 0x31d6b9) #25 0x00007faccf3dba76 _ZN11PlasmaQuick15SharedQmlEngine25createObjectFromComponentEP13QQmlComponentP11QQmlContextRK5QHashI7QString8QVariantE (libPlasmaQuick.so.6 + 0x5da76) #26 0x00007faccf3b8a63 n/a (libPlasmaQuick.so.6 + 0x3aa63) #27 0x00007faccf3b9408 _ZN11PlasmaQuick15AppletQuickItem28setPreloadFullRepresentationEb (libPlasmaQuick.so.6 + 0x3b408) #28 0x00007faccdae195a n/a (libQt6Qml.so.6 + 0x2e195a) #29 0x00007faccdb903dc _ZN17QQmlObjectCreator16setPropertyValueEPK16QQmlPropertyDataPKN3QV412CompiledData7BindingE (libQt6Qml.so.6 + 0x3903dc) #30 0x00007faccdb91b44 _ZN17QQmlObjectCreator18setPropertyBindingEPK16QQmlPropertyDataPKN3QV412CompiledData7BindingE (libQt6Qml.so.6 + 0x391b44) #31 0x00007faccdb9542e _ZN17QQmlObjectCreator13setupBindingsE6QFlagsINS_11BindingModeEE (libQt6Qml.so.6 + 0x39542e) #32 0x00007faccdb9c74d _ZN17QQmlObjectCreator16populateInstanceEiP7QObjectS1_PK16QQmlPropertyDataPKN3QV412CompiledData7BindingE (libQt6Qml.so.6 + 0x39c74d) #33 0x00007faccdb9eb58 _ZN17QQmlObjectCreator14createInstanceEiP7QObjectb (libQt6Qml.so.6 + 0x39eb58) #34 0x00007faccdb8fe78 _ZN17QQmlObjectCreator6createEiP7QObjectP26QQmlInstantiationInterrupti (libQt6Qml.so.6 + 0x38fe78) #35 0x00007faccdb15e47 _ZN20QQmlComponentPrivate11beginCreateE14QQmlRefPointerI15QQmlContextDataE (libQt6Qml.so.6 + 0x315e47) #36 0x00007faccdb165bc _ZN13QQmlComponent11beginCreateEP11QQmlContext (libQt6Qml.so.6 + 0x3165bc) #37 0x00007faccf3db0a6 n/a (libPlasmaQuick.so.6 + 0x5d0a6) #38 0x00007faccf3bb5f7 _ZN11PlasmaQuick15AppletQuickItem13itemForAppletEPN6Plasma6AppletE (libPlasmaQuick.so.6 + 0x3d5f7) #39 0x00007faccf3d2e19 n/a (libPlasmaQuick.so.6 + 0x54e19) #40 0x000055b38dc2d2a2 n/a (/usr/bin/plasmashell + 0x692a2) #41 0x000055b38dc2e11c n/a (/usr/bin/plasmashell + 0x6a11c) #42 0x000055b38dc48662 n/a (/usr/bin/plasmashell + 0x84662) #43 0x00007faccc635c20 n/a (libQt6Core.so.6 + 0x235c20) #44 0x000055b38dc6c091 n/a (/usr/bin/plasmashell + 0xa8091) #45 0x00007faccc635c20 n/a (libQt6Core.so.6 + 0x235c20) #46 0x00007faccf361db7 _ZN18OutputOrderWatcher18outputOrderChangedERK5QListI7QStringE (libkworkspace6.so.6 + 0x2adb7) #47 0x00007faccc635c20 n/a (libQt6Core.so.6 + 0x235c20) #48 0x00007faccce33d2b _ZN15QGuiApplication11screenAddedEP7QScreen (libQt6Gui.so.6 + 0x233d2b) #49 0x00007faccd660d57 _ZN15QtWaylandClient15QWaylandDisplay23handleScreenInitializedEPNS_14QWaylandScreenE (libQt6WaylandClient.so.6 + 0x9ed57) #50 0x00007faccd68cda3 _ZN15QtWaylandClient14QWaylandScreen15maybeInitializeEv (libQt6WaylandClient.so.6 + 0xcada3) #51 0x00007faccca9cc92 n/a (libffi.so.8 + 0x7c92) #52 0x00007faccca99a26 n/a (libffi.so.8 + 0x4a26) #53 0x00007faccca9c2ae ffi_call (libffi.so.8 + 0x72ae) #54 0x00007faccf32b7f3 n/a (libwayland-client.so.0 + 0x77f3) #55 0x00007faccf32c539 n/a (libwayland-client.so.0 + 0x8539) #56 0x00007faccf32c8eb wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x88eb) #57 0x00007faccd65e2e2 _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt6WaylandClient.so.6 + 0x9c2e2) #58 0x00007faccc623684 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x223684) #59 0x00007facce9e7918 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x1e7918) #60 0x00007faccc5cdc98 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x1cdc98) #61 0x00007faccc5d0349 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x1d0349) #62 0x00007faccc895f87 n/a (libQt6Core.so.6 + 0x495f87) #63 0x00007faccae21b36 n/a (libglib-2.0.so.0 + 0x5fb36)
Update: I noticed, that after unplugging one of the two displays (does not matter which one), the problem also went away. When observing the Display Configuration KCM, after either adding the second screen or simply docking while both displays are connected, the system simply hangs after a few seconds until the laptop is removed from the dock. The KCM also does not show any screen configuration, the area is simply blank. A screenshot will be also attached.
Created attachment 186497 [details] Screenshot of the Display Configuration KCM, the symptom clearly visible
When the issue is happening, can you paste the output of `kscreen-doctor -o`? If it shows crazy values for the position of the external displays, it's probably a variant of Bug 507702, or has the same root cause.
Well, between this and my last comment, I had to use another DE on another distro on said machine (unrelated to this problem), so I couldn't track between releases on Tumbleweed. I tried out 6.5.4 on this laptop and the issue never occures, same display settings and resolutions as on 6.5.0. So, I might call the issue resolved? I will continue observing its behaviour though, but for now it fixed itself somehow, either due to the distro change or through work done here. Thank you all for your patience and for this software in general!
Cool, thanks!