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

            Bug ID: 516950
           Summary: Plasmashell leaks File Descriptors (4 per hover) on
                    Task Manager thumbnails until it crashes at 1024 FD
                    limit
    Classification: Plasma
           Product: plasmashell
      Version First 6.5.5
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

I have discovered a consistent file descriptor leak in Plasma 6. Every time a
window thumbnail preview is triggered in the Task Manager, the target
application (Chrome, Edge, etc.) gains several file descriptors that are never
released after the preview is closed.

System Info:
KDE Plasma Version: 6.5.5
Session Type: Wayland
Graphics: NVIDIA 580.126.09

Steps to reproduce:
Open a browser (e.g., Microsoft Edge).
Monitor FD count: watch "ls /proc/$(pidof plasmashell)/fd | wc -l"
Hover the mouse over the taskbar icon to show the thumbnail preview.
Move the mouse away to hide the preview.
Re-check FD count.

Actual Results:
The FD count increases by exactly 4 every time (e.g., from 773 to 777, then to
781). These descriptors are leaked permanently until the browser is restarted.
AFter it reaches 1024 plasmashell crashes.

Expected Results:
All file descriptors created for the Screencast/PipeWire stream should be
closed once the preview is hidden.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to