|Summary:||wayland amd memleak|
|Product:||[Plasma] plasmashell||Reporter:||Allan Pedersen <almoped>|
|Component:||general||Assignee:||Plasma Bugs List <plasma-bugs>|
|Severity:||major||CC:||dev.bacteriostat, ilikefoss, kde, meven29, nate, philipp-dev|
|Latest Commit:||https://invent.kde.org/frameworks/kguiaddons/commit/04ddcecb5c91a79bce7443e2c43ed93450f435b1||Version Fixed In:|
heaptrack log memleak
heaptrak of leak before dtor patch
Description Allan Pedersen 2022-05-30 01:10:10 UTC
Comment 1 Allan Pedersen 2022-05-30 01:29:01 UTC
Created attachment 149324 [details] heaptrack log memleak
Comment 2 Méven Car 2022-06-01 06:42:33 UTC
Thank you for the trace, that is helpful. It does not have all the relevant debug symbols though. Those for kguiaddons in this case in particular would enrich the trace substantially.
Comment 3 Bug Janitor Service 2022-06-01 06:49:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/59
Comment 4 Méven Car 2022-06-01 07:11:21 UTC
(In reply to Méven Car from comment #2) > Thank you for the trace, that is helpful. > > It does not have all the relevant debug symbols though. That's not true, it is just I don't have the exact same debug symbols as you do, since I compile everything myself.
Comment 5 Méven Car 2022-06-01 17:11:47 UTC
Git commit 04ddcecb5c91a79bce7443e2c43ed93450f435b1 by Méven Car. Committed on 01/06/2022 at 17:08. Pushed by meven into branch 'master'. WaylandClipboard: DataControlSource: delete m_mimeData in dtor As QClipboard::setMimeData in comments notes it passes ownership of the pointer. M +1 -0 src/systemclipboard/waylandclipboard.cpp https://invent.kde.org/frameworks/kguiaddons/commit/04ddcecb5c91a79bce7443e2c43ed93450f435b1
Comment 6 Allan Pedersen 2022-06-20 00:43:56 UTC
With the patch https://invent.kde.org/frameworks/kguiaddons/-/commit/04ddcecb5c91a79bce7443e2c43ed93450f435b1 applied there still seems to be a leak in plasma_engine_clipboard. I will attempt to attach a new heaptrack.
Comment 7 Allan Pedersen 2022-06-20 00:48:59 UTC
Created attachment 149937 [details] heaptrak of leak before dtor patch
Comment 8 Allan Pedersen 2022-06-20 01:07:55 UTC
(In reply to Allan Pedersen from comment #7) > Created attachment 149937 [details] > heaptrak of leak before dtor patch I made an error and didn't apply the patch correctly.
Comment 9 Fushan Wen 2022-06-20 01:59:07 UTC
*** Bug 455625 has been marked as a duplicate of this bug. ***