Prints Backtraces

Hello all!
When I run the program, after the simulation results are written to the root file, the following problems occur. I would like to ask how to solve it (the simulation results seem to have been saved in the root file)

... write file : CLLB.root - done
... close file : CLLB.root - done
0 events have been kept for refreshing and/or reviewing.
  "/vis/reviewKeptEvents" to review them one by one.
  "/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
Graphics systems deleted.
Visualization Manager deleting...

### CAUGHT SIGNAL: 11 ### address: 0x28,  signal =  SIGSEGV, value =   11, description = segmentation violation. Address not mapped to object.

[PID=19259, TID=-1][0/6]> /home/neutron/g4-11/G4-install/lib/ [0x1464f18dd5a7]
[PID=19259, TID=-1][1/6]> /home/neutron/g4-11/G4-install/lib/ [0x1464f18dd7af]
[PID=19259, TID=-1][2/6]> /lib/x86_64-linux-gnu/ [0x1464ef4fb031]
[PID=19259, TID=-1][3/6]> /lib/x86_64-linux-gnu/ [0x1464ef4fb12a]
[PID=19259, TID=-1][4/6]> /lib/x86_64-linux-gnu/ [0x1464ef4d9c8e]
[PID=19259, TID=-1][5/6]> ./exampleB4a(+0x788a) [0x557a1536188a]

: Segmentation fault (Address not mapped to object [0x28])