[Lldb-commits] [lldb] r228130 - Avoid leakage of file descriptors in LLDB and LLGS

Ed Maste emaste at freebsd.org
Thu Feb 12 20:15:18 PST 2015

On 4 February 2015 at 05:36, Pavel Labath <labath at google.com> wrote:
> Author: labath
> Date: Wed Feb  4 04:36:57 2015
> New Revision: 228130
> URL: http://llvm.org/viewvc/llvm-project?rev=228130&view=rev
> Log:
> Avoid leakage of file descriptors in LLDB and LLGS

I've looked into the remaining failure on FreeBSD in the test added
for this issue. As I mentioned before it comes from Python's random
module - further digging turned up the fix[1] in Python 3.x as part of
PEP 446[2] which uses O_CLOEXEC for all Python-internal fds. What
Python version are you using on Linux?

[1] https://github.com/python/cpython/commit/621f57c094e7572bb4aa2734fe7264856921fc27
[2] https://www.python.org/dev/peps/pep-0446/
The URL currently returns a 502 bad gateway though.

More information about the lldb-commits mailing list