Created attachment 584 [details] Stack showing stack in G4MultiLevelLocator Hello, In Geant4.10.5.p01 I get an abort trap 6 (and SIGABRT) and my program crashes in G4MultiLevelLocator. The model is one that has no overlaps and works fine with every version of Geant4 up until 10.5. To investigate, I've got Geant4 compiled with the build "Maintainer". I used my application through CLion (an IDE) with lldb. This identifies the abort from inside G4MultiLevelLocator::EstimateIntersectionPoint, however I cannot identify the exact line or cause of the problem. In my experience, this is caused by accessing an array with an invalid index (e.g. accessing beyond the array length). Just a possible guess. In our simulation we have custom integrators for magnetic field tracking, however, it's not due to this as I switch them all out for G4ClassicalRK4 and the same problem persists. My feeling is such an abort trap should not happen. If something were truly wrong, then an exception should be thrown. I've attached a few screenshots of the debugger. Please let me know if there's any extra information required. Many thanks for your help, Laurie
Created attachment 585 [details] Stack showing stack at G4PropagatorInField - one up from G4MultiLevelLocator
Created attachment 586 [details] Some nulls I found while exploring the stack. Perhaps ok, but don't know.
Created attachment 587 [details] More nulls - again, maybe not a problem - don't know.
It is a bit difficult to investigate this report, as there is little information which can help to identify a flaw. At first inspection I can see only one potential cause for the problem, the arrays that have size [max_depth+1] and [depth]. If you can share the value of the local variables 'depth' and/or 'idepth' when an abort trap is triggered, it could confirm that the problem is related to this. Is there any additional information about the frequency of the problem, the type of setup in which it occurs (the complexity of the region of the geometry), the intensity of the B-field and the energy of the track ? Best regards, John Apostolakis
We need more information - else we will close this report.