Hello
We are trying to install our platform that rely on ROOT on several different clusters and we’re facing an unexpected issue on a RedHat 6.9 system with cmake 3.7.2…
The log is join to this thread. The compilation goes as expected until the very last step :
local_root_configure.txt (10.6 KB)
The problem that you’ll see below can be obtained by calling any global pointer in root (gSystem, gStyle…)
Have you ever seen this ? Any guess of what’s been done wrong ?
Thanks in advance
cheers
jb
Scanning dependencies of target hsimple
[100%] Generating tutorials/hsimple.root
Processing hsimple.C…
open(‘/dev/random’): Permission denied
#0 0x00002adce34fb82e in waitpid () from /lib64/libc.so.6
#1 0x00002adce348d479 in do_system () from /lib64/libc.so.6
#2 0x00002adce271c92b in TUnixSystem::StackTrace() () at /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00/core/unix/src/TUnixSystem.cxx:2119
#3 0x00002adce5cc27f5 in cling::MultiplexInterpreterCallbacks::PrintStackTrace() () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#4 0x00002adce5cc1e7d in cling_runtime_internal_throwIfInvalidPointer () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#5 0x00002adcf5361370 in ?? ()
#6 0x0000000000000033 in ?? ()
#7 0x0000000002c40310 in ?? ()
#8 0x000000004f48c86b in ?? ()
#9 0x00002adce1d84ea5 in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ffe2f7a56a0 in ?? ()
#11 0x0000000303375cb0 in ?? ()
#12 0x00007ffe2f7a56a0 in ?? ()
#13 0x0000000000000033 in ?? ()
#14 0x0000000002c40310 in ?? ()
#15 0x000000002184bba3 in ?? ()
#16 0x00002adce1d84ea5 in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
#17 0x00002adce1d8526a in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2
#18 0x00002adce35762a6 in do_sym () from /lib64/libc.so.6
#19 0x00002adce37e40c4 in dlsym_doit () from /lib64/libdl.so.2
#20 0x00002adce1d895e6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#21 0x00002adce37e429c in _dlerror_run () from /lib64/libdl.so.2
#22 0x00002adce37e408f in dlsym () from /lib64/libdl.so.2
#23 0x00002adce7c669a7 in llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(char const*) () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#24 0x00002adce5d2927d in llvm::orc::LambdaResolver<cling::IncrementalJIT::addModule(std::shared_ptrllvm::Module const&)::{lambda(std::basic_string<char, std::char_traits, std::allocator > const&)#1}, cling::IncrementalJIT::addModule(std::shared_ptrllvm::Module const&)::{lambda(std::basic_string<char, std::char_traits, std::allocator > const&)#2}>::findSymbolInLogicalDylib(std::basic_string<char, std::char_traits, std::allocator > const&) () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#25 0x00002adce63c1d3c in llvm::RuntimeDyldImpl::resolveExternalSymbols() () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#26 0x0000000003365740 in ?? ()
#27 0x0000000000028e00 in ?? ()
#28 0x0000000003377600 in ?? ()
#29 0x00002adce37dd120 in ?? () from /lib64/libc.so.6
#30 0x0000000000016f40 in ?? ()
#31 0x0000000000000001 in ?? ()
#32 0x00000000e34c7c18 in ?? ()
#33 0x00000000031c5640 in ?? ()
#34 0x00000000031b0f90 in ?? ()
#35 0x00000000031fcb60 in ?? ()
#36 0x000000002f7a5dc0 in ?? ()
#37 0x00000000031c8090 in ?? ()
#38 0x000000000316be18 in ?? ()
#39 0x000000000316bde0 in ?? ()
#40 0x000000000316be18 in ?? ()
#41 0x00002adce2d95820 in ?? () from /ccc/products/gcc-4.9.1/default/lib64/libstdc++.so.6
#42 0x00002adce7c28812 in llvm::StringMapImpl::FindKey(llvm::StringRef) const () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#43 0x00002adce5d23a0e in std::_Function_handler<llvm::Expected ()(), llvm::orc::RTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptrllvm::RuntimeDyld::MemoryManager, std::shared_ptrllvm::JITSymbolResolver, llvm::orc::RTDyldObjectLinkingLayer::addObject(std::shared_ptr<llvm::object::OwningBinaryllvm::object::ObjectFile >, std::shared_ptrllvm::JITSymbolResolver)::{lambda(std::_List_iterator<std::unique_ptr<llvm::orc::RTDyldObjectLinkingLayerBase::LinkedObject, std::default_deletellvm::orc::RTDyldObjectLinkingLayerBase::LinkedObject > >, llvm::RuntimeDyld&, std::shared_ptr<llvm::object::OwningBinaryllvm::object::ObjectFile > const&, std::function<void ()()>)#1}>::getSymbolMaterializer(std::basic_string<char, std::char_traits, std::allocator >)::{lambda()#1}>::_M_invoke(std::_Any_data const&) () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#44 0x00002adce5d28f56 in llvm::JITSymbol::getAddress() () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#45 0x00002adce5d2ea99 in std::_Function_handler<llvm::Expected ()(), llvm::orc::LazyEmittingLayer<llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer, llvm::orc::SimpleCompiler> >::EmissionDeferredModule::find(llvm::StringRef, bool, llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer, llvm::orc::SimpleCompiler>&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#46 0x00002adce5d2aa16 in llvm::orc::LambdaResolver<cling::IncrementalJIT::addModule(std::shared_ptrllvm::Module const&)::{lambda(std::basic_string<char, std::char_traits, std::allocator > const&)#1}, cling::IncrementalJIT::addModule(std::shared_ptrllvm::Module const&)::{lambda(std::basic_string<char, std::char_traits, std::allocator > const&)#2}>::findSymbol(std::basic_string<char, std::char_traits, std::allocator > const&) () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#47 0x00002adce63c1d3c in llvm::RuntimeDyldImpl::resolveExternalSymbols() () from /ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/lib/libCling.so
#48 0x000000000311f510 in ?? ()
#49 0x00000000025ad2e8 in ?? ()
#50 0x0000000000000000 in ?? ()
Error in : Trying to access a pointer that points to an invalid memory address…
Execution of your code was aborted.
In file included from input_line_11:1:
/ccc/scratch/cont002/den/uranie/tmp_sources/root-6.14.00_build/tutorials/hsimple.C:56:8: warning: invalid memory pointer passed to a callee:
if (gSystem->AccessPathName(“.”,kWritePermission)) {
^~~~~~~
make[2]: *** [tutorials/hsimple.root] Error 1
make[1]: *** [CMakeFiles/hsimple.dir/all] Error 2
make: *** [all] Error 2
_ROOT Version: 6.14.00
_Platform: RedHat 6.9
_Compiler: gnu 4.9.1