Thank you for your suggestion, ferhue.
I tried that, but unfortunately I got the same problem.
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TGVSplitter::TGVSplitter>: splitterv.xpm not found
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TGHSplitter::TGHSplitter>: splitterh.xpm not found
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TGComboBox::TGComboBox>: arrow_down.xpm not found
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TGVScrollBar::TGVScrollBar>: arrow_*.xpm not found
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fe7026e8a0c in __libc_waitpid (pid=5830, stat_loc=stat_loc
entry=0x7ffc4d477d40, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#1 0x00007fe70266e232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2 0x00007fe7035e27a3 in TUnixSystem::StackTrace() () from /home/cristian/root/lib/libCore.so
#3 0x00007fe7035e51ac in TUnixSystem::DispatchSignals(ESignals) () from /home/cristian/root/lib/libCore.so
#4 <signal handler called>
#5 0x00007fe6eba2b063 in TGVScrollBar::SetPosition(int) () from /home/cristian/root/lib/libGui.so
#6 0x00007fe6eb9f4006 in TGListBox::Layout() () from /home/cristian/root/lib/libGui.so
#7 0x00007fe6eb9dca12 in TGFrame::Resize(unsigned int, unsigned int) () from /home/cristian/root/lib/libGui.so
#8 0x00007fe6eb9f2d07 in TGListBox::Resize(unsigned int, unsigned int) () from /home/cristian/root/lib/libGui.so
#9 0x00007fe6eb9ab352 in TGComboBox::Init() () from /home/cristian/root/lib/libGui.so
#10 0x00007fe6eb9ac3d1 in TGComboBox::TGComboBox(TGWindow const*, char const*, int, unsigned int, unsigned long) () from /home/cristian/root/lib/libGui.so
#11 0x00007fe6eb9b8221 in TGFileBrowser::CreateBrowser() () from /home/cristian/root/lib/libGui.so
#12 0x00007fe6eb9bb160 in TGFileBrowser::TGFileBrowser(TGWindow const*, TBrowser*, unsigned int, unsigned int) () from /home/cristian/root/lib/libGui.so
#13 0x00007fe703b3a0bf in ?? ()
#14 0x00007fe6ff02a450 in ?? () from /home/cristian/root/lib/libCling.so
#15 0x00007fe6ff02ad30 in ?? () from /home/cristian/root/lib/libCling.so
#16 0x0000000100000000 in ?? ()
#17 0x0000000001bedaa0 in ?? ()
#18 0x00007ffc4d47a700 in ?? ()
#19 0x0000000001baecb0 in ?? ()
#20 0x0000000001adaab0 in ?? ()
#21 0x0000000001adaab0 in ?? ()
#22 0x0000000001b55710 in ?? ()
#23 0x0000000001b55710 in ?? ()
#24 0x0000000000850850 in ?? ()
#25 0x00007ffc4d47aa60 in ?? ()
#26 0x00007ffc4d47a740 in ?? ()
#27 0x00007ffc4d47aa60 in ?? ()
#28 0x00007ffc4d47aa60 in ?? ()
#29 0x00000000000002d8 in ?? ()
#30 0x00007ffc4d47a740 in ?? ()
#31 0x00007fe6ff036ec3 in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /home/cristian/root/lib/libCling.so
#32 0x00007fe6ff037ebd in cling::Interpreter::EvaluateInternal(std::string const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) () from /home/cristian/root/lib/libCling.so
#33 0x00007fe6ff0380bb in cling::Interpreter::process(std::string const&, cling::Value*, cling::Transaction**) () from /home/cristian/root/lib/libCling.so
#34 0x00007fe6ff073473 in cling::MetaProcessor::process(char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /home/cristian/root/lib/libCling.so
#35 0x00007fe6fef2bea6 in HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /home/cristian/root/lib/libCling.so
#36 0x00007fe6fef3ba63 in TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /home/cristian/root/lib/libCling.so
#37 0x00007fe703505110 in TApplication::ProcessLine(char const*, bool, int*) () from /home/cristian/root/lib/libCore.so
#38 0x00007fe70354da31 in TROOT::ProcessLine(char const*, int*) () from /home/cristian/root/lib/libCore.so
#39 0x00007fe6eba77366 in TRootBrowser::ExecPlugin(char const*, char const*, char const*, int, int) () from /home/cristian/root/lib/libGui.so
#40 0x00007fe6eba78093 in TRootBrowser::InitPlugins(char const*) () from /home/cristian/root/lib/libGui.so
#41 0x00007fe6eba78586 in TRootBrowser::TRootBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*, bool) () from /home/cristian/root/lib/libGui.so
#42 0x00007fe6eba78a98 in TRootBrowser::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*) () from /home/cristian/root/lib/libGui.so
#43 0x00007fe703b3f440 in ?? ()
#44 0x0000000001bee0c8 in ?? ()
#45 0x00007fe6ff02a2e0 in ?? () from /home/cristian/root/lib/libCling.so
#46 0x00007ffc4d47b600 in ?? ()
#47 0x0000000000000002 in ?? ()
#48 0x00007ffc4d47b1c0 in ?? ()
#49 0x00007fe6ff02a4b1 in std::_Function_base::_Base_manager<llvm::orc::ObjectLinkingLayer<cling::IncrementalJIT::NotifyObjectLoadedT>::ConcreteLinkedObjectSet<std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, std::unique_ptr<cling::Azog, std::default_delete<cling::Azog> >, std::unique_ptr<llvm::orc::LambdaResolver<cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#1}, cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#2}>, std::default_delete<{lambda(std::string const&)#2}> >, std::_List_iterator<std::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::default_delete<std::_List_iterator> > > llvm::orc::ObjectLinkingLayer<cling::IncrementalJIT::NotifyObjectLoadedT>::addObjectSet<std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, std::unique_ptr<cling::Azog, std::default_delete<cling::Azog> >, llvm::orc::LambdaResolver<cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#1}, cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#2}> >(std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, std::unique_ptr<cling::Azog, std::default_delete<cling::Azog> >, llvm::orc::LambdaResolver<cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#1}, cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#2}>)::{lambda(std::default_delete<std::_List_iterator>, llvm::RuntimeDyld&, std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > > const&, std::function<void ()>)#1}>::getSymbolMaterializer(std::string)::{lambda()#1}>::_M_manager(std::_Any_data&, llvm::orc::ObjectLinkingLayer<cling::IncrementalJIT::NotifyObjectLoadedT>::ConcreteLinkedObjectSet<std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, std::unique_ptr<cling::Azog, std::default_delete<cling::Azog> >, std::unique_ptr<llvm::orc::LambdaResolver<cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#1}, cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#2}>, std::default_delete<{lambda(std::string const&)#2}> >, std::_List_iterator<std::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::default_delete<std::_List_iterator> > > llvm::orc::ObjectLinkingLayer<cling::IncrementalJIT::NotifyObjectLoadedT>::addObjectSet<std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, std::unique_ptr<cling::Azog, std::default_delete<cling::Azog> >, llvm::orc::LambdaResolver<cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#1}, cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#2}> >(std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, std::unique_ptr<cling::Azog, std::default_delete<cling::Azog> >, llvm::orc::LambdaResolver<cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#1}, cling::IncrementalJIT::addModules(std::vector<llvm::Module*, std::allocator<llvm::Module*> >&&)::{lambda(std::string const&)#2}>)::{lambda(std::default_delete<std::_List_iterator>, llvm::RuntimeDyld&, std::vector<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::allocator<std::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > > const&, std::function<void ()>)#1}> const&, std::_Manager_operation) () from /home/cristian/root/lib/libCling.so
#50 0x00007fe6ff02ddfa in std::_Function_handler<unsigned long (), llvm::orc::LazyEmittingLayer<llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer> >::EmissionDeferredSet::find(llvm::StringRef, bool, llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer>&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) () from /home/cristian/root/lib/libCling.so
#51 0x00007fe600000005 in ?? ()
#52 0x00007ffc4d47b350 in ?? ()
#53 0x00007ffc4d47b300 in ?? ()
#54 0x00007ffc4d47b6f9 in ?? ()
#55 0x0000000000000006 in ?? ()
#56 0x00007ffc4d47b2a8 in ?? ()
#57 0x00007ffc4d47b2d0 in ?? ()
#58 0x00007ffc4d47b2e8 in ?? ()
#59 0x00007ffc4d47b310 in ?? ()
#60 0x00007ffc4d47b320 in ?? ()
#61 0x00007ffc4d47b330 in ?? ()
#62 0x00007ffc4d47b340 in ?? ()
#63 0x00007ffc4d47b350 in ?? ()
#64 0x00007fe701464470 in vtable for llvm::raw_ostream () from /home/cristian/root/lib/libCling.so
#65 0x0000000001bb32b0 in ?? ()
#66 0x0000000001bb52b0 in ?? ()
#67 0x00007fe7029e6760 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#68 0x00007ffc4d47b310 in ?? ()
#69 0x00007ffc4d47b360 in ?? ()
#70 0x00007ffc4d47b390 in ?? ()
#71 0x0000000001a8e940 in ?? ()
#72 0x0000000001071ca0 in ?? ()
#73 0x0000000000000006 in ?? ()
#74 0x00007fe703b59034 in ?? ()
#75 0x0000000000000006 in ?? ()
#76 0x0000000000000320 in ?? ()
#77 0x00007fe70146be28 in gWrapperStore () from /home/cristian/root/lib/libCling.so
#78 0x00007fe7000001f4 in llvm::TargetLowering::LowerCallTo(llvm::TargetLowering::CallLoweringInfo&) const () from /home/cristian/root/lib/libCling.so
#79 0x0000000000000105 in ?? ()
#80 0x00007ffc4d47bba0 in ?? ()
#81 0x00007fe701464470 in vtable for llvm::raw_ostream () from /home/cristian/root/lib/libCling.so
#82 0x0000000001078620 in ?? ()
#83 0x000000000107a620 in ?? ()
#84 0x0000000001078620 in ?? ()
#85 0x0000000000000001 in ?? ()
#86 0x00007ffc4d47b840 in ?? ()
#87 0x00007fe6feb8df02 in ?? () from /home/cristian/root/lib/libCling.so
#88 0x0000000001077e90 in ?? ()
#89 0x00007fe702edbe0b in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#90 0x0000000000000000 in ?? ()
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum.
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00007fe6eba2b063 in TGVScrollBar::SetPosition(int) () from /home/cristian/root/lib/libGui.so
#6 0x00007fe6eb9f4006 in TGListBox::Layout() () from /home/cristian/root/lib/libGui.so
#7 0x00007fe6eb9dca12 in TGFrame::Resize(unsigned int, unsigned int) () from /home/cristian/root/lib/libGui.so
#8 0x00007fe6eb9f2d07 in TGListBox::Resize(unsigned int, unsigned int) () from /home/cristian/root/lib/libGui.so
#9 0x00007fe6eb9ab352 in TGComboBox::Init() () from /home/cristian/root/lib/libGui.so
#10 0x00007fe6eb9ac3d1 in TGComboBox::TGComboBox(TGWindow const*, char const*, int, unsigned int, unsigned long) () from /home/cristian/root/lib/libGui.so
#11 0x00007fe6eb9b8221 in TGFileBrowser::CreateBrowser() () from /home/cristian/root/lib/libGui.so
#12 0x00007fe6eb9bb160 in TGFileBrowser::TGFileBrowser(TGWindow const*, TBrowser*, unsigned int, unsigned int) () from /home/cristian/root/lib/libGui.so
#13 0x00007fe703b3a0bf in ?? ()
#14 0x00007fe6ff02a450 in ?? () from /home/cristian/root/lib/libCling.so
#15 0x00007fe6ff02ad30 in ?? () from /home/cristian/root/lib/libCling.so
#16 0x0000000100000000 in ?? ()
#17 0x0000000001bedaa0 in ?? ()
#18 0x00007ffc4d47a700 in ?? ()
#19 0x0000000001baecb0 in ?? ()
#20 0x0000000001adaab0 in ?? ()
#21 0x0000000001adaab0 in ?? ()
#22 0x0000000001b55710 in ?? ()
#23 0x0000000001b55710 in ?? ()
#24 0x0000000000850850 in ?? ()
#25 0x00007ffc4d47aa60 in ?? ()
#26 0x00007ffc4d47a740 in ?? ()
#27 0x00007ffc4d47aa60 in ?? ()
#28 0x00007ffc4d47aa60 in ?? ()
#29 0x00000000000002d8 in ?? ()
#30 0x00007ffc4d47a740 in ?? ()
#31 0x00007fe6ff036ec3 in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /home/cristian/root/lib/libCling.so
#32 0x00007fe6ff037ebd in cling::Interpreter::EvaluateInternal(std::string const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) () from /home/cristian/root/lib/libCling.so
#33 0x00007fe6ff0380bb in cling::Interpreter::process(std::string const&, cling::Value*, cling::Transaction**) () from /home/cristian/root/lib/libCling.so
#34 0x00007fe6ff073473 in cling::MetaProcessor::process(char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /home/cristian/root/lib/libCling.so
#35 0x00007fe6fef2bea6 in HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /home/cristian/root/lib/libCling.so
===========================================================
I have a feeling something is wrong with the libpng library. I did grep -r libpng config.log
and got this
Checking for libpng ...
libraries to check for: libpng.so libpng.sl libpng.tbd libpng.dylib libpng.dll.a libpng.a libpng.lib libpng
Checking in directories /usr/local/lib64 /usr/local/lib/x86_64-linux-gnu /usr/local/lib64 /usr/local/lib for libpng.so libpng.sl libpng.tbd libpng.dylib libpng.dll.a libpng.a libpng.lib libpng
Checking for library libpng.so in directory /usr/local/lib
Checking /usr/local/lib/libpng.so
libpng.so not found in /usr/local/lib
Checking for library libpng.sl in directory /usr/local/lib
Checking /usr/local/lib/libpng.sl
libpng.sl not found in /usr/local/lib
Checking for library libpng.tbd in directory /usr/local/lib
Checking /usr/local/lib/libpng.tbd
libpng.tbd not found in /usr/local/lib
Checking for library libpng.dylib in directory /usr/local/lib
Checking /usr/local/lib/libpng.dylib
libpng.dylib not found in /usr/local/lib
Checking for library libpng.dll.a in directory /usr/local/lib
Checking /usr/local/lib/libpng.dll.a
libpng.dll.a not found in /usr/local/lib
Checking for library libpng.a in directory /usr/local/lib
Checking /usr/local/lib/libpng.a
libpng.a not found in /usr/local/lib
Checking for library libpng.lib in directory /usr/local/lib
Checking /usr/local/lib/libpng.lib
libpng.lib not found in /usr/local/lib
Checking for library libpng in directory /usr/local/lib
Checking /usr/local/lib/libpng
libpng not found in /usr/local/lib
Checking in directories /usr/X11/lib64 /usr/X11/lib/x86_64-linux-gnu /usr/X11/lib64 /usr/X11/lib for libpng.so libpng.sl libpng.tbd libpng.dylib libpng.dll.a libpng.a libpng.lib libpng
Checking in directories /usr/lib64 /usr/lib/x86_64-linux-gnu /usr/lib64 /usr/lib for libpng.so libpng.sl libpng.tbd libpng.dylib libpng.dll.a libpng.a libpng.lib libpng
Checking for library libpng.so in directory /usr/lib/x86_64-linux-gnu
Checking /usr/lib/x86_64-linux-gnu/libpng.so
Found file /usr/lib/x86_64-linux-gnu/libpng.so
Checking if /usr/lib/x86_64-linux-gnu/libpng.so is a 64-bit library
file -L /usr/lib/x86_64-linux-gnu/libpng.so | grep '64-bit'
I don’t know if this tells something useful to solve the issue… Thanks in advance.
-Cristian