[kde] [Bug 494160] New: Open Folder... in vscode causes kdialog to leak memory rapidly on Wayland

cyberjiber bugzilla_noreply at kde.org
Sat Oct 5 09:39:56 BST 2024


https://bugs.kde.org/show_bug.cgi?id=494160

            Bug ID: 494160
           Summary: Open Folder... in vscode causes kdialog to leak memory
                    rapidly on Wayland
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: kramernn at gmail.com
  Target Milestone: ---

Created attachment 174443
  --> https://bugs.kde.org/attachment.cgi?id=174443&action=edit
Screenshot of high mem usage

SUMMARY
Wayland-only issue.

Attempting to open a folder from vscode (File Menu -> Open Folder...) caused
kdialog to leak memory extremely rapidly: on the order of 500Mbs every few
seconds on my system.

I'm unsure if this is a vscode-only issue. It may be a wider issue that affects
any xcb (xwayland) window that attempts to launch kdialog.

CAUTION: If you are attempting to reproduce this, PLEASE have a System Monitor
open so that you can terminate kdialog quickly before your system becomes
inoperable.

STEPS TO REPRODUCE
1. Login with Wayland Session
2. Launch VSCode
3. Open the File menu
4. Select "Open Folder..."

OBSERVED RESULT
kdialog leaks memory rapidly every few seconds, causing system instability and
eventually inoperability.

EXPECTED RESULT
kdialog should not leak memory.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: offscreen
Processors: 16 × AMD Ryzen 7 PRO 6850H with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
VSCode info:
Version: 1.94.0
Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511
Date: 2024-10-02T13:08:12.626Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 6.8.0-45-generic snap

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list