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

            Bug ID: 406205
           Summary: File descriptor leak
           Product: plasmashell
           Version: 5.14.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: fredd...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY
When I open konsole just after the login I can note file descriptor from parent
process (plasmashell).
I'm using Fedora 29 packages, I downloaded plasmashell repository but I cannot
find a possible fix for this.

STEPS TO REPRODUCE
1. Login to computer
2. Open konsole from menu
3. Launch "lsof -p $$". You can note some file descriptors like

  bash    3038 test   22u  unix 0x000000005ee05d8e       0t0    50812
/run/user/25800/plasmashellOnanZp.1.slave-socket type=STREAM
  bash    3038 test   29u  unix 0x000000006df597ab       0t0    50855
/run/user/25800/plasmashellbjinfS.3.slave-socket type=STREAM
  bash    3038 test   30u  unix 0x000000001aa40dd7       0t0    56450
/run/user/25800/plasmashellICpefe.2.slave-socket type=STREAM
  bash    3038 test   35u  unix 0x00000000509ffe44       0t0    50866
/run/user/25800/plasmashellIxStba.4.slave-socket type=STREAM
  bash    3038 test   37u  unix 0x00000000bb2513ad       0t0    51825
/run/user/25800/plasmashellPwZtCi.6.slave-socket type=STREAM

4. Run a "lsof > descriptors"
5. Scan for a file above, like "grep
/run/user/25800/plasmashellOnanZp.1.slave-socket descriptors". You will find
konsole, plasmashell and some others (like bash and lsof)
6. Run a "pstree -alp > ps_tree". You can see plasmashell process is the parent
of konsole


OBSERVED RESULT
Additional file descriptors from parent.


EXPECTED RESULT
No leak of file descriptors.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 29 x64
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
After a while the files disappears on both plasmashell and file system so if I
close konsole and open again I cannot find these files anymore.

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

Reply via email to