Break segmentation while executing

Hello, hope you all are doing well!
I am using Geant4.10.06.p01 along with ROOT6.18 and GATEv9. I am executing a GATE macro. During execution it print all data on terminal screen but gave an error at the end(see screenshot).
Any kind of help would be appreciated.
Regards
Afzaal!
Screenshot from 2021-02-04 15-50-27|690x387

The error is happening somewhere under GateDetectorConstruction and GateMaterialDatabase (in the destructor of the latter by the look of things). As this is in Gate code, I’d suggest posting this to their support system first.