A program runtime problem

Hi:
I’m having a strange problem running my program, everything works fine when I run it on a virtual machine. I am using VM on my computer with Ubuntu 20.04 and using /run/beamOn 100000 to emit particles. The program runs fine at this time. Then I uploaded my code to the server to run it, and I had the following problem and the program broke.

This is the message when the program is interrupted. According to the prompt my program terminated after running 262848 events. Has anyone encountered this problem? Thank you all for your replies.