Project

General

Profile

Bug #21873

SamplingInput in art 2.12 segfaults depending on combination of dataproducts in input files

Added by Richard Bonventre about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
02/08/2019
Due date:
% Done:

100%

Estimated time:
8.00 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Duration:

Description

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

AS.fcl (492 Bytes) AS.fcl Richard Bonventre, 02/08/2019 04:29 PM
test3.fcl (906 Bytes) test3.fcl Richard Bonventre, 02/08/2019 04:29 PM
test2.fcl (900 Bytes) test2.fcl Richard Bonventre, 02/08/2019 04:29 PM
test3.art (94.2 KB) test3.art Richard Bonventre, 02/08/2019 04:29 PM
test1.fcl (905 Bytes) test1.fcl Richard Bonventre, 02/08/2019 04:29 PM
test2.art (91.4 KB) test2.art Richard Bonventre, 02/08/2019 04:29 PM
test0.fcl (899 Bytes) test0.fcl Richard Bonventre, 02/08/2019 04:29 PM
test1.art (98.6 KB) test1.art Richard Bonventre, 02/08/2019 04:29 PM
test0.art (71.9 KB) test0.art Richard Bonventre, 02/08/2019 04:29 PM

Associated revisions

Revision dba4a44f (diff)
Added by Kyle Knoepfel about 1 month ago

Fix issue #21873: fix segmentation violation for sampling input source.

History

#1 Updated by Kyle Knoepfel about 1 month ago

  • Estimated time set to 8.00 h
  • Assignee set to Kyle Knoepfel
  • Status changed from New to Assigned

#2 Updated by Kyle Knoepfel about 1 month ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Resolved
  • Category set to Infrastructure
  • Project changed from cet-is to art
  • Occurs In 2.12.00 added

This bug has been fixed with commit art:dba4a44. We will issue an art 2.12 bug-fix release.

#3 Updated by Kyle Knoepfel about 1 month ago

  • Target version set to 2.12.01

#4 Updated by Kyle Knoepfel about 1 month ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF