Segfault when running standard_ana_dune10kt.fcl
Running the standard analysis script on a LArSoft ROOT file containing MARLEY events results in a segmentation fault. Doing the same for GENIE events works fine.
#1 Updated by Steven Gardiner about 3 years ago
The issue appears to be caused by the AnalysisTree module. The current version of the module assumes that every simb::MCTruth object produced by the generator with label fGenieGenModuleLabel will also have a corresponding simb::MCFlux object. No explicit check of this, however, is made before the simb::MCFlux data members are accessed starting on line 4690. If a generator that does not produce simb::MCFlux objects (e.g., MARLEY) is referred to by fGenieGenModuleLabel, then the module will fail to notice the absence of the simb::MCFlux objects, resulting in a segfault when the module tries to use them.