==24063== Memcheck, a memory error detector. ==24063== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==24063== Using LibVEX rev 1658, a library for dynamic binary translation. ==24063== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==24063== Using valgrind-3.2.1, a dynamic binary instrumentation framework. ==24063== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==24063== For more details, rerun with: -v ==24063== ==24063== My PID = 24063, parent PID = 9619. Prog and args are: ==24063== ./testDB ==24063== Common.cfg ==24063== ==24063== Use of uninitialised value of size 8 ==24063== at 0x32E947935B: (within /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E9489564: std::ostreambuf_iterator > std::num_put > >::_M_insert_int(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E9489856: std::num_put > >::do_put(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E9491DDB: std::ostream::operator<<(int) (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x4C418D2: std::string mysqlpp::stream2string(int const&) (stream2string.h:44) ==24063== by 0x4C3E89B: mysqlpp::SQLTypeAdapter::SQLTypeAdapter(int) (stadapter.cpp:170) ==24063== by 0x40405E: CTestDB::appStart(int, char**) (main.cpp:130) ==24063== by 0x4E742F3: main (BaseApp.cpp:413) ==24063== ==24063== Conditional jump or move depends on uninitialised value(s) ==24063== at 0x32E9479366: (within /usr/lib64/libstdc++.so.6.0.8) ==24063== ==24063== Conditional jump or move depends on uninitialised value(s) ==24063== at 0x32E9489594: std::ostreambuf_iterator > std::num_put > >::_M_insert_int(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E9489856: std::num_put > >::do_put(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E9491DDB: std::ostream::operator<<(int) (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x4C418D2: std::string mysqlpp::stream2string(int const&) (stream2string.h:44) ==24063== by 0x4C3E89B: mysqlpp::SQLTypeAdapter::SQLTypeAdapter(int) (stadapter.cpp:170) ==24063== by 0x40405E: CTestDB::appStart(int, char**) (main.cpp:130) ==24063== by 0x4E742F3: main (BaseApp.cpp:413) ==24063== ==24063== Conditional jump or move depends on uninitialised value(s) ==24063== at 0x32E94896E5: std::ostreambuf_iterator > std::num_put > >::_M_insert_int(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E9489856: std::num_put > >::do_put(std::ostreambuf_iterator >, std::ios_base&, char, long) const (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E9491DDB: std::ostream::operator<<(int) (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x4C418D2: std::string mysqlpp::stream2string(int const&) (stream2string.h:44) ==24063== by 0x4C3E89B: mysqlpp::SQLTypeAdapter::SQLTypeAdapter(int) (stadapter.cpp:170) ==24063== by 0x40405E: CTestDB::appStart(int, char**) (main.cpp:130) ==24063== by 0x4E742F3: main (BaseApp.cpp:413) ==24063== ==24063== ERROR SUMMARY: 20 errors from 4 contexts (suppressed: 5 from 1) ==24063== malloc/free: in use at exit: 75,408 bytes in 38 blocks. ==24063== malloc/free: 435 allocs, 397 frees, 165,898 bytes allocated. ==24063== For counts of detected errors, rerun with: -v ==24063== searching for pointers to 38 not-freed blocks. ==24063== checked 32,180,848 bytes. ==24063== ==24063== ==24063== 27 bytes in 1 blocks are possibly lost in loss record 3 of 18 ==24063== at 0x4A06019: operator new(unsigned long) (vg_replace_malloc.c:167) ==24063== by 0x32E949B7D0: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&) (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E949C2E4: (within /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x32E949C491: std::string::string(char const*, std::allocator const&) (in /usr/lib64/libstdc++.so.6.0.8) ==24063== by 0x4C26DCD: mysqlpp::DBDriver::connect(char const*, char const*, unsigned, char const*, char const*, char const*) (dbdriver.cpp:84) ==24063== by 0x4C22858: mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned) (connection.cpp:98) ==24063== by 0x4C229F5: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned) (connection.cpp:52) ==24063== by 0x4E82EEB: ConnPoolManager::create() (ConnPoolManager.cpp:206) ==24063== by 0x4C24B99: mysqlpp::ConnectionPool::grab() (cpool.cpp:121) ==24063== by 0x4E82FF1: ConnPoolManager::getConnection() (ConnPoolManager.cpp:59) ==24063== by 0x4E8349A: ConnPoolManager::getInstance(char const*, char const*, char const*, char const*) (ConnPoolManager.cpp:117) ==24063== by 0x4E73834: BaseApp::initConnPool() (BaseApp.cpp:238) ==24063== ==24063== ==24063== 96 (48 direct, 48 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 18 ==24063== at 0x4A06019: operator new(unsigned long) (vg_replace_malloc.c:167) ==24063== by 0x4E8273B: Timer::schedule(int, int, TimerCallback*, void*, unsigned char) (Timer.cpp:159) ==24063== by 0x4E78D38: ConfigReader::initialize(std::string) (ConfigReader.cpp:502) ==24063== by 0x4E79517: ConfigReader::create(std::string) (ConfigReader.cpp:77) ==24063== by 0x4E73E71: BaseApp::initConfigReader(char*) (BaseApp.cpp:93) ==24063== by 0x4E73F50: BaseApp::initialize(int, char**) (BaseApp.cpp:269) ==24063== by 0x4E74285: main (BaseApp.cpp:405) ==24063== ==24063== ==24063== 64 bytes in 1 blocks are possibly lost in loss record 10 of 18 ==24063== at 0x4A06019: operator new(unsigned long) (vg_replace_malloc.c:167) ==24063== by 0x4C27873: std::_Deque_base >::_M_initialize_map(unsigned long) (new_allocator.h:88) ==24063== by 0x4C26185: mysqlpp::DBDriver::DBDriver() (stl_deque.h:368) ==24063== by 0x4C229D4: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned) (connection.cpp:50) ==24063== by 0x4E82EEB: ConnPoolManager::create() (ConnPoolManager.cpp:206) ==24063== by 0x4C24B99: mysqlpp::ConnectionPool::grab() (cpool.cpp:121) ==24063== by 0x4E82FF1: ConnPoolManager::getConnection() (ConnPoolManager.cpp:59) ==24063== by 0x4E8349A: ConnPoolManager::getInstance(char const*, char const*, char const*, char const*) (ConnPoolManager.cpp:117) ==24063== by 0x4E73834: BaseApp::initConnPool() (BaseApp.cpp:238) ==24063== by 0x4E7411F: BaseApp::initialize(int, char**) (BaseApp.cpp:314) ==24063== by 0x4E74285: main (BaseApp.cpp:405) ==24063== ==24063== ==24063== 864 bytes in 3 blocks are possibly lost in loss record 14 of 18 ==24063== at 0x4A04B32: calloc (vg_replace_malloc.c:279) ==24063== by 0x32D7E0FC82: _dl_allocate_tls (in /lib64/ld-2.5.so) ==24063== by 0x32D8E06904: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==24063== by 0x4E82B9E: Timer::start() (Timer.cpp:58) ==24063== by 0x4E73CB2: BaseApp::initTimer() (BaseApp.cpp:142) ==24063== by 0x4E73F17: BaseApp::initialize(int, char**) (BaseApp.cpp:261) ==24063== by 0x4E74285: main (BaseApp.cpp:405) ==24063== ==24063== LEAK SUMMARY: ==24063== definitely lost: 48 bytes in 1 blocks. ==24063== indirectly lost: 48 bytes in 1 blocks. ==24063== possibly lost: 955 bytes in 5 blocks. ==24063== still reachable: 74,357 bytes in 31 blocks. ==24063== suppressed: 0 bytes in 0 blocks. ==24063== Reachable blocks (those to which a pointer was found) are not shown. ==24063== To see them, rerun with: --show-reachable=yes