-
Type: Question
-
Resolution: Incomplete
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.8.3
-
Component/s: Internal Client
DBClientConnection c;
c.connect("localhost");
Valgrind output:
37 bytes in 1 blocks are possibly lost in loss record 6 of 27
in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
1: operator new(unsigned long) in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
2: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
3: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) in /usr/lib64/libstdc++.so.6.0.14
4: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
5: mongo::Command::Command(char const*, bool, char const*) in /usr/src/packages/BUILD/mongodb-src-r1.8.3/db/commands.cpp:98
6: global constructors keyed to connpool.cpp in /usr/src/packages/BUILD/mongodb-src-r1.8.3/client/connpool.cpp:262
7: mongocpp
8: mongocpp
9: /usr/lib64/libstdc++.so.6.0.14
10: __libc_csu_init in /usr/src/packages/BUILD/glibc-2.11.3/csu/elf-init.c:120
11: (below main) in /lib64/libc-2.11.3.so
37 bytes in 1 blocks are possibly lost in loss record 7 of 27
in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
1: operator new(unsigned long) in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
2: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
3: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) in /usr/lib64/libstdc++.so.6.0.14
4: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
5: mongo::Command::Command(char const*, bool, char const*) in /usr/src/packages/BUILD/mongodb-src-r1.8.3/db/commands.cpp:117
6: global constructors keyed to connpool.cpp in /usr/src/packages/BUILD/mongodb-src-r1.8.3/client/connpool.cpp:262
7: mongocpp
8: mongocpp
9: /usr/lib64/libstdc++.so.6.0.14
10: __libc_csu_init in /usr/src/packages/BUILD/glibc-2.11.3/csu/elf-init.c:120
11: (below main) in /lib64/libc-2.11.3.so
38 bytes in 1 blocks are possibly lost in loss record 8 of 27
in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
1: operator new(unsigned long) in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
2: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
3: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) in /usr/lib64/libstdc++.so.6.0.14
4: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) in /usr/lib64/libstdc++.so.6.0.14
5: mongo::Command::Command(char const*, bool, char const*) in /usr/src/packages/BUILD/mongodb-src-r1.8.3/db/commands.cpp:98
6: global constructors keyed to connpool.cpp in /usr/src/packages/BUILD/mongodb-src-r1.8.3/client/connpool.cpp:277
7: mongocpp
8: mongocpp
9: /usr/lib64/libstdc++.so.6.0.14
10: __libc_csu_init in /usr/src/packages/BUILD/glibc-2.11.3/csu/elf-init.c:120
11: (below main) in /lib64/libc-2.11.3.so