When I try to run the program after entering of /run/beamOn command there are happening Segmentation fault. What could be the problem ?
Geant4 Version: v11.3.2
*Operating System:*24.04.3 LTS
*Compiler/Version:*13.3.0
*CMake Version:*3.28.3
When I try to run the program after entering of /run/beamOn command there are happening Segmentation fault. What could be the problem ?
Geant4 Version: v11.3.2
*Operating System:*24.04.3 LTS
*Compiler/Version:*13.3.0
*CMake Version:*3.28.3
Hello @sergey_amirkhanyan
The segmentation fault occurs during physics initialization, specifically while Geant4 is printing the electromagnetic (EM) physics configuration, before the first event is tracked. Therefore, it is not related to the geometry, stepping, hits, event actions, or the /run/beamOn tracking itself, but to the EM model setup.
Try using the FTFP_BERT physics list, which automatically sets up all standard electromagnetic, hadronic, decay, and ion physics models. Also, debug the program with gdb to locate the exact source of the problem.
Good luck
Hasan Ghotme