Created attachment 13 [details] printscreens while crash... Dear Vladimir Ivanovich! I catch a crash when PAI model is used. In the file g4paiphotonmodel.cc file in G4PAIPhotonModel::GetPostStepTransfer function... please see attached picture. In my case, the crash happens in final FOR cycle, when iTransfer variable get a value =109. in comparison if( position>=....) When variable iPlace=16 and vector length=110 for that table element, it is OK. BUT!!!! Table element indexed as (iPlace+1)=17 has only 108 elements and index 109 is out of range for it! ------------------- Sincerely Yours, Viacheslav Porosev
Many thanks for pointing out on the problem. The fix will be included in the patch to 9.1 release.