I am getting the segmentation violation. Invalid permissions for the mapped object. I took the suggestion from the forum and ran the Macbook debugger LLDB and I got the reason for the error. Being new to geant4, I don’t know how to address that. Kindly see the attached screenshot.
Any help is highly appreciated