[lldb-dev] Linux: Failing lldb unit tests and TestLinuxCore.py

Pavel Labath via lldb-dev lldb-dev at lists.llvm.org
Mon Jul 16 10:23:12 PDT 2018


Hi Gábor,

sorry for the late reply, I have been OOO. Thanks for the detailed
report. I think the fact that we load the system lldb from the unit
tests should be considered a bug. I am going to try to find some time
fix this issue.

thanks,
pl
On Fri, 29 Jun 2018 at 15:35, Gábor Márton <martongabesz at gmail.com> wrote:
>
> So, on Ubuntu "sudo apt-get remove python-lldb-4.0" solved this issue.
> Thanks again for the guidance.
>
> Cheers,
> Gabor
>
> On Fri, Jun 29, 2018 at 4:10 PM Gábor Márton <martongabesz at gmail.com> wrote:
>>
>> I did a search for the "HLOp" symbol and it turned out it is only used by the "LLVMSupport.so" lib.
>> So, this did not help, thus I dug deeper and examined the test binary further.
>>
>> `_exit` is called during the initialization of the static HLOp object (dlopen() calls call_init() which executes the static initialization of the object).
>> But for some strange reason it turned out the init function (llvm::cl::OptionCategory::registerCategory()) is called from /usr/lib/x86_64-linux-gnu/libLLVM-4.0.so.1 .
>> So then I used strace to find out that first "libLLVMSupport.so.7" is loaded by the dynamic loader and then later the " /usr/lib/x86_64-linux-gnu/libLLVM-4.0.so.1". Both have the `registerCategory()` function called during the load of the lib and the second call causes the error.
>> The sequence of the `open` syscalls shows that my local python installation brings in my local lldb lib which in turn loads the local libLLVM lib. And this is the problem. Below attached the detailed log of the open calls.
>> One solution is to uninstall my local lldb or use a different python, or use a virtual env for python - which does not contain any lldb modules - when running these tests.
>> Perhaps, somehow we could discover with cmake that the local python install contains lldb and issue a diagnostic in that case, but this seems quite complicated.
>>
>> Thanks,
>> Gabor
>>
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/tls/x86_64/libgtest_main.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/tls/libgtest_main.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/x86_64/libgtest_main.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libgtest_main.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libgtest.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libpython2.7.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
>> open("/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMDemangle.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangFrontend.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMExecutionEngine.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMCore.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMRuntimeDyld.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangCodeGen.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangDriver.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangEdit.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangParse.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangRewrite.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangSema.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMMCJIT.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangBasic.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMDebugInfoDWARF.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangLex.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMDebugInfoPDB.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMSupport.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libedit.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/x86_64-linux-gnu/libedit.so.2", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libncurses.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libpanel.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/x86_64-linux-gnu/libpanel.so.5", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libLLVMBinaryFormat.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libclangAST.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/tls/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/tls/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libclangSerialization.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMBitReader.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMOption.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMProfileData.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMMC.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMObject.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMTarget.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libclangAnalysis.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMAnalysis.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMBitWriter.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMCoroutines.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMCoverage.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMipo.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMIRReader.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMAggressiveInstCombine.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMInstCombine.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMInstrumentation.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMLTO.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMLinker.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMObjCARCOpts.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMPasses.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMScalarOpts.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMTransformUtils.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMMCParser.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMDebugInfoCodeView.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/libLLVMDebugInfoMSF.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/libbsd.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/lib/x86_64-linux-gnu/libbsd.so.0", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/../lib/tls/x86_64/libLLVMVectorize.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/../lib/tls/libLLVMVectorize.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/../lib/x86_64/libLLVMVectorize.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/../lib/libLLVMVectorize.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/../lib/libLLVMAsmParser.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/lib/../lib/../lib/libLLVMCodeGen.so.7", O_RDONLY|O_CLOEXEC) = 3
>> open("/proc/cpuinfo", O_RDONLY|O_CLOEXEC) = 3
>> [==========] Running 40 tests from 2 test cases.
>> [----------] Global test environment set-up.
>> [----------] 33 tests from PythonDataObjectsTest
>> [ RUN      ] PythonDataObjectsTest.TestOwnedReferences
>> open("/usr/lib/python2.7/site.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/site.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sitemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/site.py", O_RDONLY) = 3
>> open("/usr/lib/python2.7/site.pyc", O_RDONLY) = 4
>> open("/usr/lib/python2.7/os.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/os.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/osmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/os.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/os.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/posixpath.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/posixpath.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/posixpathmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/posixpath.py", O_RDONLY) = 5
>> open("/usr/lib/python2.7/posixpath.pyc", O_RDONLY) = 6
>> open("/usr/lib/python2.7/stat.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/stat.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/statmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/stat.py", O_RDONLY) = 6
>> open("/usr/lib/python2.7/stat.pyc", O_RDONLY) = 7
>> open("/usr/lib/python2.7/genericpath.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/genericpath.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/genericpathmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/genericpath.py", O_RDONLY) = 6
>> open("/usr/lib/python2.7/genericpath.pyc", O_RDONLY) = 7
>> open("/usr/lib/python2.7/warnings.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/warnings.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/warningsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/warnings.py", O_RDONLY) = 6
>> open("/usr/lib/python2.7/warnings.pyc", O_RDONLY) = 7
>> open("/usr/lib/python2.7/linecache.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/linecache.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/linecachemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/linecache.py", O_RDONLY) = 7
>> open("/usr/lib/python2.7/linecache.pyc", O_RDONLY) = 8
>> open("/usr/lib/python2.7/types.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/types.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/typesmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/types.py", O_RDONLY) = 7
>> open("/usr/lib/python2.7/types.pyc", O_RDONLY) = 8
>> open("/usr/lib/python2.7/UserDict.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/UserDict.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/UserDictmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/UserDict.py", O_RDONLY) = 5
>> open("/usr/lib/python2.7/UserDict.pyc", O_RDONLY) = 6
>> open("/usr/lib/python2.7/_abcoll.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_abcoll.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_abcollmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_abcoll.py", O_RDONLY) = 6
>> open("/usr/lib/python2.7/_abcoll.pyc", O_RDONLY) = 7
>> open("/usr/lib/python2.7/abc.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/abc.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/abcmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/abc.py", O_RDONLY) = 7
>> open("/usr/lib/python2.7/abc.pyc", O_RDONLY) = 8
>> open("/usr/lib/python2.7/_weakrefset.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_weakrefset.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_weakrefsetmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_weakrefset.py", O_RDONLY) = 8
>> open("/usr/lib/python2.7/_weakrefset.pyc", O_RDONLY) = 9
>> open("/usr/lib/python2.7/copy_reg.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/copy_reg.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/copy_regmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/copy_reg.py", O_RDONLY) = 5
>> open("/usr/lib/python2.7/copy_reg.pyc", O_RDONLY) = 6
>> open("/usr/lib/python2.7/traceback.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/traceback.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/tracebackmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/traceback.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/traceback.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/sysconfig.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sysconfig.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sysconfigmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sysconfig.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/sysconfig.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/re.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/re.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/remodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/re.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/re.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/sre_compile.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_compile.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_compilemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_compile.py", O_RDONLY) = 5
>> open("/usr/lib/python2.7/sre_compile.pyc", O_RDONLY) = 6
>> open("/usr/lib/python2.7/sre_parse.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_parse.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_parsemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_parse.py", O_RDONLY) = 6
>> open("/usr/lib/python2.7/sre_parse.pyc", O_RDONLY) = 7
>> open("/usr/lib/python2.7/sre_constants.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_constants.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_constantsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sre_constants.py", O_RDONLY) = 7
>> open("/usr/lib/python2.7/sre_constants.pyc", O_RDONLY) = 8
>> open("/usr/lib/python2.7/_sysconfigdata.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_sysconfigdata.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_sysconfigdatamodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_sysconfigdata.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/_sysconfigdata.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/_sysconfigdata_nd.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_sysconfigdata_nd.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_sysconfigdata_ndmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_sysconfigdata_nd.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/_sysconfigdata_nd.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_ndmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py", O_RDONLY) = 5
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.pyc", O_RDONLY) = 6
>> open("/home/egbomrt/.local/lib/python2.7/site-packages", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/matplotlib-2.1.0-py2.7-nspkg.pth", O_RDONLY) = 4
>> open("/usr/local/lib/python2.7/dist-packages", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
>> open("/usr/lib/python2.7/dist-packages", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
>> open("/usr/lib/python2.7/dist-packages/pygtk.pth", O_RDONLY) = 4
>> open("/usr/lib/python2.7/sitecustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/sitecustomize.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/sitecustomize.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/apport_python_hook.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/apport_python_hook.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/apport_python_hookmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/apport_python_hook.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/apport_python_hook.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/usercustomize.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/gtk-2.0/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
>> open("/usr/lib/python2.7/encodings/__init__.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/__init__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/__init__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/__init__.py", O_RDONLY) = 3
>> open("/usr/lib/python2.7/encodings/__init__.pyc", O_RDONLY) = 4
>> open("/usr/lib/python2.7/encodings/codecs.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/codecs.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/codecsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/codecs.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/codecs.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/codecs.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/codecs.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/codecsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/codecs.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/codecs.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/encodings/encodings.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/encodings.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/encodingsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/encodings.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/encodings.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/aliases.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/aliases.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/aliasesmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/aliases.py", O_RDONLY) = 4
>> open("/usr/lib/python2.7/encodings/aliases.pyc", O_RDONLY) = 5
>> open("/usr/lib/python2.7/encodings/__builtin__.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/__builtin__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/__builtin__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/__builtin__.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/__builtin__.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/utf_8.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/utf_8.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/utf_8module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/encodings/utf_8.py", O_RDONLY) = 3
>> open("/usr/lib/python2.7/encodings/utf_8.pyc", O_RDONLY) = 4
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/tools/lldb/unittests/ScriptInterpreter/Python/lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/tools/lldb/unittests/ScriptInterpreter/Python/lldb.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/tools/lldb/unittests/ScriptInterpreter/Python/lldbmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/tools/lldb/unittests/ScriptInterpreter/Python/lldb.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/WORK/llvm3/build/release_assert/tools/lldb/unittests/ScriptInterpreter/Python/lldb.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lldb.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lldbmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lldb.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lldb.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/lldb.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/lldbmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/lldb.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/plat-x86_64-linux-gnu/lldb.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/lldb.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/lldbmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/lldb.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-tk/lldb.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/lldb.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/lldbmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/lldb.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/lib-dynload/lldb.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/lldb.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/lldbmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/lldb.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/egbomrt/.local/lib/python2.7/site-packages/lldb.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/lldb.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/lldbmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/lldb.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/local/lib/python2.7/dist-packages/lldb.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/__init__.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/__init__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/__init__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/__init__.py", O_RDONLY) = 3
>> open("/usr/lib/python2.7/dist-packages/lldb/__init__.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/sys.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/sys.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/sysmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/sys.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/sys.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/os.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/os.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/osmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/os.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/os.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/imp.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/imp.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/impmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/imp.py", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/imp.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/_lldb.x86_64-linux-gnu.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/_lldb.so", O_RDONLY) = 4
>> open("/usr/lib/python2.7/dist-packages/lldb/_lldb.so", O_RDONLY|O_CLOEXEC) = 5
>> open("/usr/lib/python2.7/dist-packages/lldb/../lib/tls/x86_64/libLLVM-4.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/../lib/tls/libLLVM-4.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/../lib/x86_64/libLLVM-4.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/python2.7/dist-packages/lldb/../lib/libLLVM-4.0.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 5
>> open("/usr/lib/x86_64-linux-gnu/libLLVM-4.0.so.1", O_RDONLY|O_CLOEXEC) = 5
>> open("/usr/lib/x86_64-linux-gnu/../lib/tls/x86_64/libffi.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/x86_64-linux-gnu/../lib/tls/libffi.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/x86_64-linux-gnu/../lib/x86_64/libffi.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/x86_64-linux-gnu/../lib/libffi.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> open("/usr/lib/x86_64-linux-gnu/libffi.so.6", O_RDONLY|O_CLOEXEC) = 5
>> : CommandLine Error: Option 'help-list' registered more than once!
>> LLVM ERROR: inconsistency in registered CommandLine options
>> +++ exited with 1 +++
>>
>>
>>
>>
>>
>>
>> On Fri, Jun 29, 2018 at 12:41 PM Pavel Labath <labath at google.com> wrote:
>>>
>>> Hi Gábor,
>>>
>>> thanks for sending me that link line. Unfortunately, I don't see
>>> anything immediately obvious there. (I was expecting there would be
>>> something pulling in LLVMSupport twice, but I don't see anything like
>>> that there).
>>>
>>> To fix this, we need to figure out where is the second definition of
>>> this option is coming from (the first one should be in
>>> libLLVMSupport.so). After that, it should be relatively
>>> straightforward to fix the cmake project to avoid that.
>>>
>>> The variable declaring this command option is called HLOp (in
>>> CommandLine.cpp), so one of the ways to do that is to make find that
>>> out is to search for the _ZL4HLOp symbol in the symtab of the shared
>>> libraries (you should not even need debug info for that). Can you
>>> check which of the libraries in your build folder contain this symbol?
>>>
>>>  On Fri, 29 Jun 2018 at 09:13, Gábor Márton <martongabesz at gmail.com> wrote:
>>> >
>>> > Hi Pavel,
>>> >
>>> > Thank you for the fix and for taking care of this!
>>> > So, the particular test binary is: ScriptInterpreterPythonTests .
>>> > And here is the link command:
>>> > ) ninja ScriptInterpreterPythonTests -v
>>> > [1/1] : && /usr/lib/ccache/clang++  -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3  -Wl,-allow-shlib-undefined     -Wl,-O3 -Wl,--gc-sections tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonDataObjectsTests.cpp.o tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonExceptionStateTests.cpp.o tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o  -o tools/lldb/unittests/ScriptInterpreter/Python/ScriptInterpreterPythonTests  -Wl,-rpath,/home/egbomrt/WORK/llvm3/build/release_assert/lib -lpthread lib/libgtest_main.so.7svn lib/libgtest.so.7svn -lpthread lib/liblldbHost.a lib/liblldbPluginScriptInterpreterPython.a /usr/lib/x86_64-linux-gnu/libpython2.7.so lib/liblldbHost.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbInterpreter.a lib/liblldbExpression.a lib/liblldbPluginProcessUtility.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginExpressionParserGo.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbHost.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbInterpreter.a lib/liblldbExpression.a lib/liblldbPluginProcessUtility.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginExpressionParserGo.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbHost.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbInterpreter.a lib/liblldbExpression.a lib/liblldbPluginProcessUtility.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginExpressionParserGo.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbHost.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbInterpreter.a lib/liblldbExpression.a lib/liblldbPluginProcessUtility.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginExpressionParserGo.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginAppleObjCRuntime.a lib/libLLVMDemangle.so.7svn lib/libclangFrontend.so.7svn lib/libLLVMExecutionEngine.so.7svn lib/libLLVMObject.so.7svn lib/libLLVMCore.so.7svn lib/libLLVMRuntimeDyld.so.7svn lib/libclangCodeGen.so.7svn lib/libclangDriver.so.7svn lib/libclangEdit.so.7svn lib/libclangParse.so.7svn lib/libclangRewrite.so.7svn lib/libclangRewriteFrontend.so.7svn lib/libclangSema.so.7svn lib/libclangSerialization.so.7svn lib/libLLVMipo.so.7svn lib/libLLVMMCJIT.so.7svn lib/libclangBasic.so.7svn lib/libLLVMDebugInfoDWARF.so.7svn lib/libclangLex.so.7svn lib/libLLVMDebugInfoPDB.so.7svn lib/liblldbBase.a lib/liblldbUtility.a lib/libLLVMSupport.so.7svn -lpthread /usr/lib/x86_64-linux-gnu/libpython2.7.so /usr/lib/x86_64-linux-gnu/libxml2.so -ldl -ledit -lcurses /usr/lib/x86_64-linux-gnu/libform.so /usr/lib/x86_64-linux-gnu/libpanel.so -ltinfo lib/libLLVMBinaryFormat.so.7svn lib/libclangAST.so.7svn -Wl,-rpath-link,/home/egbomrt/WORK/llvm3/build/release_assert/lib && cd /home/egbomrt/WORK/llvm3/build/release_assert/tools/lldb/unittests/ScriptInterpreter/Python && /usr/local/bin/cmake -E make_directory /home/egbomrt/WORK/llvm3/build/release_assert/tools/lldb/unittests/ScriptInterpreter/Python/./Inputs
>>> >
>>> > Let me know if there is any additional info you need,
>>> >
>>> > Gabor
>>> >
>>> > On Thu, Jun 28, 2018 at 4:45 PM Pavel Labath <labath at google.com> wrote:
>>> >>
>>> >> The core file tests should be fixed as of r335859. I tried reproing
>>> >> the python unit tests problem, but I couldn't get it to fail that way.
>>> >> I can help you get to the bottom of it if you're interested, but it's
>>> >> going to take some interactive debugging (for start I'd need to see
>>> >> the link command for the test binary in question).
>>> >>
>>> >> cheers,
>>> >> pl
>>> >> On Tue, 26 Jun 2018 at 16:33, Pavel Labath <labath at google.com> wrote:
>>> >> >
>>> >> > The BUILD_SHARED_LIBS part is likely to be the issue. LLDB libraries
>>> >> > have cyclic dependencies, which don't play well with shared libraries.
>>> >> > I think somebody "fixed" it some time ago (i.e., just made the flag be
>>> >> > ignored for lldb), but I'm not sure if he also checked the unit tests.
>>> >> > I'll see if I can reproduce that on my end.
>>> >> > On Tue, 26 Jun 2018 at 16:28, Gábor Márton <martongabesz at gmail.com> wrote:
>>> >> > >
>>> >> > > Hi Pavel,
>>> >> > >
>>> >> > > I do an in-tree build, so lldb is next to clang.
>>> >> > > And I use ccache, could that be a problem? If yes then why just with the unit tests?
>>> >> > > Here is how I configured cmake:
>>> >> > > cmake ../../git/llvm -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DBUILD_SHARED_LIBS=1 -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ASSERTIONS=1
>>> >> > >
>>> >> > > Thanks,
>>> >> > > Gabor
>>> >> > >
>>> >> > > On Tue, Jun 26, 2018 at 5:05 PM Pavel Labath <labath at google.com> wrote:
>>> >> > >>
>>> >> > >> Hello Gabor,
>>> >> > >>
>>> >> > >> The error message (Option 'help-list' registered more than once) leads
>>> >> > >> me to believe that this is caused by an uncommon (for lldb, at least)
>>> >> > >> build configuration. Can you share your cmake configuration?
>>> >> > >>
>>> >> > >> I suspect TestLinuxCore is also failing due to unexpected build
>>> >> > >> configuration, specifically missing targets in llvm (mips?). I'll try
>>> >> > >> to fix that this week.
>>> >> > >> On Tue, 26 Jun 2018 at 14:44, Gábor Márton via lldb-dev
>>> >> > >> <lldb-dev at lists.llvm.org> wrote:
>>> >> > >> >
>>> >> > >> > Hi
>>> >> > >> >
>>> >> > >> > By using "ninja check-lldb-unit" some of the unit tests fail with the tip of the master. (I am using Ubuntu Linux.) The error is always related to the CommandLine options:
>>> >> > >> >
>>> >> > >> > FAIL: lldb-Unit :: ScriptInterpreter/Python/./ScriptInterpreterPythonTests/PythonDataObjectsTest.TestBorrowedReferences (120 of 363)
>>> >> > >> > ******************** TEST 'lldb-Unit :: ScriptInterpreter/Python/./ScriptInterpreterPythonTests/PythonDataObjectsTest.TestBorrowedReferences' FAILED ********************
>>> >> > >> > Note: Google Test filter = PythonDataObjectsTest.TestBorrowedReferences
>>> >> > >> > [==========] Running 1 test from 1 test case.
>>> >> > >> > [----------] Global test environment set-up.
>>> >> > >> > [----------] 1 test from PythonDataObjectsTest
>>> >> > >> > [ RUN      ] PythonDataObjectsTest.TestBorrowedReferences
>>> >> > >> > : CommandLine Error: Option 'help-list' registered more than once!
>>> >> > >> > LLVM ERROR: inconsistency in registered CommandLine options
>>> >> > >> >
>>> >> > >> > The other lit tests pass, except TestLinuxCore.py.
>>> >> > >> >
>>> >> > >> > I already set up LD_LIBRARY_PATH to point to $build/bin.
>>> >> > >> > Am I missing something else?
>>> >> > >> >
>>> >> > >> > Any help would be appreciated.
>>> >> > >> >
>>> >> > >> > Thanks,
>>> >> > >> > Gábor
>>> >> > >> > _______________________________________________
>>> >> > >> > lldb-dev mailing list
>>> >> > >> > lldb-dev at lists.llvm.org
>>> >> > >> > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


More information about the lldb-dev mailing list