Project

General

Profile

Support #21889

Support #21738: BoardReader memory usage increases with using circular_buffer_mode_example and nADCcounts of 200

Make sure that artdaq runs cleanly under ASAN

Added by Eric Flumerfelt 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Category:
Known Issues
Target version:
-
Start date:
02/12/2019
Due date:
% Done:

0%

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

Description

To try and debug potential memory leaks in the BoardReader, I was testing the system using ASAN. In doing so, a large number of memory leak errors were generated associated with xmlrpc_commander.

I have added an "unregister_method" macro which deletes the pointer created by "register_method", and when implemented, leads to artdaq being able to run the demo without ASAN warnings (some are still present from art/ROOT).

History

#1 Updated by Eric Flumerfelt 9 months ago

xmlrpc_commander changes are on artdaq/feature/21889_xmlrpc_commander_CleanupMethodPointers
Changes to DAQInterface for running in ASAN are on artdaq-utilities-daqinterface/feature/21889_RunASANOnArtdaq



Also available in: Atom PDF