Bug 473204 - Plasmashell crashes randomly in ShellCorona::restorePreviousWindow() when clearing clipboard
Summary: Plasmashell crashes randomly in ShellCorona::restorePreviousWindow() when cle...
Status: RESOLVED DUPLICATE of bug 473054
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.27.7
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2023-08-09 12:16 UTC by lin.ackles@pm.me
Modified: 2023-08-10 06:39 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (369.92 KB, text/plain)
2023-08-09 12:16 UTC, lin.ackles@pm.me
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lin.ackles@pm.me 2023-08-09 12:16:38 UTC
Application: plasmashell (5.27.7)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.2.0-26-generic x86_64
Windowing System: Wayland
Distribution: KDE neon 5.27
DrKonqi: 5.27.7 [CoredumpBackend]

-- Information about the crash:
It seems to occur rather frequently with plasmashell crashing when attempting to clear the clipboard. But other random crashes occured as well when doing various things. But the clearing of the clipboard causing plasmashell to crash is a typical issue with this version of KDE Plasma it seems. And I don't know if this is specific to Wayland only.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  0x00007f1514012dff in wl_proxy_marshal_flags () at /lib/x86_64-linux-gnu/libwayland-client.so.0
#7  0x00007f15140e7664 in KWayland::Client::PlasmaWindow::requestActivate() () at /lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#8  0x000055e847b224da in ShellCorona::restorePreviousWindow() (this=0x55e8494b1150) at ./shell/shellcorona.cpp:1229
#9  ShellCorona::restorePreviousWindow() (this=0x55e8494b1150) at ./shell/shellcorona.cpp:1217
#10 0x000055e847b1045c in PanelView::refreshStatus(Plasma::Types::ItemStatus) (this=0x55e84ad7dec0, status=<optimized out>) at ./shell/panelview.cpp:1429


Reported using DrKonqi
Comment 1 lin.ackles@pm.me 2023-08-09 12:16:40 UTC
Created attachment 160859 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2023-08-09 20:02:24 UTC
I strongly suspect that this bug is no longer possible to experience in the upcoming Plasma 6 due to changes in the code that's crashing here.
Comment 3 lin.ackles@pm.me 2023-08-09 20:07:36 UTC
Well, I have no idea on how to code. So, I am leaving this to the experts. 
Hopefully the bugs will be fixed in Plasma 6 regarding plasmashell crashing 
though.

I finally managed to make drkonqi generate a backtrace. Before, it was failing 
to do that for some reason whenever plasmashell crashed.
Comment 4 Fushan Wen 2023-08-10 06:39:30 UTC

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