Bug 442527

Summary: Plasma crashes in PlasmaQuick::AppletQuickItem::geometryChanged() on login
Product: [Plasma] plasmashell Reporter: Contijn Buijs <contijn.buijs>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, nate, simon.vogl, sst.nikolai
Priority: NOR    
Version First Reported In: 5.22.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: noisetorch cursor bug
log from turning tv off (and panel crashing)
right-click bug
coredump

Description Contijn Buijs 2021-09-16 14:07:38 UTC
Created attachment 141595 [details]
noisetorch cursor bug

SUMMARY
Upon logging in, kwin crashed and I had to restart it (as in, my panels died and wallpaper background went black). Happened again for a second time after a reboot. It also happens when I turned my TV on and my TV goes on and off many times during the day. (On login, I always see a kwallet password prompt, followed by 2 prompts to connected my external hard drive which is encrypted).

The NoiseTorch app somehow now shows that ancient X cursor when I am on the window.

I also tried syncing my settings to the login screen, but my vertical monitor (1440x2560) is still being shown as 2560x1440 after a reboot, somehow my screen orientation isn't being synced.

Also, while typing this, kwin crashed again.

What can I do, to give you meaningful data?


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch (EndeavourOS)
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86
Qt Version: 5.15.2
Comment 1 Contijn Buijs 2021-09-16 14:13:09 UTC
Created attachment 141596 [details]
log from turning tv off (and panel crashing)
Comment 2 Contijn Buijs 2021-09-16 14:23:51 UTC
Created attachment 141599 [details]
right-click bug

Attached also a bug that I now have when right-clicking on files or folders. My laptop already had this issue, but now my main pc has it as well with 5.22.90.
Comment 3 Nate Graham 2021-09-16 16:58:24 UTC
One issue per bug report please. :)

Can you please attach a backtrace of the kwin crash? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
Comment 4 Contijn Buijs 2021-09-16 17:33:47 UTC
Created attachment 141604 [details]
coredump

I didn't got a gdb prompt in the end. I got the error "Failed to invoke gdb: No such file or directory".

But I attached the output I saw in the terminal.
Comment 5 Nate Graham 2021-09-17 16:41:42 UTC
Hmm, that's a crash report about plasmashell, not KWin. Are you sure KWin crashed? Or was it a Plasma crash?

Either way, it's a bit garbled, but here seems to be the problem in that crash report:

                Stack trace of thread 18656:
                #0  0x00007fd4b76f3d22 raise (libc.so.6 + 0x3cd22)
                #1  0x00007fd4b9bac064 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5064)
                #2  0x00007fd4b76f3da0 __restore_rt (libc.so.6 + 0x3cda0)
                #3  0x00007fd4b97a2c67 _ZN12QQuickWindow11maybeUpdateEv (libQt5Quick.so.5 + 0x262c67)
                #4  0x00007fd4b978a1da _ZN10QQuickItem7setSizeERK6QSizeF (libQt5Quick.so.5 + 0x24a1da)
                #5  0x00007fd4b97752bc n/a (libQt5Quick.so.5 + 0x2352bc)
                #6  0x00007fd4b978c203 _ZN10QQuickItem15geometryChangedERK6QRectFS2_ (libQt5Quick.so.5 + 0x24c203)
                #7  0x00007fd4ba03eeef _ZN11PlasmaQuick15AppletQuickItem15geometryChangedERK6QRectFS3_ (libKF5PlasmaQuick.so.5 + 0x21eef)
                #8  0x00007fd4b978a24c _ZN10QQuickItem7setSizeERK6QSizeF (libQt5Quick.so.5 + 0x24a24c)
                #9  0x00007fd4ba04b4de n/a (libKF5PlasmaQuick.so.5 + 0x2e4de)
                #10 0x000056342de1e0ed n/a (plasmashell + 0x450ed)
                #11 0x00007fd4b7d8b76b n/a (libQt5Core.so.5 + 0x2f076b)
                #12 0x00007fd4b811ea33 _ZN15QGuiApplication11screenAddedEP7QScreen (libQt5Gui.so.5 + 0x12aa33)
                #13 0x00007fd4b58d2259 _ZN15QtWaylandClient15QWaylandDisplay23handleScreenInitializedEPNS_14QWaylandScreenE (libQt5WaylandClient.so.5 + 0x73259)
                #14 0x00007fd4b58dcbd4 _ZN15QtWaylandClient14QWaylandScreen15maybeInitializeEv (libQt5WaylandClient.so.5 + 0x7dbd4)
                #15 0x00007fd4b6000acd n/a (libffi.so.7 + 0x6acd)
                #16 0x00007fd4b600003a n/a (libffi.so.7 + 0x603a)
                #17 0x00007fd4b7667fe4 n/a (libwayland-client.so.0 + 0x9fe4)
                #18 0x00007fd4b7664563 n/a (libwayland-client.so.0 + 0x6563)
                #19 0x00007fd4b7665cac wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x7cac)
                #20 0x00007fd4b58d193d _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5 + 0x7293d)
                #21 0x00007fd4b7d8b7a0 n/a (libQt5Core.so.5 + 0x2f07a0)
                #22 0x00007fd4b7dad07d _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x31207d)
                #23 0x00007fd4b7d52d2c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b7d2c)
                #24 0x00007fd4b7d5b294 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2c0294)
                #25 0x000056342ddf7132 n/a (plasmashell + 0x1e132)
                #26 0x00007fd4b76deb25 __libc_start_main (libc.so.6 + 0x27b25)
                #27 0x000056342ddf726e n/a (plasmashell + 0x1e26e)


PlasmaQuick::AppletQuickItem::geometryChanged()?
Comment 6 Contijn Buijs 2021-09-17 16:59:06 UTC
Yeah, I guess it might be plasmashell in that case.

When it happens, my taskbar (panel) dies, background turns black on all monitors, and I have to run my panel restart script to get everything back.
Comment 7 Nate Graham 2021-09-17 17:39:26 UTC
Yes, that would be Plasma crashing rather than KWin.
Comment 8 Nicolas Fella 2022-02-25 13:57:45 UTC
*** Bug 450787 has been marked as a duplicate of this bug. ***