$ valgrind --tool=memcheck /usr/lib/chromium/chromium http://test-a/ ==19395== Memcheck, a memory error detector ==19395== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==19395== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==19395== Command: /usr/lib/chromium/chromium http://test-a/ ==19395== [19395:19487:72593057208:ERROR:net/socket/ssl_client_socket_nss.cc(1052)] handshake failed; NSS error code -5938, net_error -107 ==19395== Thread 13: ==19395== Invalid read of size 4 ==19395== at 0xDCA61D5: _talloc_free (in /lib/libnss_wins.so) ==19395== by 0xDADAA82: _nss_wins_gethostbyname_r (wins.c:427) ==19395== by 0xDADAEDE: _nss_wins_gethostbyname2_r (wins.c:446) ==19395== by 0x4E18774: gethostbyname2_r@@GLIBC_2.1.2 (in /lib/libc-2.11.1.so) ==19395== by 0x4DE8E62: gaih_inet (in /lib/libc-2.11.1.so) ==19395== by 0x4DEACE4: getaddrinfo (in /lib/libc-2.11.1.so) ==19395== by 0x87FFD89: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FBD8F: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FC488: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x939C817: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x85D20B0: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x49F78AB: start_thread (in /lib/libpthread-2.11.1.so) ==19395== Address 0xd28a6e0 is 32 bytes inside a block of size 48 free'd ==19395== at 0x4023516: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==19395== by 0xDCA631F: _talloc_free (in /lib/libnss_wins.so) ==19395== by 0xDBDE55F: talloc_pop (talloc_stack.c:105) ==19395== by 0xDCA63E0: _talloc_free (in /lib/libnss_wins.so) ==19395== by 0xDADAA82: _nss_wins_gethostbyname_r (wins.c:427) ==19395== by 0xDADAEDE: _nss_wins_gethostbyname2_r (wins.c:446) ==19395== by 0x4E18774: gethostbyname2_r@@GLIBC_2.1.2 (in /lib/libc-2.11.1.so) ==19395== by 0x4DE8E62: gaih_inet (in /lib/libc-2.11.1.so) ==19395== by 0x4DEACE4: getaddrinfo (in /lib/libc-2.11.1.so) ==19395== by 0x87FFD89: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FBD8F: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FC488: ??? (in /usr/lib/chromium/chromium) ==19395== ==19395== Invalid read of size 4 ==19395== at 0xDCA6492: _talloc_free (in /lib/libnss_wins.so) ==19395== by 0xDADAA82: _nss_wins_gethostbyname_r (wins.c:427) ==19395== by 0xDADAEDE: _nss_wins_gethostbyname2_r (wins.c:446) ==19395== by 0x4E18774: gethostbyname2_r@@GLIBC_2.1.2 (in /lib/libc-2.11.1.so) ==19395== by 0x4DE8E62: gaih_inet (in /lib/libc-2.11.1.so) ==19395== by 0x4DEACE4: getaddrinfo (in /lib/libc-2.11.1.so) ==19395== by 0x87FFD89: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FBD8F: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FC488: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x939C817: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x85D20B0: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x49F78AB: start_thread (in /lib/libpthread-2.11.1.so) ==19395== Address 0xd28a6d8 is 24 bytes inside a block of size 48 free'd ==19395== at 0x4023516: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==19395== by 0xDCA631F: _talloc_free (in /lib/libnss_wins.so) ==19395== by 0xDBDE55F: talloc_pop (talloc_stack.c:105) ==19395== by 0xDCA63E0: _talloc_free (in /lib/libnss_wins.so) ==19395== by 0xDADAA82: _nss_wins_gethostbyname_r (wins.c:427) ==19395== by 0xDADAEDE: _nss_wins_gethostbyname2_r (wins.c:446) ==19395== by 0x4E18774: gethostbyname2_r@@GLIBC_2.1.2 (in /lib/libc-2.11.1.so) ==19395== by 0x4DE8E62: gaih_inet (in /lib/libc-2.11.1.so) ==19395== by 0x4DEACE4: getaddrinfo (in /lib/libc-2.11.1.so) ==19395== by 0x87FFD89: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FBD8F: ??? (in /usr/lib/chromium/chromium) ==19395== by 0x87FC488: ??? (in /usr/lib/chromium/chromium) ==19395== ==19395== ==19395== HEAP SUMMARY: ==19395== in use at exit: 3,273,115 bytes in 16,350 blocks ==19395== total heap usage: 46,541 allocs, 30,191 frees, 12,196,371 bytes allocated ==19395== ==19395== LEAK SUMMARY: ==19395== definitely lost: 7,458 bytes in 106 blocks ==19395== indirectly lost: 403,460 bytes in 515 blocks ==19395== possibly lost: 1,811,481 bytes in 7,268 blocks ==19395== still reachable: 1,050,716 bytes in 8,461 blocks ==19395== suppressed: 0 bytes in 0 blocks ==19395== Rerun with --leak-check=full to see details of leaked memory ==19395== ==19395== For counts of detected and suppressed errors, rerun with: -v ==19395== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 197 from 13) ==19395== ==19395== HEAP SUMMARY: ==19395== in use at exit: 174,550 bytes in 1,469 blocks ==19395== total heap usage: 2,541 allocs, 1,072 frees, 984,536 bytes allocated ==19395== ==19395== LEAK SUMMARY: ==19395== definitely lost: 0 bytes in 0 blocks ==19395== indirectly lost: 0 bytes in 0 blocks ==19395== possibly lost: 28,509 bytes in 730 blocks ==19395== still reachable: 146,041 bytes in 739 blocks ==19395== suppressed: 0 bytes in 0 blocks ==19395== Rerun with --leak-check=full to see details of leaked memory ==19395== ==19395== For counts of detected and suppressed errors, rerun with: -v ==19395== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 135 from 8)