Hi,
I have managed to solve some incompatibilities of libraries in my macOS BigSur and managed to make it work with my ROOT and python. My python script is working well but ends with a segmentation violation which doesn’t have anything to do with the script, but I think it’s related to the macOS Big Sur system. I don’t have any idea on how to solve this. Any help will be much appreciated.
_ROOT Version: 6.22/08
_python Version: 3.9.6
_Platform: macOS BigSur Version 11.6
*** Break *** segmentation violation
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] SigHandler(ESignals) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] sighandler(int) (no debug info)
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/Python] PyGILState_Ensure (no debug info)
[/usr/local/lib/python3.9/site-packages/matplotlib/backends/_macosx.cpython-39-darwin.so] -[Window dealloc] (no debug info)
[/usr/lib/libobjc.A.dylib] AutoreleasePoolPage::releaseUntil(objc_object**) (no debug info)
[/usr/lib/libobjc.A.dylib] objc_autoreleasePoolPop (no debug info)
[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation] _CFAutoreleasePoolPop (no debug info)
[/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation] -[NSAutoreleasePool release] (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] ROOT::MacOSX::Util::AutoreleasePool::~AutoreleasePool() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] ROOT::MacOSX::Util::AutoreleasePool::~AutoreleasePool() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] ROOT::MacOSX::Details::MacOSXSystem::~MacOSXSystem() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] ROOT::MacOSX::Details::MacOSXSystem::~MacOSXSystem() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] std::__1::default_delete<ROOT::MacOSX::Details::MacOSXSystem>::operator()(ROOT::MacOSX::Details::MacOSXSystem*) const (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] std::__1::unique_ptr<ROOT::MacOSX::Details::MacOSXSystem, std::__1::default_delete<ROOT::MacOSX::Details::MacOSXSystem> >::reset(ROOT::MacOSX::Details::MacOSXSystem*) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] std::__1::unique_ptr<ROOT::MacOSX::Details::MacOSXSystem, std::__1::default_delete<ROOT::MacOSX::Details::MacOSXSystem> >::~unique_ptr() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] std::__1::unique_ptr<ROOT::MacOSX::Details::MacOSXSystem, std::__1::default_delete<ROOT::MacOSX::Details::MacOSXSystem> >::~unique_ptr() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TMacOSXSystem::~TMacOSXSystem() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TMacOSXSystem::~TMacOSXSystem() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TMacOSXSystem::~TMacOSXSystem() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TROOT::~TROOT() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TROOT::~TROOT() (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] at_exit_of_TROOT() (no debug info)
[/usr/lib/system/libsystem_c.dylib] __cxa_finalize_ranges (no debug info)
[/usr/lib/system/libsystem_c.dylib] exit (no debug info)
[/usr/lib/system/libdyld.dylib] start (no debug info)
[<unknown binary>] (no debug info)