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

            Bug ID: 497424
           Summary: fd leak with explicit sync (nvidia)
    Classification: Plasma
           Product: kwin
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: daron...@gmail.com
  Target Milestone: ---

SUMMARY
I'm not sure where I should report this (nvidia, kwin, plasmashell or somewhere
else). Every notification, opening/closing plasmoids cause a lot of sync_file
leaks in plasmashell:

❯ lsof -p $(pidof plasmashell)
...
396r  a_inode               0,16        0      1062 sync_file
397r  a_inode               0,16        0      1062 sync_file
399r  a_inode               0,16        0      1062 sync_file
400r  a_inode               0,16        0      1062 sync_file

And plasmashell eventually crashes with:
plasmashell[2053]: error marshalling arguments for get_icon: dup failed: Too
many open files
plasmashell[2053]: Error marshalling request: Too many open files
plasmashell[2053]: The Wayland connection experienced a fatal error: Too many
open files
plasma-plasmashell.service: Main process exited, code=exited,
status=255/EXCEPTION

If I set __NV_DISABLE_EXPLICIT_SYNC=1 in /etc/environment this doesn't happen.

STEPS TO REPRODUCE
1. Open/close Kickoff multiple times

OBSERVED RESULT
sync_file leaks in lsof -p $(pidof plasmashell)

EXPECTED RESULT
No leaks

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
nvidia driver: 565.77

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

Reply via email to