Chem3 crashed after increasing the number of events

Hi,

I modified the example “chem3” to print out OH radical positions. It worked well for most of proton energies. But when I tried to run for 1 MeV proton with the number of events in /run/beamOn of more than 150, the program crashed. I’m using geant4-11-00-patch-03 and the macro file is given below.

Thank you in advance for your help!

/control/verbose 1
/control/cout/useBuffer 1
/gun/particle proton
/gun/energy 1 MeV
/scheduler/verbose 0
/scheduler/endTime 1 ns
/run/printProgress 1
/run/beamOn 160


CAUGHT SIGNAL: 6 ### address: 0x3e800003099, signal = SIGABRT, value = 6, description = abort program (formerly SIGIOT).

Backtrace:
[PID=12441, TID=2][ 0/28]> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7f51bfb7900b]
[PID=12441, TID=2][ 1/28]> /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x7f51bfb58859]
[PID=12441, TID=2][ 2/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4global.so(Z11G4ExceptionPKcS0_19G4ExceptionSeverityS0+0x1117) [0x7f51c005cc87]
[PID=12441, TID=2][ 3/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4global.so(_Z11G4ExceptionPKcS0_19G4ExceptionSeverityRNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE+0xa5) [0x7f51c005ce25]
[PID=12441, TID=2][ 4/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN10G4ITFinderI10G4MoleculeE11FindNearestEPKS0_i+0x414) [0x7f51c0c27384]
[PID=12441, TID=2][ 5/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN29G4DNAMoleculeEncounterStepper13CalculateStepERK7G4TrackRKd+0x1e6) [0x7f51c0c310e6]
[PID=12441, TID=2][ 6/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN29G4DNAMoleculeEncounterStepper20CalculateMinTimeStepEdd+0x11e) [0x7f51c0c2ffce]
[PID=12441, TID=2][ 7/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN18G4ITModelProcessor20CalculateMinTimeStepEdd+0x89) [0x7f51c0cc9a39]
[PID=12441, TID=2][ 8/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN11G4Scheduler8SteppingEv+0x6e3) [0x7f51c0d1fd93]
[PID=12441, TID=2][ 9/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN11G4Scheduler9DoProcessEv+0x79) [0x7f51c0d20f79]
[PID=12441, TID=2][10/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN11G4Scheduler17SynchronizeTracksEv+0x16f) [0x7f51c0d2123f]
[PID=12441, TID=2][11/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN11G4Scheduler7ProcessEv+0x16c) [0x7f51c0d2140c]
[PID=12441, TID=2][12/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4processes.so(_ZN21G4DNAChemistryManager3RunEv+0x28e) [0x7f51c0c9d17e]
[PID=12441, TID=2][13/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4event.so(_ZN14G4StackManager12PopNextTrackEPP13G4VTrajectory+0x56) [0x7f51c2206ff6]
[PID=12441, TID=2][14/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4event.so(_ZN14G4EventManager12DoProcessingEP7G4Event+0x52c) [0x7f51c21bef9c]
[PID=12441, TID=2][15/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager15ProcessOneEventEi+0x3c) [0x7f51c2336c1c]
[PID=12441, TID=2][16/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager11DoEventLoopEiPKci+0x17e) [0x7f51c2336b5e]
[PID=12441, TID=2][17/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager6DoWorkEv+0x15d) [0x7f51c2336ead]
[PID=12441, TID=2][18/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4tasking.so(_ZN22G4TaskRunManagerKernel17ExecuteWorkerTaskEv+0x6a) [0x7f51c2333d3a]
[PID=12441, TID=2][19/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4tasking.so(+0x3a2d6) [0x7f51c23232d6]
[PID=12441, TID=2][20/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4tasking.so(_ZNSt13__future_base13_State_baseV29_M_do_setEPSt8functionIFSt10unique_ptrINS_12_Result_baseENS3_8_DeleterEEvEEPb+0x2d) [0x7f51c232b38d]
[PID=12441, TID=2][21/28]> /lib/x86_64-linux-gnu/libpthread.so.0(+0x114df) [0x7f51bf6f64df]
[PID=12441, TID=2][22/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4tasking.so(_ZN3PTL4TaskIvJEEclEv+0x12c) [0x7f51c232b50c]
[PID=12441, TID=2][23/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4ptl.so.0(_ZN3PTL10ThreadPool14execute_threadEPNS_14VUserTaskQueueE+0x351) [0x7f51bff566d1]
[PID=12441, TID=2][24/28]> /home/thiansin/Documents/Programs/Geant4/geant4-v11.0.3-install/lib/libG4ptl.so.0(_ZN3PTL10ThreadPool12start_threadEPS0_PSt6vectorISt10shared_ptrINS_10ThreadDataEESaIS5_EEl+0x1a3) [0x7f51bff56e33]
[PID=12441, TID=2][25/28]> /lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6de4) [0x7f51bfe19de4]
[PID=12441, TID=2][26/28]> /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f51bf6ed609]
[PID=12441, TID=2][27/28]> /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f51bfc55133]

: Aborted (Signal sent by tkill() 12441 1000)

Dear,

Thanks for reporting! Can you try running your simulation with version 11.01 to see if the issue still persists?