Memory leak in test_xmpp_discovery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenContrail |
Fix Committed
|
High
|
Manish Singh |
Bug Description
Leak check _main_ detected leaks of 480 bytes in 5 objects
The 5 largest leaks:
Using local file /home/praveen/
Leak of 232 bytes in 1 objects allocated from:
@ 1629c07 curl_docalloc
@ 162d270 curl_multi_init
@ 1752cd7 curl_init
@ 1749b9c HttpClient::Init
@ 121f697 MetadataProxy:
@ 1204eef ServicesModule:
@ 11d27c9 TestAgentInit:
@ 11d30f8 TestAgentInit::Run
@ 11d51a6 boost::
@ 11d4f7f boost::
@ 11d4e8f boost::
@ 11d4de1 boost::
@ 10e6fb0 boost::
@ 1877beb TaskTrigger:
@ 186648d TaskImpl::execute
@ 7f32e4b91ece tbb:
Leak of 96 bytes in 1 objects allocated from:
@ 1629c07 curl_docalloc
@ 1640701 Curl_mk_connc
@ 162d2e5 curl_multi_init
@ 1752cd7 curl_init
@ 1749b9c HttpClient::Init
@ 121f697 MetadataProxy:
@ 1204eef ServicesModule:
@ 11d27c9 TestAgentInit:
@ 11d30f8 TestAgentInit::Run
@ 11d51a6 boost::
@ 11d4f7f boost::
@ 11d4e8f boost::
@ 11d4de1 boost::
@ 10e6fb0 boost::
@ 1877beb TaskTrigger:
@ 186648d TaskImpl::exec
Leak of 64 bytes in 1 objects allocated from:
@ 1629ae6 curl_domalloc
@ 162c806 Curl_hash_alloc
@ 162d1f8 sh_init
@ 162d2b9 curl_multi_init
@ 1752cd7 curl_init
@ 1749b9c HttpClient::Init
@ 121f697 MetadataProxy:
@ 1204eef ServicesModule:
@ 11d27c9 TestAgentInit:
@ 11d30f8 TestAgentInit::Run
@ 11d51a6 boost::
@ 11d4f7f boost::
@ 11d4e8f boost::
@ 11d4de1 boost::
@ 10e6fb0 boost::
@ 1877beb TaskTrigger:
@ 1
Leak of 48 bytes in 1 objects allocated from:
@ 1629ae6 curl_domalloc
@ 16506c7 Curl_llist_alloc
@ 162d30c curl_multi_init
@ 1752cd7 curl_init
@ 1749b9c HttpClient::Init
@ 121f697 MetadataProxy:
@ 1204eef ServicesModule:
@ 11d27c9 TestAgentInit:
@ 11d30f8 TestAgentInit::Run
@ 11d51a6 boost::
@ 11d4f7f boost::
@ 11d4e8f boost::
@ 11d4de1 boost::
@ 10e6fb0 boost::
@ 1877beb TaskTrigger:
@ 186648d TaskImpl::e
Leak of 40 bytes in 1 objects allocated from:
@ 1629c07 curl_docalloc
@ 16406d2 Curl_mk_connc
@ 162d2e5 curl_multi_init
@ 1752cd7 curl_init
@ 1749b9c HttpClient::Init
@ 121f697 MetadataProxy:
@ 1204eef ServicesModule:
@ 11d27c9 TestAgentInit:
@ 11d30f8 TestAgentInit::Run
@ 11d51a6 boost::
@ 11d4f7f boost::
@ 11d4e8f boost::
@ 11d4de1 boost::
@ 10e6fb0 boost::
@ 1877beb TaskTrigger:
@ 186648d TaskImpl::exec
If the preceding stack traces are not enough to find the leaks, try running THIS shell command:
pprof /home/praveen/
If you are still puzzled about why the leaks are there, try rerunning this program with HEAP_CHECK_
If the leak report occurs in a small fraction of runs, try running with TCMALLOC_
Exiting with error code (instead of crashing) because of whole-program memory leaks
tags: | added: vrouter |
Fixed.
https:/ /github. com/Juniper/ contrail- controller/ commit/ f97ed4574ad923e 7405f93421b19f3 183642564b