McOs 15.1 Sequoia TBrowser fails

ROOT Version: 6.32.06
Platform: macOS Sequoia 15.1
Compiler: Apple clang version 16.0.0 (clang-1600.0.26.4)
__Target: x86_64-apple-darwin24.1.0

TBrowser b fails on the command line. See below… I have tried with the brew distribution and I tried based on a full local build of root from source. Both produce the same result. Any clue?

Thanks a bunch

Claude P

root [0] TBrowser b

*** Break *** segmentation violation

[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)

[/usr/lib/libobjc.A.dylib] _objc_msgSend_uncached (no debug info)

[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] PNGReadPlugin::initialize(IIODictionary*) (no debug info)

[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOReadPlugin::callInitialize() (no debug info)

[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) (no debug info)

[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) (no debug info)

[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::getPropertiesAtIndexInternal(unsigned long, IIODictionary*) (no debug info)

[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::copyPropertiesAtIndex(unsigned long, IIODictionary*) (no debug info)

[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] CGImageSourceCopyPropertiesAtIndex (no debug info)

[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] ImageSourceOptionsForCGImageSource_index_ (no debug info)

[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps:] (no debug info)

[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imageRepsWithData:hfsFileType:extension:expandImageContentNow:] (no debug info)

[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] (no debug info)

[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] -[NSImage initWithContentsOfURL:] (no debug info)

[/Users/aa7526/opt/root_install/lib/libGCocoa.so] TGCocoa::SetApplicationIcon() (no debug info)

[/Users/aa7526/opt/root_install/lib/libGCocoa.so] TGCocoa::MapWindow(unsigned long) (no debug info)

[/Users/aa7526/opt/root_install/lib/libGui.so] TGStatusBar::TGStatusBar(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long) (no debug info)

[/Users/aa7526/opt/root_install/lib/libGui.so] TRootBrowser::CreateBrowser(char const*) (no debug info)

[/Users/aa7526/opt/root_install/lib/libGui.so] TRootBrowser::TRootBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*, bool) (no debug info)

[/Users/aa7526/opt/root_install/lib/libGui.so] TRootBrowser::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)

[<unknown binary>] (no debug info)

[/Users/aa7526/opt/root_install/lib/libGui.so] long TPluginHandler::ExecPluginImpl<TBrowser*, char const*, unsigned int, unsigned int, char const*>(TBrowser* const&, char const* const&, unsigned int const&, unsigned int const&, char const* const&) (no debug info)

[/Users/aa7526/opt/root_install/lib/libGui.so] TRootGuiFactory::CreateBrowserImp(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCore.so] TBrowser::TBrowser(char const*, char const*, TBrowserImp*, char const*) (no debug info)

[<unknown binary>] (no debug info)

[<unknown binary>] (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] cling::IncrementalExecutor::runStaticInitializersOnce(cling::Transaction&) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] cling::Interpreter::executeTransaction(cling::Transaction&) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] cling::IncrementalParser::commitTransaction(llvm::PointerIntPair<cling::Transaction*, 2u, cling::IncrementalParser::EParseResult, llvm::PointerLikeTypeTraits<cling::Transaction*>, llvm::PointerIntPairInfo<cling::Transaction*, 2u, llvm::PointerLikeTypeTraits<cling::Transaction*>>>&, bool) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)

[/Users/aa7526/opt/root_install/lib/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)

[/Users/aa7526/opt/root_install/lib/libRint.so] TRint::HandleTermInput() (no debug info)

[/Users/aa7526/opt/root_install/lib/libCore.so] TUnixSystem::CheckDescriptors() (no debug info)

[/Users/aa7526/opt/root_install/lib/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)

[/Users/aa7526/opt/root_install/lib/libCore.so] TSystem::InnerLoop() (no debug info)

[/Users/aa7526/opt/root_install/lib/libCore.so] TSystem::Run() (no debug info)

[/Users/aa7526/opt/root_install/lib/libCore.so] TApplication::Run(bool) (no debug info)

[/Users/aa7526/opt/root_install/lib/libRint.so] TRint::Run(bool) (no debug info)

[/Users/aa7526/opt/root_install/bin/root.exe] main (no debug info)

[/usr/lib/dyld] start (no debug info)

Hi @cpruneau,

I tried to reproduce the issue on my Linux distribution and wasn’t able to reproduce this, it seems to be specific for MacOS. I’ll try to reproduce the issue on a Mac node and get back to you.

Cheers,
Devajith

Yes, this is specific to macOS, as you can also see Cocoa in the stack trace (macOS GUI framework).

The solution is to use the new platform-independent web-based browser, as explained in this GitHub comment.

Awesome - thanks
Very nice…
CP

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