==2514== Memcheck, a memory error detector. ==2514== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==2514== Using LibVEX rev 1732, a library for dynamic binary translation. ==2514== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==2514== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==2514== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==2514== For more details, rerun with: -v ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x401F1DB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x401F1DB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x4020495: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x4020495: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x402031B: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:655) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x402031B: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:655) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x401FDC9: boost::detail::function::basic_vtable0 >::basic_vtable0(cSMBParameterizedThread) (function_template.hpp:277) ==2514== by 0x4020333: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:655) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x401FDC9: boost::detail::function::basic_vtable0 >::basic_vtable0(cSMBParameterizedThread) (function_template.hpp:277) ==2514== by 0x4020333: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:655) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x401FD51: void boost::detail::function::basic_vtable0 >::init(cSMBParameterizedThread) (function_template.hpp:298) ==2514== by 0x401FDDE: boost::detail::function::basic_vtable0 >::basic_vtable0(cSMBParameterizedThread) (function_template.hpp:277) ==2514== by 0x4020333: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:655) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x401FD51: void boost::detail::function::basic_vtable0 >::init(cSMBParameterizedThread) (function_template.hpp:298) ==2514== by 0x401FDDE: boost::detail::function::basic_vtable0 >::basic_vtable0(cSMBParameterizedThread) (function_template.hpp:277) ==2514== by 0x4020333: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:655) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x40203DD: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x40203DD: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x402023E: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&) (function_template.hpp:284) ==2514== by 0x40203F9: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x402023E: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&) (function_template.hpp:284) ==2514== by 0x40203F9: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x402018A: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) (function_template.hpp:406) ==2514== by 0x4020265: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&) (function_template.hpp:284) ==2514== by 0x40203F9: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x402018A: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) (function_template.hpp:406) ==2514== by 0x4020265: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&) (function_template.hpp:284) ==2514== by 0x40203F9: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x401FE68: __gnu_cxx::new_allocator::construct(cSMBParameterizedThread*, cSMBParameterizedThread const&) (new_allocator.h:104) ==2514== by 0x4020106: void boost::detail::function::basic_vtable0 >::assign_functor(cSMBParameterizedThread, boost::detail::function::function_buffer&, mpl_::bool_) (function_template.hpp:392) ==2514== by 0x40201B1: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) (function_template.hpp:406) ==2514== by 0x4020265: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&) (function_template.hpp:284) ==2514== by 0x40203F9: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x401FE68: __gnu_cxx::new_allocator::construct(cSMBParameterizedThread*, cSMBParameterizedThread const&) (new_allocator.h:104) ==2514== by 0x4020106: void boost::detail::function::basic_vtable0 >::assign_functor(cSMBParameterizedThread, boost::detail::function::function_buffer&, mpl_::bool_) (function_template.hpp:392) ==2514== by 0x40201B1: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) (function_template.hpp:406) ==2514== by 0x4020265: bool boost::detail::function::basic_vtable0 >::assign_to(cSMBParameterizedThread, boost::detail::function::function_buffer&) (function_template.hpp:284) ==2514== by 0x40203F9: void boost::function0 >::assign_to(cSMBParameterizedThread) (function_template.hpp:656) ==2514== by 0x40204AA: boost::function0 >::function0(cSMBParameterizedThread, boost::enable_if_c::value>::value, int>::type) (function_template.hpp:513) ==2514== by 0x401F1FB: cThreadExecuter::Start() (cThreadExecuter.cpp:25) ==2514== by 0x402F41D: cSmbTestModule::StartTest(std::string const&) (cSmbTestModule.cpp:236) ==2514== by 0x80498AE: main (smb_test.cpp:29) ==2514== ==2514== Thread 2: ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC18: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:38) ==2514== by 0x401FE68: __gnu_cxx::new_allocator::construct(cSMBParameterizedThread*, cSMBParameterizedThread const&) (new_allocator.h:104) ==2514== by 0x401FF46: boost::detail::function::functor_manager >::manager(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::bool_) (function_base.hpp:325) ==2514== by 0x4020058: boost::detail::function::functor_manager >::manager(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) (function_base.hpp:367) ==2514== by 0x40200AB: boost::detail::function::functor_manager >::manage(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) (function_base.hpp:385) ==2514== by 0x42EB362: (within /usr/lib/libboost_thread-mt.so.1.34.1) ==2514== by 0xB4450A: start_thread (in /lib/libpthread-2.7.so) ==2514== by 0xA85B2D: clone (in /lib/libc-2.7.so) ==2514== ==2514== Conditional jump or move depends on uninitialised value(s) ==2514== at 0x401FC77: cSMBParameterizedThread::cSMBParameterizedThread(cSMBParameterizedThread const&) (cSmbParameterizedThread.h:40) ==2514== by 0x401FE68: __gnu_cxx::new_allocator::construct(cSMBParameterizedThread*, cSMBParameterizedThread const&) (new_allocator.h:104) ==2514== by 0x401FF46: boost::detail::function::functor_manager >::manager(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::bool_) (function_base.hpp:325) ==2514== by 0x4020058: boost::detail::function::functor_manager >::manager(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) (function_base.hpp:367) ==2514== by 0x40200AB: boost::detail::function::functor_manager >::manage(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) (function_base.hpp:385) ==2514== by 0x42EB362: (within /usr/lib/libboost_thread-mt.so.1.34.1) ==2514== by 0xB4450A: start_thread (in /lib/libpthread-2.7.so) ==2514== by 0xA85B2D: clone (in /lib/libc-2.7.so) ==2514== ==2514== Thread 3: ==2514== Invalid read of size 2 ==2514== at 0x40A9199: toupper_w (in /usr/lib/libsmbclient.so.0) ==2514== by 0x40A460A: strupper_m (in /usr/lib/libsmbclient.so.0) ==2514== by 0x40B128C: set_global_myname (in /usr/lib/libsmbclient.so.0) ==2514== by 0x408F124: lp_load (in /usr/lib/libsmbclient.so.0) ==2514== by 0x407A156: smbc_init_context (in /usr/lib/libsmbclient.so.0) ==2514== by 0x40834BF: smbc_init (in /usr/lib/libsmbclient.so.0) ==2514== by 0x4024A2D: cSMBClient::OpenConnection(std::string const&, std::string const&, std::string const&, std::string const&, std::string const&) (cSMBClient.cpp:66) ==2514== by 0x4027FE1: cSMBParameterizedThread::operator()() (cSmbParameterizedThread.cpp:31) ==2514== by 0x4020518: boost::detail::function::void_function_obj_invoker0::invoke(boost::detail::function::function_buffer&) (function_template.hpp:155) ==2514== by 0x42EB859: boost::function0 >::operator()() const (in /usr/lib/libboost_thread-mt.so.1.34.1) ==2514== by 0x42EB316: (within /usr/lib/libboost_thread-mt.so.1.34.1) ==2514== by 0xB4450A: start_thread (in /lib/libpthread-2.7.so) ==2514== Address 0x8C is not stack'd, malloc'd or (recently) free'd ==2514== ==2514== Process terminating with default action of signal 11 (SIGSEGV) ==2514== Access not within mapped region at address 0x8C ==2514== at 0x40A9199: toupper_w (in /usr/lib/libsmbclient.so.0) ==2514== by 0x40A460A: strupper_m (in /usr/lib/libsmbclient.so.0) ==2514== by 0x40B128C: set_global_myname (in /usr/lib/libsmbclient.so.0) ==2514== by 0x408F124: lp_load (in /usr/lib/libsmbclient.so.0) ==2514== by 0x407A156: smbc_init_context (in /usr/lib/libsmbclient.so.0) ==2514== by 0x40834BF: smbc_init (in /usr/lib/libsmbclient.so.0) ==2514== by 0x4024A2D: cSMBClient::OpenConnection(std::string const&, std::string const&, std::string const&, std::string const&, std::string const&) (cSMBClient.cpp:66) ==2514== by 0x4027FE1: cSMBParameterizedThread::operator()() (cSmbParameterizedThread.cpp:31) ==2514== by 0x4020518: boost::detail::function::void_function_obj_invoker0::invoke(boost::detail::function::function_buffer&) (function_template.hpp:155) ==2514== by 0x42EB859: boost::function0 >::operator()() const (in /usr/lib/libboost_thread-mt.so.1.34.1) ==2514== by 0x42EB316: (within /usr/lib/libboost_thread-mt.so.1.34.1) ==2514== by 0xB4450A: start_thread (in /lib/libpthread-2.7.so) ==2514== ==2514== ERROR SUMMARY: 35 errors from 21 contexts (suppressed: 58 from 1) ==2514== malloc/free: in use at exit: 57,768 bytes in 586 blocks. ==2514== malloc/free: 1,447 allocs, 861 frees, 1,093,191 bytes allocated. ==2514== For counts of detected errors, rerun with: -v ==2514== searching for pointers to 586 not-freed blocks. ==2514== checked 21,679,840 bytes. ==2514== ==2514== LEAK SUMMARY: ==2514== definitely lost: 5,184 bytes in 20 blocks. ==2514== possibly lost: 5,073 bytes in 31 blocks. ==2514== still reachable: 47,511 bytes in 535 blocks. ==2514== suppressed: 0 bytes in 0 blocks. ==2514== Rerun with --leak-check=full to see details of leaked memory. killed