Issue with Radioactive Decay and G4VUserPhysicsList

I was trying to simulate some decay chains using G4VUserPhysicsList and G4RadioactiveDecay class. However, I keep getting segmentation faults and the backtrace seems to be related to radioactive decay. I am attaching my code snippet the handles the radioactive decay process for Generic Ions. Could you please let me know what I might have done wrong here? I am pretty sure the particle process for Generic Ion is the source of the problem because if I comment it out, everything else in my simulation runs fine.

else if (particleName == “GenericIon”) {
std::cout << "Generic Ion Activate: " << particleName << std::endl;
G4RadioactiveDecay* theRadioactiveDecay = new G4RadioactiveDecay();
pmanager->SetProcessOrdering(theRadioactiveDecay, idxPostStep);
pmanager->SetProcessOrdering(theRadioactiveDecay, idxAtRest);

[PID=2367, TID=0][ 0/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08a9695da]
[PID=2367, TID=0][ 1/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08a970aaa]
[PID=2367, TID=0][ 2/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08a970e5e]
[PID=2367, TID=0][ 3/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08a9721b3]
[PID=2367, TID=0][ 4/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b4d2b15]
[PID=2367, TID=0][ 5/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b4d32db]
[PID=2367, TID=0][ 6/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b4cf81c]
[PID=2367, TID=0][ 7/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b4e5488]
[PID=2367, TID=0][ 8/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b526303]
[PID=2367, TID=0][ 9/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b5eda7c]
[PID=2367, TID=0][10/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b5df272]
[PID=2367, TID=0][11/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b5f108b]
[PID=2367, TID=0][12/16]> /home/waly/software/geant4/geant4-mt-v11.0.3/lib/ [0x7fe08b614d2e]
[PID=2367, TID=0][13/16]> /usr/lib/x86_64-linux-gnu/ [0x7fe088b8cde4]
[PID=2367, TID=0][14/16]> /usr/lib/x86_64-linux-gnu/ [0x7fe08722e609]
[PID=2367, TID=0][15/16]> /usr/lib/x86_64-linux-gnu/ [0x7fe088879133]

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

However, I would like to mention that if I use G4VmodularPhysicsList, I don’t get this error, but I wanted more control over my physics list, so wanted to switch to G4VUserPhysicsList. I am using Geant4 11.0.3 on Ubuntu

The reply is in the new thread: Possible bug with G4RadioactiveDecay() class