Segmentation fault at large number of events

Hello,

My simulations are running fine for small number of events.However I am getting a segmentation fault after few hundreds of events. Below is the message I get.

On changing /event/verbose/ level to 1, the complete console output is attached (.txt). How can I find the cause for this fault? Likely that is coming from filling in the ROOT file, but I am not sure about the cause. Any suggestions?

`G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.

Run 0 starts.

Run start. Initalizing ROOT file.
G4WT0 > /run/verbose 2
G4WT0 > /event/verbose 0
G4WT0 > /run/printProgress 50
G4WT0 > ### Run 0 starts on worker thread 0.
G4WT0 > Run start. Initalizing ROOT file.
G4WT0 > → Event 0 starts with initial seeds (13049039,61775110).
G4WT0 > → Event 50 starts with initial seeds (27894285,96974558).
G4WT0 > → Event 100 starts with initial seeds (82536138,67187234).
G4WT0 > → Event 150 starts with initial seeds (16280072,10483671).
G4WT0 > → Event 200 starts with initial seeds (18121444,73015479).
G4WT0 > → Event 250 starts with initial seeds (22278543,59841829).
G4WT0 > → Event 300 starts with initial seeds (57661392,63196147).
G4WT0 > → Event 350 starts with initial seeds (83968022,73554805).
zsh: segmentation fault ./sim run.mac`

error.txt (351.2 KB)