In the file processes/hadronic/models/cascade/cascade/src/G4InuclCollider.cc there are two calls to checkOutput.getOutgoingNuclei()[0] (lines 355 and 360 of version 10.2.patch2) The std::vector checkOutput.getOutgoingNuclei() can have no elements and thus these calls cause a segmentation fault. To reproduce see comments at end of: https://bugzilla-geant4.kek.jp/show_bug.cgi?id=1680
Added checks against zero entries.