Any help into what is causing this error would be greatly appreciated.
Kind Regards
_Geant4 Version:_11.2
_Operating System:_Debian12
_Compiler/Version:_12.2
_CMake Version:_3.25
βββ Stack ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
[0] from 0x0000555555b10c26 in ZStepLimiter::PostStepDoIt(G4Track const&, G4Step const&)+38 at /home//G4//g4bl/BLManager.cc:113
[1] from 0x0000555555e3eb96 in G4SteppingManager::InvokePSDIP(unsigned long)+54 at /home//GEANT4-11/geant4/source/tracking/src/G4SteppingManager.cc:818
[2] from 0x0000555555e3ec37 in G4SteppingManager::InvokePostStepDoItProcs()+41 at /home//GEANT4-11/geant4/source/tracking/src/G4SteppingManager.cc:790
[3] from 0x0000555555e3efc1 in G4SteppingManager::Stepping()+705 at /home//GEANT4-11/geant4/source/tracking/src/G4SteppingManager.cc:225
[4] from 0x0000555555e39810 in G4TrackingManager::ProcessOneTrack(G4Track*)+428 at /home//GEANT4-11/geant4/source/tracking/src/G4TrackingManager.cc:133
[5] from 0x0000555555e0c12e in G4EventManager::DoProcessing(G4Event*)+1080 at /home//GEANT4-11/geant4/source/event/src/G4EventManager.cc:211
[6] from 0x0000555555e0c534 in G4EventManager::ProcessOneEvent(G4Event*)+16 at /home//GEANT4-11/geant4/source/event/src/G4EventManager.cc:447
[7] from 0x0000555555b29fe0 in BLRunManager::DoEventLoop(int, char const*, int)+270 at /home//G4//g4bl/BLRunManager.cc:166
[8] from 0x0000555555de63de in G4RunManager::BeamOn(int, char const*, int)+94 at /home//GEANT4-11/geant4/source/run/src/G4RunManager.cc:261
[9] from 0x0000555555b29ece in BLRunManager::BeamOn(int, char const*, int)+112 at /home//G4//g4bl/BLRunManager.cc:142
[+]
TBH, Iβm really not sure whatβs going on, so all I can suggest is checking for the usual things like the unique_ptr holding a non-null pointer, of if thereβs the possibility of it ever holding a dangling pointer. You might need to set appropriate breakpoints and then step and examine values to see whether itβs in the unique_ptr or in Initialize.
I think the global answer goes back to this post you answered a while back.
ie relating to G4VParticleChange() having been marked as delete in 11.2 and how one is supposed to use these classes from now on.
If there is a resource about this that you could point me to I would appreciate it, as I think it is related to all other applications that one may need to run with up to date GEANT and associated physics lists.
I canβt see anything relating to G4VProcess or G4VParticleChange here: https://geant4.web.cern.ch/download/release-notes/notes-v11.2.0.html
I should note in this line: G4VProcess *clone() { return new ZStepLimiter(); I deleted the *this from ZStepLimiter(*this) as it was previously as it wont compile otherwise.