Project

General

Profile

Bug #882 ยป valgrind.log

Josh Durgin, 03/11/2011 04:01 PM

 
==1310==
==1310== HEAP SUMMARY:
==1310== in use at exit: 41,571 bytes in 102 blocks
==1310== total heap usage: 5,413 allocs, 5,311 frees, 732,286 bytes allocated
==1310==
==1310== 5 bytes in 1 blocks are definitely lost in loss record 1 of 31
==1310== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==1310== by 0x546C881: strdup (strdup.c:43)
==1310== by 0x5165B6E: dyn_snprintf (dyn_snprintf.c:36)
==1310== by 0x518BD91: conf_post_process_val(char const*) (config.cc:623)
==1310== by 0x516C5C7: int ConfFile::_read<char*>(char const*, char const*, char**, char*) (ConfUtils.cc:1012)
==1310== by 0x518BAA0: conf_read_key_ext(char const*, char const*, char const*, char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:690)
==1310== by 0x518C110: conf_read_key(char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:745)
==1310== by 0x518C26D: md_config_t::parse_config_files(std::list<std::string, std::allocator<std::string> > const&) (config.cc:831)
==1310== by 0x50A6EAA: rados_conf_read_file (librados.cc:2641)
==1310== by 0x402439: main (testlibrbd.c:265)
==1310==
==1310== 8 bytes in 8 blocks are definitely lost in loss record 2 of 31
==1310== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==1310== by 0x546C881: strdup (strdup.c:43)
==1310== by 0x516C6C4: int ConfFile::_read<char*>(char const*, char const*, char**, char*) (ConfUtils.cc:855)
==1310== by 0x518B999: conf_read_key_ext(char const*, char const*, char const*, char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:711)
==1310== by 0x518C110: conf_read_key(char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:745)
==1310== by 0x518C26D: md_config_t::parse_config_files(std::list<std::string, std::allocator<std::string> > const&) (config.cc:831)
==1310== by 0x50A6EAA: rados_conf_read_file (librados.cc:2641)
==1310== by 0x402439: main (testlibrbd.c:265)
==1310==
==1310== 12 bytes in 2 blocks are definitely lost in loss record 3 of 31
==1310== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==1310== by 0x546C881: strdup (strdup.c:43)
==1310== by 0x5165B6E: dyn_snprintf (dyn_snprintf.c:36)
==1310== by 0x5169B40: parse_line(char*, ConfLine*) (ConfUtils.cc:308)
==1310== by 0x516B78C: ConfFile::_parse(char const*, ConfSection**) (ConfUtils.cc:707)
==1310== by 0x516BE3C: ConfFile::parse() (ConfUtils.cc:767)
==1310== by 0x518C22D: md_config_t::parse_config_files(std::list<std::string, std::allocator<std::string> > const&) (config.cc:817)
==1310== by 0x50A6EAA: rados_conf_read_file (librados.cc:2641)
==1310== by 0x402439: main (testlibrbd.c:265)
==1310==
==1310== 30 bytes in 1 blocks are possibly lost in loss record 5 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x62DAB28: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62DB564: ??? (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62DB712: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x5184E88: CephInitParameters::CephInitParameters(unsigned int) (ceph_argparse.cc:171)
==1310== by 0x50A983A: rados_create (librados.cc:2593)
==1310== by 0x402422: main (testlibrbd.c:264)
==1310==
==1310== 37 bytes in 1 blocks are possibly lost in loss record 6 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x62DAB28: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x511B5A4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (basic_string.tcc:139)
==1310== by 0x5196AC5: EntityName::set(unsigned int, std::string const&) (basic_string.h:1543)
==1310== by 0x5184E96: CephInitParameters::CephInitParameters(unsigned int) (ceph_argparse.cc:171)
==1310== by 0x50A983A: rados_create (librados.cc:2593)
==1310== by 0x402422: main (testlibrbd.c:264)
==1310==
==1310== 44 bytes in 5 blocks are definitely lost in loss record 7 of 31
==1310== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==1310== by 0x516C5EE: int ConfFile::_read<char*>(char const*, char const*, char**, char*) (ConfUtils.cc:904)
==1310== by 0x518BAA0: conf_read_key_ext(char const*, char const*, char const*, char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:690)
==1310== by 0x518C110: conf_read_key(char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:745)
==1310== by 0x518C26D: md_config_t::parse_config_files(std::list<std::string, std::allocator<std::string> > const&) (config.cc:831)
==1310== by 0x50A6EAA: rados_conf_read_file (librados.cc:2641)
==1310== by 0x402439: main (testlibrbd.c:265)
==1310==
==1310== 47 bytes in 11 blocks are definitely lost in loss record 8 of 31
==1310== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==1310== by 0x546C881: strdup (strdup.c:43)
==1310== by 0x516C6C4: int ConfFile::_read<char*>(char const*, char const*, char**, char*) (ConfUtils.cc:855)
==1310== by 0x518BAA0: conf_read_key_ext(char const*, char const*, char const*, char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:690)
==1310== by 0x518C110: conf_read_key(char const*, char const*, opt_type_t, void*, void*, bool) (config.cc:745)
==1310== by 0x518C26D: md_config_t::parse_config_files(std::list<std::string, std::allocator<std::string> > const&) (config.cc:831)
==1310== by 0x50A6EAA: rados_conf_read_file (librados.cc:2641)
==1310== by 0x402439: main (testlibrbd.c:265)
==1310==
==1310== 48 bytes in 3 blocks are definitely lost in loss record 10 of 31
==1310== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==1310== by 0x516C5EE: int ConfFile::_read<char*>(char const*, char const*, char**, char*) (ConfUtils.cc:904)
==1310== by 0x51787D6: MonClient::build_initial_monmap() (MonClient.cc:121)
==1310== by 0x50AAF8F: librados::RadosClient::connect() (librados.cc:548)
==1310== by 0x402455: main (testlibrbd.c:267)
==1310==
==1310== 56 bytes in 1 blocks are definitely lost in loss record 11 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x51007D9: get_auth_client_handler(int, RotatingKeyRing*) (AuthClientHandler.cc:33)
==1310== by 0x51768C5: MonClient::handle_auth(MAuthReply*) (MonClient.cc:358)
==1310== by 0x517741A: MonClient::ms_dispatch(Message*) (MonClient.cc:223)
==1310== by 0x50C7EA9: SimpleMessenger::dispatch_entry() (Messenger.h:98)
==1310== by 0x50BA48B: SimpleMessenger::DispatchThread::entry() (SimpleMessenger.h:533)
==1310== by 0x595D8B9: start_thread (pthread_create.c:300)
==1310== by 0x54C002C: clone (clone.S:112)
==1310==
==1310== 58 bytes in 1 blocks are possibly lost in loss record 12 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x62DAB28: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62DB824: ??? (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62DB8E9: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*>(char*, char*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62D61CD: std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x51939E4: DoutStreambuf<char, std::char_traits<char> >::_calculate_opath() const (sstream:451)
==1310== by 0x519516E: DoutStreambuf<char, std::char_traits<char> >::_read_ofile_config() (DoutStreambuf.cc:494)
==1310== by 0x5195965: DoutStreambuf<char, std::char_traits<char> >::read_global_config() (DoutStreambuf.cc:283)
==1310== by 0x5195ABB: _dout_open_log() (debug.cc:27)
==1310== by 0x4E3168D: ??? (debug.h:58)
==1310== by 0x4E31FCE: librbd::aio_create_completion(void*, void (*)(void*, void*)) (librbd.cc:141)
==1310== by 0x4E320AE: librbd::RBD::AioCompletion::AioCompletion(void*, void (*)(void*, void*)) (librbd.cc:1374)
==1310==
==1310== 62 bytes in 1 blocks are possibly lost in loss record 13 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x62DAB28: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62DB824: ??? (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62DB8E9: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*>(char*, char*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x62D61CD: std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const (in /usr/lib/libstdc++.so.6.0.13)
==1310== by 0x5195249: DoutStreambuf<char, std::char_traits<char> >::_read_ofile_config() (sstream:451)
==1310== by 0x5195965: DoutStreambuf<char, std::char_traits<char> >::read_global_config() (DoutStreambuf.cc:283)
==1310== by 0x5195ABB: _dout_open_log() (debug.cc:27)
==1310== by 0x4E3168D: ??? (debug.h:58)
==1310== by 0x4E31FCE: librbd::aio_create_completion(void*, void (*)(void*, void*)) (librbd.cc:141)
==1310== by 0x4E320AE: librbd::RBD::AioCompletion::AioCompletion(void*, void (*)(void*, void*)) (librbd.cc:1374)
==1310== by 0x4E320FB: rbd_aio_create_completion (librbd.cc:1695)
==1310==
==1310== 80 bytes in 1 blocks are definitely lost in loss record 15 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x5148E99: MPoolOpReply::decode_payload() (MPoolOpReply.h:69)
==1310== by 0x511E927: decode_message(ceph_msg_header&, ceph_msg_footer&, ceph::buffer::list&, ceph::buffer::list&, ceph::buffer::list&) (Message.cc:526)
==1310== by 0x50CD791: SimpleMessenger::Pipe::read_message(Message**) (SimpleMessenger.cc:1952)
==1310== by 0x50D9562: SimpleMessenger::Pipe::reader() (SimpleMessenger.cc:1574)
==1310== by 0x50BA4DC: SimpleMessenger::Pipe::Reader::entry() (SimpleMessenger.h:196)
==1310== by 0x595D8B9: start_thread (pthread_create.c:300)
==1310== by 0x54C002C: clone (clone.S:112)
==1310==
==1310== 80 bytes in 10 blocks are definitely lost in loss record 16 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x4E320EA: rbd_aio_create_completion (librbd.cc:1695)
==1310== by 0x401AFC: aio_write_test_data (testlibrbd.c:173)
==1310== by 0x401C65: test_io (testlibrbd.c:249)
==1310== by 0x40258E: main (testlibrbd.c:286)
==1310==
==1310== 152 (32 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 19 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x50B06C5: librados::RadosClient::watch(librados::IoCtxImpl&, object_t const&, unsigned long, unsigned long*, librados::WatchCtx*) (librados.cc:1784)
==1310== by 0x50B0DC9: librados::IoCtx::watch(std::string const&, unsigned long, unsigned long*, librados::WatchCtx*) (librados.cc:2366)
==1310== by 0x4E38643: librbd::open_image(librados::IoCtx&, librbd::ImageCtx*, char const*, char const*) (librbd.cc:1001)
==1310== by 0x4E388CF: rbd_open (librbd.cc:1581)
==1310== by 0x40251A: main (testlibrbd.c:280)
==1310==
==1310== 152 (32 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x50B06C5: librados::RadosClient::watch(librados::IoCtxImpl&, object_t const&, unsigned long, unsigned long*, librados::WatchCtx*) (librados.cc:1784)
==1310== by 0x50B0DC9: librados::IoCtx::watch(std::string const&, unsigned long, unsigned long*, librados::WatchCtx*) (librados.cc:2366)
==1310== by 0x4E38643: librbd::open_image(librados::IoCtx&, librbd::ImageCtx*, char const*, char const*) (librbd.cc:1001)
==1310== by 0x4E388CF: rbd_open (librbd.cc:1581)
==1310== by 0x402304: test_create_and_stat (testlibrbd.c:41)
==1310== by 0x402504: main (testlibrbd.c:279)
==1310==
==1310== 2,536 (576 direct, 1,960 indirect) bytes in 1 blocks are definitely lost in loss record 27 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x50AB160: librados::RadosClient::connect() (librados.cc:561)
==1310== by 0x402455: main (testlibrbd.c:267)
==1310==
==1310== 2,880 (80 direct, 2,800 indirect) bytes in 10 blocks are definitely lost in loss record 29 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x50AA18D: librados::Rados::aio_create_completion(void*, void (*)(void*, void*), void (*)(void*, void*)) (librados.cc:2582)
==1310== by 0x4E39B57: librbd::aio_write(librbd::ImageCtx*, long, unsigned long, char const*, librbd::AioCompletion*) (librbd.cc:1238)
==1310== by 0x401B24: aio_write_test_data (testlibrbd.c:175)
==1310== by 0x401C65: test_io (testlibrbd.c:249)
==1310== by 0x40258E: main (testlibrbd.c:286)
==1310==
==1310== 2,892 (192 direct, 2,700 indirect) bytes in 6 blocks are definitely lost in loss record 30 of 31
==1310== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==1310== by 0x50CEA14: SimpleMessenger::Pipe::read_message(Message**) (new_allocator.h:89)
==1310== by 0x50D9562: SimpleMessenger::Pipe::reader() (SimpleMessenger.cc:1574)
==1310== by 0x50BA4DC: SimpleMessenger::Pipe::Reader::entry() (SimpleMessenger.h:196)
==1310== by 0x595D8B9: start_thread (pthread_create.c:300)
==1310== by 0x54C002C: clone (clone.S:112)
==1310==
==1310== LEAK SUMMARY:
==1310== definitely lost: 1,292 bytes in 61 blocks
==1310== indirectly lost: 7,700 bytes in 34 blocks
==1310== possibly lost: 187 bytes in 4 blocks
==1310== still reachable: 32,392 bytes in 3 blocks
==1310== suppressed: 0 bytes in 0 blocks
==1310== Reachable blocks (those to which a pointer was found) are not shown.
==1310== To see them, rerun with: --leak-check=full --show-reachable=yes
==1310==
==1310== For counts of detected and suppressed errors, rerun with: -v
==1310== Use --track-origins=yes to see where uninitialised values come from
==1310== ERROR SUMMARY: 20 errors from 20 contexts (suppressed: 4 from 4)

    (1-1/1)