Project

General

Profile

Bug #16208

DumpMCTruth module crashes with a segmentation fault

Added by Gianluca Petrillo over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Data products
Target version:
-
Start date:
04/14/2017
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Occurs In:
Experiment:
-
Co-Assignees:
Duration:

Description

This has been observed on an input file produced by prodgenie_bnb_nu_cosmic_uboone.fcl (MicroBooNE) using the configuration dump_mctruth.fcl provided with larsim.
The crash is a segmentation fault on the analyze() method of the module.

Associated revisions

Revision 39f86e7d (diff)
Added by Gianluca Petrillo over 2 years ago

Fixed bug (issue #16208).

Revision 0e75870a (diff)
Added by Gianluca Petrillo over 2 years ago

Fixed bug (issue #16208).

History

#1 Updated by Gianluca Petrillo over 2 years ago

  • Status changed from New to Assigned
  • Estimated time set to 2.00 h

#2 Updated by Gianluca Petrillo over 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

It turns out the code was saving a provenance pointer from art::Handle::provenance(), which turns out to be pointing to a local data member of art::Handle.
The idea in the code was to gain access to provenance information without keeping the handles available, which was obviously not going to work.
Since in the end there was only a single piece of information needed from the provenance, now the code saves that piece of information directly rather than carrying the provenance structure around.

Fix has been pushed to develop as larsim:39f86e7d231e1dd6ffe33b97edf7dba368f14430.

#3 Updated by Katherine Lato over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF