<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>406205</bug_id>
          
          <creation_ts>2019-04-04 08:10:14 +0000</creation_ts>
          <short_desc>File descriptor leak</short_desc>
          <delta_ts>2019-04-25 10:17:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>general</component>
          <version>5.14.5</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>406303</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Frediano Ziglio">freddy77</reporter>
          <assigned_to name="David Edmundson">kde</assigned_to>
          <cc>plasma-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1848486</commentid>
    <comment_count>0</comment_count>
    <who name="Frediano Ziglio">freddy77</who>
    <bug_when>2019-04-04 08:10:14 +0000</bug_when>
    <thetext>SUMMARY
When I open konsole just after the login I can note file descriptor from parent process (plasmashell).
I&apos;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 &quot;lsof -p $$&quot;. 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 &quot;lsof &gt; descriptors&quot;
5. Scan for a file above, like &quot;grep /run/user/25800/plasmashellOnanZp.1.slave-socket descriptors&quot;. You will find konsole, plasmashell and some others (like bash and lsof)
6. Run a &quot;pstree -alp &gt; ps_tree&quot;. 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1852550</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-04-25 10:17:46 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 406303 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>