Project

General

Profile

Bug #21343

MetricManager can cause Segfaults when re-initialized after shutdown

Added by Eric Flumerfelt almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
artdaq-utilities
Start date:
11/09/2018
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

In OTSDAQ, it is possible for a program to call the following MetricManager functions:

initialize
shutdown
initialize
do_start

However, during shutdown, any Metric Plugins defined get reset to nullptr in the metric_plugins_ list, which was not being cleared. During do_start, MetricManager attempted to dereference one of theses nullptr entries. A fix has been committed to artdaq-utilities/bugfix/MetricManager_ResetMetricPluginsDuringShutdown.

History

#1 Updated by Kurt Biery almost 2 years ago

Validated these code changes by inspecting the code diffs.

#2 Updated by Eric Flumerfelt over 1 year ago

  • Status changed from New to Resolved
  • Co-Assignees Kurt Biery added

#3 Updated by Eric Flumerfelt over 1 year ago

  • Status changed from Resolved to Reviewed

#4 Updated by Eric Flumerfelt over 1 year ago

  • Target version set to artdaq_utilities v1_04_09
  • Status changed from Reviewed to Closed


Also available in: Atom PDF