<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW " title="NEW --- - TestFdLeak fails due to Python /dev/urandom leak" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23983&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=ivOYadzIO1pCacDPEsIxP5OtaD8bze6yhlBmhMjTsKw&s=_2JlzRDgVpH5IYeRdsytGOcucupiVzVPbDRqphuPx5k&e=">23983</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TestFdLeak fails due to Python /dev/urandom leak
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emaste@freebsd.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Somehow Python issue 23458[1] has resurfaced on my development machine.
Submitting this issue for tracking and xfail.

>From ktrace, /dev/random (via symlink) is opened by lldb and inherited by the
test case:

 66490 lldb-3.7.0 NAMI  "/dev/urandom"
 66490 lldb-3.7.0 RET   openat 10/0xa
...
 66492 a.out    STRU  struct stat {dev=1895890688, ino=19, mode=020666,
nlink=1,
 uid=0, gid=0, rdev=19, atime=1435590013.570031000, stime=1434918424.911347000, 
ctime=1434918424.911347000, birthtime=-1, size=0, blksize=4096, blocks=0,
flags=0x0 }

[1] <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__bugs.python.org_issue23458&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=ivOYadzIO1pCacDPEsIxP5OtaD8bze6yhlBmhMjTsKw&s=QuHED4ImbzIMYD8jyquoMFaHLwwLXxO6GIS9VAp5nkY&e=">http://bugs.python.org/issue23458</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>