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