Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==7618== Memcheck, a memory error detector
- ==7618== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
- ==7618== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
- ==7618== Command: ./echo_server
- ==7618==
- --7618-- Valgrind options:
- --7618-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
- --7618-- --leak-check=full
- --7618-- -v
- --7618-- Contents of /proc/version:
- --7618-- Linux version 3.2.0-26-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012
- --7618-- Arch and hwcaps: AMD64, amd64-sse3-cx16
- --7618-- Page sizes: currently 4096, max supported 4096
- --7618-- Valgrind library directory: /usr/lib/valgrind
- --7618-- Reading syms from /home/***/git/websocketpp/tests/echo_server (0x400000)
- --7618-- Reading syms from /lib/x86_64-linux-gnu/ld-2.15.so (0x4000000)
- --7618-- Considering /lib/x86_64-linux-gnu/ld-2.15.so ..
- --7618-- .. CRC mismatch (computed c5d70380 wanted 7d4a76d0)
- --7618-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.15.so ..
- --7618-- .. CRC is valid
- --7618-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
- --7618-- Considering /usr/lib/valgrind/memcheck-amd64-linux ..
- --7618-- .. CRC mismatch (computed b9a585cc wanted 749d1a67)
- --7618-- object doesn't have a symbol table
- --7618-- object doesn't have a dynamic symbol table
- --7618-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
- --7618-- Reading suppressions file: /usr/lib/valgrind/default.supp
- ==7618== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-7618-by-***-on-???
- ==7618== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-7618-by-***-on-???
- ==7618== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-7618-by-***-on-???
- ==7618==
- ==7618== TO CONTROL THIS PROCESS USING vgdb (which you probably
- ==7618== don't want to do, unless you know exactly what you're doing,
- ==7618== or are doing some strange experiment):
- ==7618== /usr/lib/valgrind/../../bin/vgdb --pid=7618 ...command...
- ==7618==
- ==7618== TO DEBUG THIS PROCESS USING GDB: start GDB like this
- ==7618== /path/to/gdb ./echo_server
- ==7618== and then give GDB the following command
- ==7618== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=7618
- ==7618== --pid is optional if only one valgrind process is running
- ==7618==
- --7618-- REDIR: 0x40189e0 (strlen) redirected to 0x380625c7 (???)
- --7618-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a25000)
- --7618-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
- --7618-- .. CRC mismatch (computed c82927cb wanted 1861273b)
- --7618-- object doesn't have a symbol table
- --7618-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c27000)
- --7618-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
- --7618-- .. CRC mismatch (computed 72e29ec9 wanted f3ad49da)
- --7618-- object doesn't have a symbol table
- --7618-- REDIR: 0x4018850 (index) redirected to 0x4c2bc60 (index)
- --7618-- REDIR: 0x40188d0 (strcmp) redirected to 0x4c2cc20 (strcmp)
- --7618-- Reading syms from /usr/local/lib/libwebsocketpp.so.0.2.0 (0x4e32000)
- --7618-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.15.so (0x5051000)
- --7618-- Considering /lib/x86_64-linux-gnu/libpthread-2.15.so ..
- --7618-- .. CRC mismatch (computed 8e430e5b wanted e619a829)
- --7618-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.15.so ..
- --7618-- .. CRC is valid
- --7618-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 (0x526e000)
- --7618-- Considering /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 ..
- --7618-- .. CRC mismatch (computed ef748751 wanted e44c0328)
- --7618-- object doesn't have a symbol table
- --7618-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x556e000)
- --7618-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 ..
- --7618-- .. CRC mismatch (computed c8e4b229 wanted 098e39f6)
- --7618-- object doesn't have a symbol table
- --7618-- Reading syms from /lib/x86_64-linux-gnu/libc-2.15.so (0x5784000)
- --7618-- Considering /lib/x86_64-linux-gnu/libc-2.15.so ..
- --7618-- .. CRC mismatch (computed 0dfc7f92 wanted 306696b6)
- --7618-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.15.so ..
- --7618-- .. CRC is valid
- --7618-- Reading syms from /lib/x86_64-linux-gnu/libm-2.15.so (0x5b41000)
- --7618-- Considering /lib/x86_64-linux-gnu/libm-2.15.so ..
- --7618-- .. CRC mismatch (computed 84e90409 wanted 8a8fcc58)
- --7618-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.15.so ..
- --7618-- .. CRC is valid
- --7618-- REDIR: 0x58108c0 (strcasecmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
- --7618-- REDIR: 0x580cc60 (strnlen) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
- --7618-- REDIR: 0x5812b90 (strncasecmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
- --7618-- REDIR: 0x580e650 (__GI_strrchr) redirected to 0x4c2ba80 (__GI_strrchr)
- --7618-- REDIR: 0x580cb80 (__GI_strlen) redirected to 0x4c2bfc0 (__GI_strlen)
- --7618-- REDIR: 0x580b040 (strcmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
- --7618-- REDIR: 0x58b4610 (__strcmp_sse42) redirected to 0x4c2cb60 (strcmp)
- --7618-- REDIR: 0x580cb30 (strlen) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
- --7618-- REDIR: 0x58e53d0 (__strlen_sse2_pminub) redirected to 0x4c2bfa0 (strlen)
- --7618-- REDIR: 0x5323dd0 (operator new(unsigned long)) redirected to 0x4c2b160 (operator new(unsigned long))
- --7618-- REDIR: 0x5815270 (memcpy@@GLIBC_2.14) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
- --7618-- REDIR: 0x58ca790 (__memcpy_ssse3_back) redirected to 0x4c2cf30 (memcpy@@GLIBC_2.14)
- --7618-- REDIR: 0x5807d30 (calloc) redirected to 0x4c29cf0 (calloc)
- --7618-- REDIR: 0x580f080 (bcmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
- --7618-- REDIR: 0x58dfd00 (__memcmp_sse4_1) redirected to 0x4c2dca0 (bcmp)
- Boost version used: 1_50
- --7618-- REDIR: 0xffffffffff600000 (???) redirected to 0x380625b3 (???)
- --7618-- REDIR: 0x5807010 (free) redirected to 0x4c2a7c0 (free)
- --7618-- REDIR: 0x58069d0 (malloc) redirected to 0x4c2b660 (malloc)
- --7618-- REDIR: 0x580c510 (__GI_strcpy) redirected to 0x4c2c0b0 (__GI_strcpy)
- --7618-- REDIR: 0x580b080 (__GI_strcmp) redirected to 0x4c2cbc0 (__GI_strcmp)
- --7618-- REDIR: 0x5322150 (operator delete(void*)) redirected to 0x4c2a450 (operator delete(void*))
- Starting WebSocket echo server on port 9002
- Starting WSServer thread...
- Main thread processing...
- ==7618== Thread 2:
- ==7618== Invalid read of size 1
- ==7618== at 0x429F84: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f3 is 355 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- ==7618== Invalid write of size 2
- ==7618== at 0x429F8B: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f0 is 352 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- ==7618== Invalid read of size 2
- ==7618== at 0x41C8EB: websocketpp::log::logger<unsigned short>::print() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x429F9D: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f2 is 354 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- ==7618== Invalid read of size 2
- ==7618== at 0x41C8F2: websocketpp::log::logger<unsigned short>::print() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x429F9D: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f0 is 352 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- --7618-- REDIR: 0x580cd80 (__GI_strncmp) redirected to 0x4c2c480 (__GI_strncmp)
- --7618-- REDIR: 0x5810760 (__GI_stpcpy) redirected to 0x4c2de10 (__GI_stpcpy)
- --7618-- REDIR: 0x5816790 (strchrnul) redirected to 0x4c2e3b0 (strchrnul)
- --7618-- REDIR: 0x5807110 (realloc) redirected to 0x4c2b730 (realloc)
- echo_server: /usr/local/boost_1_50_0/libbin/include/boost/thread/pthread/recursive_mutex.hpp:105: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
- ==7618==
- ==7618== Process terminating with default action of signal 6 (SIGABRT)
- ==7618== at 0x57BA445: raise (raise.c:64)
- ==7618== by 0x57BDBAA: abort (abort.c:91)
- ==7618== by 0x57B310D: __assert_fail_base (assert.c:94)
- ==7618== by 0x57B31B1: __assert_fail (assert.c:103)
- ==7618== by 0x40BCC7: _ZN5boost15recursive_mutex4lockEv.part.99 (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x429CCF: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x429FDE: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618==
- ==7618== HEAP SUMMARY:
- ==7618== in use at exit: 2,258 bytes in 15 blocks
- ==7618== total heap usage: 54 allocs, 39 frees, 10,059 bytes allocated
- ==7618==
- ==7618== Searching for pointers to 15 not-freed blocks
- ==7618== Checked 8,603,680 bytes
- ==7618==
- ==7618== Thread 1:
- ==7618== 45 bytes in 1 blocks are possibly lost in loss record 5 of 15
- ==7618== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x530CA88: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E494: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E5E2: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x4E3D5AC: _GLOBAL__sub_I_uri.cpp (in /usr/local/lib/libwebsocketpp.so.0.2.0)
- ==7618== by 0x400F305: call_init.part.0 (dl-init.c:85)
- ==7618== by 0x400F3DE: _dl_init (dl-init.c:52)
- ==7618== by 0x40016E9: ??? (in /lib/x86_64-linux-gnu/ld-2.15.so)
- ==7618==
- ==7618== 45 bytes in 1 blocks are possibly lost in loss record 6 of 15
- ==7618== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x530CA88: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E494: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E5E2: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x4E3D645: _GLOBAL__sub_I_hybi_header.cpp (in /usr/local/lib/libwebsocketpp.so.0.2.0)
- ==7618== by 0x400F305: call_init.part.0 (dl-init.c:85)
- ==7618== by 0x400F3DE: _dl_init (dl-init.c:52)
- ==7618== by 0x40016E9: ??? (in /lib/x86_64-linux-gnu/ld-2.15.so)
- ==7618==
- ==7618== 45 bytes in 1 blocks are possibly lost in loss record 7 of 15
- ==7618== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x530CA88: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E494: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E5E2: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x4E3D68B: _GLOBAL__sub_I_hybi_util.cpp (in /usr/local/lib/libwebsocketpp.so.0.2.0)
- ==7618== by 0x400F305: call_init.part.0 (dl-init.c:85)
- ==7618== by 0x400F3DE: _dl_init (dl-init.c:52)
- ==7618== by 0x40016E9: ??? (in /lib/x86_64-linux-gnu/ld-2.15.so)
- ==7618==
- ==7618== 45 bytes in 1 blocks are possibly lost in loss record 8 of 15
- ==7618== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x530CA88: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E494: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E5E2: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x4E3D6CC: _GLOBAL__sub_I_data.cpp (in /usr/local/lib/libwebsocketpp.so.0.2.0)
- ==7618== by 0x400F305: call_init.part.0 (dl-init.c:85)
- ==7618== by 0x400F3DE: _dl_init (dl-init.c:52)
- ==7618== by 0x40016E9: ??? (in /lib/x86_64-linux-gnu/ld-2.15.so)
- ==7618==
- ==7618== 45 bytes in 1 blocks are possibly lost in loss record 9 of 15
- ==7618== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x530CA88: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E494: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E5E2: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x40C4B5: _GLOBAL__sub_I_main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x46195C: __libc_csu_init (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x57A56FF: (below main) (libc-start.c:185)
- ==7618==
- ==7618== 89 bytes in 1 blocks are possibly lost in loss record 12 of 15
- ==7618== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x530CA88: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E494: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x530E5E2: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ==7618== by 0x4E3D565: _GLOBAL__sub_I_base64.cpp (in /usr/local/lib/libwebsocketpp.so.0.2.0)
- ==7618== by 0x400F305: call_init.part.0 (dl-init.c:85)
- ==7618== by 0x400F3DE: _dl_init (dl-init.c:52)
- ==7618== by 0x40016E9: ??? (in /lib/x86_64-linux-gnu/ld-2.15.so)
- ==7618==
- ==7618== 288 bytes in 1 blocks are possibly lost in loss record 13 of 15
- ==7618== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x4012074: _dl_allocate_tls (dl-tls.c:297)
- ==7618== by 0x5059ABC: pthread_create@@GLIBC_2.2.5 (allocatestack.c:571)
- ==7618== by 0x43BE1C: boost::thread::start_thread() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x4185E7: boost::thread::thread<boost::_bi::bind_t<void, boost::_mfi::mf2<void, websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >, unsigned short, unsigned long>, boost::_bi::list3<boost::_bi::value<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>*>, boost::_bi::value<unsigned short>, boost::_bi::value<int> > > >(boost::_bi::bind_t<void, boost::_mfi::mf2<void, websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >, unsigned short, unsigned long>, boost::_bi::list3<boost::_bi::value<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>*>, boost::_bi::value<unsigned short>, boost::_bi::value<int> > >, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, boost::_mfi::mf2<void, websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >, unsigned short, unsigned long>, boost::_bi::list3<boost::_bi::value<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>*>, boost::_bi::value<unsigned short>, boost::_bi::value<int> > >&, boost::detail::thread_move_t<boost::_bi::bind_t<void, boost::_mfi::mf2<void, websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >, unsigned short, unsigned long>, boost::_bi::list3<boost::_bi::value<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>*>, boost::_bi::value<unsigned short>, boost::_bi::value<int> > > > >, boost::thread::dummy*>::type) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C290: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- ==7618== LEAK SUMMARY:
- ==7618== definitely lost: 0 bytes in 0 blocks
- ==7618== indirectly lost: 0 bytes in 0 blocks
- ==7618== possibly lost: 602 bytes in 7 blocks
- ==7618== still reachable: 1,656 bytes in 8 blocks
- ==7618== suppressed: 0 bytes in 0 blocks
- ==7618== Reachable blocks (those to which a pointer was found) are not shown.
- ==7618== To see them, rerun with: --leak-check=full --show-reachable=yes
- ==7618==
- ==7618== ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 2 from 2)
- ==7618==
- ==7618== 1 errors in context 1 of 11:
- ==7618== Thread 2:
- ==7618== Invalid read of size 2
- ==7618== at 0x41C8F2: websocketpp::log::logger<unsigned short>::print() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x429F9D: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f0 is 352 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- ==7618==
- ==7618== 1 errors in context 2 of 11:
- ==7618== Invalid read of size 2
- ==7618== at 0x41C8EB: websocketpp::log::logger<unsigned short>::print() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x429F9D: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f2 is 354 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- ==7618==
- ==7618== 1 errors in context 3 of 11:
- ==7618== Invalid write of size 2
- ==7618== at 0x429F8B: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f0 is 352 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- ==7618==
- ==7618== 1 errors in context 4 of 11:
- ==7618== Invalid read of size 1
- ==7618== at 0x429F84: websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::listen(unsigned short, unsigned long) (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x43AE87: thread_proxy (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x5058E99: start_thread (pthread_create.c:308)
- ==7618== by 0x58764BC: clone (clone.S:112)
- ==7618== Address 0x5e3c7f3 is 355 bytes inside a block of size 368 free'd
- ==7618== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7618== by 0x40FC78: boost::detail::shared_count::~shared_count() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x422BDF: websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger>::~endpoint() (in /home/***/git/websocketpp/tests/echo_server)
- ==7618== by 0x40C2E9: main (in /home/***/git/websocketpp/tests/echo_server)
- ==7618==
- --7618--
- --7618-- used_suppression: 2 dl-hack3-cond-1
- ==7618==
- ==7618== ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement