Project

General

Profile

Bug #22248

Task #22198: Address various issues in protodune-sp reconstruction

Possible memory leaks in WireCell

Added by Tingjun Yang 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
03/29/2019
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Valgrind showed the following indication of memory leaks in WireCell reconstruction:

==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,119 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F497F7: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::Source>(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F428A5: WireCell::Pgraph::Factory::Factory() (Factory.cxx:9)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,120 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F49869: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::Sink>(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F428B6: WireCell::Pgraph::Factory::Factory() (Factory.cxx:10)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,121 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F498DB: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::Function>(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F428C7: WireCell::Pgraph::Factory::Factory() (Factory.cxx:11)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,122 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F4994D: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::Queuedout>(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F428D8: WireCell::Pgraph::Factory::Factory() (Factory.cxx:12)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,123 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F499BF: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::JoinFanin<WireCell::IJoinNodeBase> >(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F428E9: WireCell::Pgraph::Factory::Factory() (Factory.cxx:13)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,124 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F49A31: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::SplitFanout<WireCell::ISplitNodeBase> >(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F428FA: WireCell::Pgraph::Factory::Factory() (Factory.cxx:14)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,125 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F49AA3: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::SplitFanout<WireCell::IFanoutNodeBase> >(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F4290B: WireCell::Pgraph::Factory::Factory() (Factory.cxx:15)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,126 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F49B15: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::JoinFanin<WireCell::IFaninNodeBase> >(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F4291C: WireCell::Pgraph::Factory::Factory() (Factory.cxx:16)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)
==22281== 
==22281== 8 bytes in 1 blocks are definitely lost in loss record 1,127 of 63,444
==22281==    at 0x4C2A243: operator new(unsigned long) (vg_replace_malloc.c:334)
==22281==    by 0x64F49B87: void WireCell::Pgraph::Factory::bind_maker<WireCell::Pgraph::Hydra>(WireCell::INode::NodeCategory) (Factory.h:37)
==22281==    by 0x64F4292D: WireCell::Pgraph::Factory::Factory() (Factory.cxx:17)
==22281==    by 0x64F62188: WireCell::Pgraph::Pgrapher::configure(Json::Value const&) (Pgrapher.cxx:45)
==22281==    by 0x2E4A513B: WireCell::Main::initialize() (Main.cxx:217)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)
==22281==    by 0x4094374A: std::enable_if<!std::is_function<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::value, std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > >::type cet::BasicPluginFactory::makePlugin<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (BasicPluginFactory.h:67)
==22281==    by 0x409417A1: art::detail::tool_type<wcls::MainTool, void>::make_plugin(cet::BasicPluginFactory&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) (tool_type.h:31)
==22281==    by 0x4094191B: std::enable_if<std::is_class<wcls::MainTool>::value, art::detail::tool_type<wcls::MainTool, void>::return_type>::type art::make_tool<wcls::MainTool>(fhicl::ParameterSet const&) (make_tool.h:25)

==22281== 301,879 bytes in 1 blocks are possibly lost in loss record 63,244 of 63,444
==22281==    at 0x4C29C23: malloc (vg_replace_malloc.c:299)
==22281==    by 0x30334D14: jsonnet_realloc (libjsonnet.cpp:695)
==22281==    by 0x30336DE0: from_string (libjsonnet.cpp:46)
==22281==    by 0x30336DE0: jsonnet_evaluate_snippet_aux(JsonnetVm*, char const*, char const*, int*, (anonymous namespace)::EvalKind) [clone .constprop.356] (libjsonnet.cpp:518)
==22281==    by 0x3033B9A4: jsonnet_evaluate_file_aux(JsonnetVm*, char const*, int*, (anonymous namespace)::EvalKind) [clone .constprop.354] (libjsonnet.cpp:636)
==22281==    by 0x3033BF4A: jsonnet_evaluate_file (libjsonnet.cpp:642)
==22281==    by 0x303772EF: jsonnet::Jsonnet::evaluateFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) (libjsonnet++.cpp:87)
==22281==    by 0x2F271F8B: WireCell::Persist::Parser::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (Persist.cxx:285)
==22281==    by 0x2E4A4180: WireCell::Main::initialize() (Main.cxx:143)
==22281==    by 0x62481368: wcls::WCLS::WCLS(art::ToolConfigTable<wcls::WCLSConfig, wcls::WCLSKeysToIgnore> const&) (WCLS_tool.cc:148)
==22281==    by 0x6248A863: std::_MakeUniq<wcls::WCLS>::__single_object std::make_unique<wcls::WCLS, fhicl::ParameterSet const&>(fhicl::ParameterSet const&) (unique_ptr.h:825)
==22281==    by 0x62481CB9: makeTool (WCLS_tool.cc:195)
==22281==    by 0x40945E17: std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> > cet::PluginFactory::call<std::unique_ptr<wcls::MainTool, std::default_delete<wcls::MainTool> >, fhicl::ParameterSet const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, fhicl::ParameterSet const&) const (PluginFactory.h:111)

History

#1 Updated by Brett Viren 8 months ago

The 8 bytes pieces are due to singletons that live until end of job so are expected.

The 301,879 I happen to notice recently myself. I'll check in to it.



Also available in: Atom PDF