I have written process inheriting Discrete process. My first step is run full application from detector initialisation to successful end. Right now i stopped at messange : “Deleting G4ThreadLocalSingletons for type G4ProcessTable” (next line drops out with segmentation violation). I guess something goes wrong with G4PhysicsListHelper. So what the class wrote this notes about deleting G4ThreadLocalSingletons?
Have you compiled in debug mode and run through a debugger to isolate the line/call causing the segmentation violation? It’s just useful to confirm whether this is actually in
G4PhysicsListHelper or elsewhere.
Yes, the only untypical behaviour is i have warnings after PostStepDoIt method.