Segmentation fault (core dump)

Hi everyone
I’m new to geant4 and I’m already having difficulties. When I modify the program in (advanced/xray_fluorescence) everything seems to work fine but when I execute using the command /run/initialize I encounter a segmentation error (segmentation fault (core dump)).
I specify that I’m using Geant4.10.5 on a virtual machine.
Please do you have any suggestions on how to get around or solve this problem?