{"action":"created","issue":{"url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/313","labels_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/313/comments","events_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/313/events","html_url":"https://github.com/easylogging/easyloggingpp/issues/313","id":104457949,"number":313,"title":"valgrind error","user":{"login":"seken","id":156310,"avatar_url":"https://avatars.githubusercontent.com/u/156310?v=3","gravatar_id":"","url":"https://api.github.com/users/seken","html_url":"https://github.com/seken","followers_url":"https://api.github.com/users/seken/followers","following_url":"https://api.github.com/users/seken/following{/other_user}","gists_url":"https://api.github.com/users/seken/gists{/gist_id}","starred_url":"https://api.github.com/users/seken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seken/subscriptions","organizations_url":"https://api.github.com/users/seken/orgs","repos_url":"https://api.github.com/users/seken/repos","events_url":"https://api.github.com/users/seken/events{/privacy}","received_events_url":"https://api.github.com/users/seken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T11:17:36Z","updated_at":"2015-11-03T03:18:13Z","closed_at":null,"body":"Running easyloggingpp on debian jessie amd64, I get valgrind errors my example is changing sample boost/deque to add:\r\n```c++\r\n#define ELPP_NO_DEFAULT_LOG_FILE\r\n#define ELPP_THREAD_SAFE\r\n```\r\n```\r\ngiving the error \r\n==24329== Conditional jump or move depends on uninitialised value(s)\r\n==24329==    at 0x40D329: el::base::DefaultLogDispatchCallback::dispatch(std::string&&) (in /home/markit/easyloggingpp/samples/boost/bin/deque.cpp.bin)\r\n==24329==    by 0x40D233: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/markit/easyloggingpp/samples/boost/bin/deque.cpp.bin)\r\n==24329==    by 0x40E88A: el::base::LogDispatcher::dispatch() (in /home/markit/easyloggingpp/samples/boost/bin/deque.cpp.bin)\r\n==24329==    by 0x40F6FF: el::base::Writer::triggerDispatch() (in /home/markit/easyloggingpp/samples/boost/bin/deque.cpp.bin)\r\n==24329==    by 0x40F4B1: el::base::Writer::processDispatch() (in /home/markit/easyloggingpp/samples/boost/bin/deque.cpp.bin)\r\n==24329==    by 0x40EBD4: el::base::Writer::~Writer() (in /home/markit/easyloggingpp/samples/boost/bin/deque.cpp.bin)\r\n==24329==    by 0x403D4B: main (in /home/markit/easyloggingpp/samples/boost/bin/deque.cpp.bin)\r\n```\r\nI think there may be more, i'm also getting this in another case, but cannot replicate it \r\n```\r\n==24425== Invalid read of size 4\r\n==24425==    at 0x5E3403: __gnu_cxx::__exchange_and_add(int volatile*, int) (atomicity.h:49)\r\n==24425==    by 0x5E350F: __gnu_cxx::__exchange_and_add_dispatch(int*, int) (atomicity.h:82)\r\n==24425==    by 0x602A6A: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:146)\r\n==24425==    by 0x5FB2F6: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (shared_ptr_base.h:666)\r\n==24425==    by 0x674291: std::__shared_ptr<el::base::Storage, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (shared_ptr_base.h:914)\r\n==24425==    by 0x6742CF: std::shared_ptr<el::base::Storage>::~shared_ptr() (shared_ptr.h:93)\r\n==24425==    by 0x721BBC8: __run_exit_handlers (exit.c:82)\r\n==24425==    by 0x721BC14: exit (exit.c:104)\r\n==24425==    by 0x7205B4B: (below main) (libc-start.c:321)\r\n==24425==  Address 0x8324f58 is 8 bytes inside a block of size 24 free'd\r\n==24425==    at 0x4C2A360: operator delete(void*) (vg_replace_malloc.c:507)\r\n==24425==    by 0x6832BF: std::_Sp_counted_ptr<el::base::Storage*, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr() (shared_ptr_base.h:364)\r\n==24425==    by 0x683654: std::_Sp_counted_ptr<el::base::Storage*, (__gnu_cxx::_Lock_policy)2>::_M_destroy() (in /home/markit/venturer/build/python-runner/bin/libpyai-single-thread)\r\n==24425==    by 0x602B23: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:166)\r\n==24425==    by 0x5FB2F6: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (shared_ptr_base.h:666)\r\n==24425==    by 0x674291: std::__shared_ptr<el::base::Storage, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (shared_ptr_base.h:914)\r\n==24425==    by 0x6742CF: std::shared_ptr<el::base::Storage>::~shared_ptr() (shared_ptr.h:93)\r\n==24425==    by 0x721BBC8: __run_exit_handlers (exit.c:82)\r\n==24425==    by 0x721BC14: exit (exit.c:104)\r\n==24425==    by 0x7205B4B: (below main) (libc-start.c:321)\r\n```"},"comment":{"url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/comments/153230548","html_url":"https://github.com/easylogging/easyloggingpp/issues/313#issuecomment-153230548","issue_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/313","id":153230548,"user":{"login":"easylogging","id":5101887,"avatar_url":"https://avatars.githubusercontent.com/u/5101887?v=3","gravatar_id":"","url":"https://api.github.com/users/easylogging","html_url":"https://github.com/easylogging","followers_url":"https://api.github.com/users/easylogging/followers","following_url":"https://api.github.com/users/easylogging/following{/other_user}","gists_url":"https://api.github.com/users/easylogging/gists{/gist_id}","starred_url":"https://api.github.com/users/easylogging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easylogging/subscriptions","organizations_url":"https://api.github.com/users/easylogging/orgs","repos_url":"https://api.github.com/users/easylogging/repos","events_url":"https://api.github.com/users/easylogging/events{/privacy}","received_events_url":"https://api.github.com/users/easylogging/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T03:18:13Z","updated_at":"2015-11-03T03:18:13Z","body":"Full output i'm getting is \r\n```\r\nvalgrind ./bin/pthread.cpp.bin \r\n==28867== Memcheck, a memory error detector\r\n==28867== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.\r\n==28867== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info\r\n==28867== Command: ./bin/pthread.cpp.bin\r\n==28867== \r\n==28867== Thread 4:\r\n==28867== Invalid read of size 1\r\n==28867==    at 0x4A07F92: strlen (mc_replace_strmem.c:403)\r\n==28867==    by 0x377029CF1F: 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.13)\r\n==28867==    by 0x412539: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x37696079D0: start_thread (in /lib64/libpthread-2.12.so)\r\n==28867==    by 0x37692E88FC: clone (in /lib64/libc-2.12.so)\r\n==28867==  Address 0x4c6ac28 is 24 bytes inside a block of size 34 free'd\r\n==28867==    at 0x4A06016: operator delete(void*) (vg_replace_malloc.c:480)\r\n==28867==    by 0x377029D4C8: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib64/libstdc++.so.6.0.13)\r\n==28867==    by 0x4055CF: getThreadId_CustomVersion() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x42007E: std::_Function_handler<char const* (), char const* (*)()>::_M_invoke(std::_Any_data const&) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x41956F: std::function<char const* ()>::operator()() const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412523: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867== \r\n==28867== Invalid read of size 1\r\n==28867==    at 0x4A07FA4: strlen (mc_replace_strmem.c:403)\r\n==28867==    by 0x377029CF1F: 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.13)\r\n==28867==    by 0x412539: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x37696079D0: start_thread (in /lib64/libpthread-2.12.so)\r\n==28867==    by 0x37692E88FC: clone (in /lib64/libc-2.12.so)\r\n==28867==  Address 0x4c6ac29 is 25 bytes inside a block of size 34 free'd\r\n==28867==    at 0x4A06016: operator delete(void*) (vg_replace_malloc.c:480)\r\n==28867==    by 0x377029D4C8: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib64/libstdc++.so.6.0.13)\r\n==28867==    by 0x4055CF: getThreadId_CustomVersion() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x42007E: std::_Function_handler<char const* (), char const* (*)()>::_M_invoke(std::_Any_data const&) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x41956F: std::function<char const* ()>::operator()() const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412523: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867== \r\n==28867== Invalid read of size 1\r\n==28867==    at 0x4A08D21: memcpy (mc_replace_strmem.c:882)\r\n==28867==    by 0x377029CDFF: ??? (in /usr/lib64/libstdc++.so.6.0.13)\r\n==28867==    by 0x377029CF32: 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.13)\r\n==28867==    by 0x412539: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x37696079D0: start_thread (in /lib64/libpthread-2.12.so)\r\n==28867==    by 0x37692E88FC: clone (in /lib64/libc-2.12.so)\r\n==28867==  Address 0x4c6ac30 is 32 bytes inside a block of size 34 free'd\r\n==28867==    at 0x4A06016: operator delete(void*) (vg_replace_malloc.c:480)\r\n==28867==    by 0x377029D4C8: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib64/libstdc++.so.6.0.13)\r\n==28867==    by 0x4055CF: getThreadId_CustomVersion() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x42007E: std::_Function_handler<char const* (), char const* (*)()>::_M_invoke(std::_Any_data const&) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x41956F: std::function<char const* ()>::operator()() const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412523: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867== \r\n==28867== Invalid read of size 8\r\n==28867==    at 0x4A08D4C: memcpy (mc_replace_strmem.c:882)\r\n==28867==    by 0x377029CDFF: ??? (in /usr/lib64/libstdc++.so.6.0.13)\r\n==28867==    by 0x377029CF32: 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.13)\r\n==28867==    by 0x412539: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x37696079D0: start_thread (in /lib64/libpthread-2.12.so)\r\n==28867==    by 0x37692E88FC: clone (in /lib64/libc-2.12.so)\r\n==28867==  Address 0x4c6ac28 is 24 bytes inside a block of size 34 free'd\r\n==28867==    at 0x4A06016: operator delete(void*) (vg_replace_malloc.c:480)\r\n==28867==    by 0x377029D4C8: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib64/libstdc++.so.6.0.13)\r\n==28867==    by 0x4055CF: getThreadId_CustomVersion() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x42007E: std::_Function_handler<char const* (), char const* (*)()>::_M_invoke(std::_Any_data const&) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x41956F: std::function<char const* ()>::operator()() const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412523: el::base::DefaultLogBuilder::build(el::LogMessage const*, bool) const (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x411367: el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x412D64: el::base::LogDispatcher::dispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x413D29: el::base::Writer::triggerDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4139C8: el::base::Writer::processDispatch() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x4131A6: el::base::Writer::~Writer() (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867==    by 0x404848: write(void*) (in /home/mkhan/dev/cpp-programs/easyloggingpp/samples/STL/bin/pthread.cpp.bin)\r\n==28867== \r\n2015-11-03 14:13:42,753 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:52] This standard log is written by [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:42,888 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:67] This interval log will be logged with every thread, this one is from [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:42,909 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger1] [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:42,911 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,912 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,926 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:52] This standard log is written by [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:42,930 WARN  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:59] This will be logged only once from thread who every reaches this line first. Currently running from [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:42,931 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:67] This interval log will be logged with every thread, this one is from [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:42,933 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:69] This log is only for thread 2 and is ran by [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:42,934 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger1] [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:42,934 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,935 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,936 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger2] [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:42,936 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,937 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,951 INFO  (126031616 | 126031616) [default] [void* write2(void*)] [./pthread.cpp:35] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,952 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,953 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger2] [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:42,954 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,954 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,955 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger3] [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:42,956 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,956 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,970 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:52] This standard log is written by [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:42,971 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:67] This interval log will be logged with every thread, this one is from [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:42,972 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger1] [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:42,972 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,973 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,973 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger3] [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:42,974 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,974 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,975 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger4] [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:42,976 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,976 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,978 INFO  (126031616 | 126031616) [default] [void* write2(void*)] [./pthread.cpp:37] Writing from different function using macro [Thread #4]\r\nTest MyHandler \r\n2015-11-03 14:13:42,990 INFO  (126031616 | 126031616) [default] [FUNCTION] [FILE:0] Info log from [Thread #4]\r\nTest MyHandler \r\n2015-11-03 14:13:42,992 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger2] [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:42,993 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,994 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,995 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger3] [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:42,996 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,997 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:42,998 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger4] [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:42,999 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger4] [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,000 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,001 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,018 INFO  (126031616 | 126031616) [default] [FUNCTION] [FILE:0] Info log\r\nTest MyHandler \r\n2015-11-03 14:13:43,019 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,021 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,022 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger5] [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,022 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,023 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,028 INFO  [logger1] Logging using new logger [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,031 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger5] [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,032 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,032 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,037 INFO  [logger1] Logging using new logger [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,038 DEBUG (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:80] Logger [no-logger] is not registered yet!\r\nTest MyHandler \r\n2015-11-03 14:13:43,039 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:76] Registered logger [logger5] [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,040 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:77] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,041 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,045 INFO  [logger1] Logging using new logger [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,045 DEBUG (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:80] Logger [no-logger] is not registered yet!\r\nTest MyHandler \r\n2015-11-03 14:13:43,046 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:81] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,047 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,048 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:81] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,049 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,049 DEBUG (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:80] Logger [no-logger] is not registered yet!\r\nTest MyHandler \r\n2015-11-03 14:13:43,050 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:81] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,050 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,051 INFO  (94562048 | 94562048) [default] [FUNCTION] [FILE:0] Info log from [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,052 INFO  (115541760 | 115541760) [default] [FUNCTION] [FILE:0] Info log from [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,057 INFO  (105051904 | 105051904) [default] [FUNCTION] [FILE:0] Info log from [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,061 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 6 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,062 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 8 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,063 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 10 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,063 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 12 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,064 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 14 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,064 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 16 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,065 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 18 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,066 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 20 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,066 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 22 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,067 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 24 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,068 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 26 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,069 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 28 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,070 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 30 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,071 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 32 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,072 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 34 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,073 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 36 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,073 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 38 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,074 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 40 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,075 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 42 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,075 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 44 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,076 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 46 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,076 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 48 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,077 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 50 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,078 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 52 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,078 INFO  (105051904 | 105051904) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 54 [Thread #2]\r\nTest MyHandler \r\n2015-11-03 14:13:43,082 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 4 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,085 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 56 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,085 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 58 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,086 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 60 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,087 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 62 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,088 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 64 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,089 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 66 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,090 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 68 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,090 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 70 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,091 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 72 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,092 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 74 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,093 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 76 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,093 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 78 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,094 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 80 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,095 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 82 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,095 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 84 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,096 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 86 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,096 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 88 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,097 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 90 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,098 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 92 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,098 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 94 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,099 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 96 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,100 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 2 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,101 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 98 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,102 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 100 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,103 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 102 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,104 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 106 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,105 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 108 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,106 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 110 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,106 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 112 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,107 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 114 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,107 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 116 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,108 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 118 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,109 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 120 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,109 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 122 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,110 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 124 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,111 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 126 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,111 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 128 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,112 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 130 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,112 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 132 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,113 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 134 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,114 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 136 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,114 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 138 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,115 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 140 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,115 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 142 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,116 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 144 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,117 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 146 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,120 INFO  (94562048 | 94562048) [default] [void* write(void*)] [./pthread.cpp:90] Counter pos: 2 [Thread #1]\r\nTest MyHandler \r\n2015-11-03 14:13:43,121 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 104 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,123 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 148 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,124 INFO  (115541760 | 115541760) [default] [void* write(void*)] [./pthread.cpp:88] Counter pos: 150 [Thread #3]\r\nTest MyHandler \r\n2015-11-03 14:13:43,125 INFO  (126031616 | 126031616) [default] [void* write2(void*)] [./pthread.cpp:45] Triggering network log from default and network\r\nTest MyHandler \r\n2015-11-03 14:13:43,126 INFO  [network] Triggering network log from default and network\r\nTest MyHandler \r\n==28867== \r\n==28867== HEAP SUMMARY:\r\n==28867==     in use at exit: 0 bytes in 0 blocks\r\n==28867==   total heap usage: 6,628 allocs, 6,628 frees, 472,320 bytes allocated\r\n==28867== \r\n==28867== All heap blocks were freed -- no leaks are possible\r\n==28867== \r\n==28867== For counts of detected and suppressed errors, rerun with: -v\r\n==28867== ERROR SUMMARY: 1716 errors from 4 contexts (suppressed: 6 from 6)\r\n```\r\n\r\nCan you please tell us what compiler are you using?"}}