ERROR: 8 - Floating point invalid operation

Dear GEANT4 users,

I have recently encountered peculiar error when using GEANT4. I use it as a part of FairRoot software and using aliBuild system.

I have recently updated to ubuntu 20.04 and thus, since I was unable to install GCC5 or 6, I have decided default GCC 9.3.0 to compile the whole software stack. The GEANT4 version is v10.3.2. The compilation of all packages when well, however, in run time if now always get an error:

 --------  End PYTHIA Event Listing  -----------------------------------------------------------------------------------------------
[INFO] ship event 0 / pythia event-nr 10
ERROR: 8 - Floating point invalid operation.

and the following stack trace:

31: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4/v10.3.2-1/lib/libG4run.so
30: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4/v10.3.2-1/lib/libG4run.so
29: /lib/x86_64-linux-gnu/libc.so.6
28: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/FairShip/master-1/lib/libShipData.so.0 : ShipMCTrack::ShipMCTrack(TParticle*)
27: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/FairShip/master-1/lib/libShipData.so.0 : ShipStack::FillTrackArray()
26: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/FairRoot/May30-ship-1/lib/libBase.so.17.10.2 : FairMCApplication::FinishEvent()
25: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4_VMC/v3-6-ship-1/lib/libgeant4vmc.so : TG4EventAction::EndOfEventAction(G4Event const*)
24: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4/v10.3.2-1/lib/libG4event.so : G4EventManager::DoProcessing(G4Event*)
23: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4/v10.3.2-1/lib/libG4event.so : G4EventManager::ProcessOneEvent(G4Event*)
22: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4/v10.3.2-1/lib/libG4run.so : G4RunManager::ProcessOneEvent(int)
21: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4/v10.3.2-1/lib/libG4run.so : G4RunManager::DoEventLoop(int, char const*, int)
20: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4/v10.3.2-1/lib/libG4run.so : G4RunManager::BeamOn(int, char const*, int)
19: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/GEANT4_VMC/v3-6-ship-1/lib/libgeant4vmc.so : TG4RunManager::ProcessRun(int)
18: /home/shi994/SHIP_soft/sw/ubuntu2004_x86-64/FairRoot/May30-ship-1/lib/libBase.so.17.10.2 : FairMCApplication::RunMC(int)

I see that the latest call was from libG4run library, however, it precedes by our software call to ShipMCTrack.
The question is what are the chances something went wrong in GEANT4 library? Or its purely consequence of geant misuse in our software?

Thanks for your suggestions!