Root problem every Mac OS update

_
Hi whenever I update my MAC OS version I need to reinstall CommandLineTools the command xcode-select --install otherwise root crashes. (this is already quite weird but I found a way out).
Now with the latest update yesterday to BigSur 11.3 the same problem arises (I…e. the root command crashes) but
xcode-select --install
xcode-select: error: command line tools are already installed, use “Software Update” to install updates
and

you can see the dump below
please suggest something.
cheers
w

*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[] (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] (anonymous namespace)::RedirectingFileSystemParser::uniqueOverlayTree((anonymous namespace)::RedirectingFileSystem*, (anonymous namespace)::Entry*, (anonymous namespace)::Entry*) (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] (anonymous namespace)::RedirectingFileSystem::create(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_deletellvm::MemoryBuffer >, void ()(llvm::SMDiagnostic const&, void), llvm::StringRef, void*, llvm::IntrusiveRefCntPtrclang::vfs::FileSystem) (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] clang::vfs::getVFSFromYAML(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_deletellvm::MemoryBuffer >, void ()(llvm::SMDiagnostic const&, void), llvm::StringRef, void*, llvm::IntrusiveRefCntPtrclang::vfs::FileSystem) (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] (anonymous namespace)::createCIImpl(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_deletellvm::MemoryBuffer >, cling::CompilerOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_deleteclang::ASTConsumer >, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&, bool, bool) (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_deleteclang::ASTConsumer >, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&) (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&) (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] cling::Interpreter::Interpreter(int, char const* const*, char const*, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&, bool, cling::Interpreter const*) (no debug info)
[/Applications/root_v6.22.06/lib/libCling.6.22.06.so] TCling::TCling(char const*, char const*, char const* const*) (no debug info)

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hi @bonivent,

I have almost no experience with ROOT on OS X. However, I think (but I might be perfectly wrong) that this may be triggered due to out-of-sync modules w.r.t. the system headers. I am sure @Axel or @vvassilev could provide you more information about this.

In the interim, you could try this to see if it helps.

Cheers,
J.

I just installed OSX 11.3 on my MacBook. Then I recompiled ROOT. All is fine.

This might be caused by the new (and changing) location of the macOS SDKs. Using v6.24/00 should help - we should have covered that problem also for future updates. Can you give that a try?

For a developer, that’s a reasonable approach. For users, applications ought to continue to work also after an OS upgrade, no? :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.