Segmentation error on Mac OS 12.4 XCode 13 Root 6.26/06

ROOT Version: 6.26/06
Platform: Mac OS 12.4_
Compiler:_ Clang

I tried installing root initially using macports. I was trying to compile a code which requires root and it started to throw up Segmentation error. I uninstalled the root from macports and used a precompiled version suitable for my version of Mac Os and Xcode version. The error is the same:

*** Break *** segmentation violation

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

[/Users/saikumarchinthakayala/Documents/lnlSummer/code_data/code/goddess/QQQ5Calibration/build/calibrate] Analysis::Loop() (no debug info)

[/Users/saikumarchinthakayala/Documents/lnlSummer/code_data/code/goddess/QQQ5Calibration/build/calibrate] main (no debug info)

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

I also did echo $DYLD_LIBRARY_PATH and it was set to the correct root library path. My Prof suggested me to compile root from source. But after seeing this error i dont know if I should use any special options while cmaking it.

The same code when run on another linux machine works flawlessly.
Thanks in advance

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