SamplingInput in art 2.12 segfaults depending on combination of dataproducts in input files
I have been using SamplingInput from art 2.12 (by running mu2e Offline tag v7_3_0). I generated art output files using two producer modules (an event generator and Mu2eG4), and configure the output to contain subsets of the produced data products. I then run a new art job using SamplingInput that takes in just one input file for simplicity. For some combinations of data products being produced / filtered in the input art file, the SamplingInput job segfaults at SamplingInputFile.cc:174. I've attached .fcl and .art files from a couple combinations that I tried, one of which segfaults while the others all work fine.
test0.art/.fcl: only ran event generator, keeping dataproducts art::TriggerResults and mu2e::GenParticles, works fine
test1.art/.fcl: ran event generator and mu2eG4, keeping dataproducts art::TriggerResults, mu2e::GenParticles, and mu2e::StatusG4, works fine
test2.art/.fcl: only ran event generator, keeping dataproducts art::TriggerResults but filtering mu2e:GenParticles, works fine
test3.art/.fcl: ran event generator and mu2eG4, keeping dataproducts art::TriggerResults and mu2e::StatusG4 but filtering mu2e::GenParticles, segfaults
The problem does not seem to be isolated to these particular dataproducts; mu2e::GenEventCount shows a similar bug.
I've also attached AS.fcl that I used to run SamplingInput