[BTC-dev] Full Orphanage Thermonuke Valgrind Output.

Stanislav Datskovskiy stas at loper-os.org
Tue May 5 13:45:26 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Valgrind output from 'orphanage thermonuke' run, from heights ~160000 to ~182840,

Parameters:

valgrind -v --trace-children=yes --log-file=log.txt --leak-check=full --show-leak-kinds=all ./bitcoind

Memory footprint was considerably larger than suggested by these figures (~400M.)
There is more than one possible explanation for this.
(Fragging; or dynamic crud somehow not covered by valgrind, etc.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJVSMjCAAoJELmCKKABq//H7kMH/juECiuZ1+vq0igUGoeBPV4J
Vz/junt03mCiuwPArGGLiBrWoJYZ+DQllUpBmKcYHYhkeBWCtmrOfmLkbgim8Gix
HbVFhZdZMHEGf42SpN/0Fhb1nIFGQQDltAG/vwca6PLX1RTNkfwuDjHQzv/q3Nem
l4XfbBY5exeSVrGorjZnyYUx7iwadE/wpkIGMtYSFBD+pmHqCEJ2BZee5JxP8liL
sYO3AxfS8XPM2+NYcB86rHOJayHiG9lVRk/gYyDGi1rSPAwId5qyv1YqinagBj7k
GzRwPEK3Vr58+9pr4CLDIlUvrXEtenMIDiQPNnBzuXWaePaxRgg2VYU4Kbyf5dI=
=KR/g
-----END PGP SIGNATURE-----
-------------- next part --------------
==4466== Memcheck, a memory error detector
==4466== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==4466== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==4466== Command: ./bitcoind
==4466== Parent PID: 4458
==4466== 
--4466-- 
--4466-- Valgrind options:
--4466--    -v
--4466--    --trace-children=yes
--4466--    --log-file=thermonuke.txt
--4466--    --leak-check=full
--4466--    --show-leak-kinds=all
--4466-- Contents of /proc/version:
--4466--   Linux version 3.17.0-stasnew (root at slon) (gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9) ) #1 SMP PREEMPT Mon Nov 3 18:20:49 EST 2014
--4466-- Arch and hwcaps: AMD64, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--4466-- Page sizes: currently 4096, max supported 4096
--4466-- Valgrind library directory: /usr/lib64/valgrind
--4466-- Reading syms from /home/stas/btc_clean/moo/b/bitcoin/src/bitcoind
--4466-- Reading syms from /lib64/ld-2.19.so
--4466--   Considering /usr/lib/debug/lib64/ld-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux
--4466--   Considering /usr/lib/debug/usr/lib64/valgrind/memcheck-amd64-linux.debug ..
--4466--   .. CRC is valid
--4466--    object doesn't have a dynamic symbol table
--4466-- Scheduler: using generic scheduler lock implementation.
--4466-- Reading suppressions file: /usr/lib64/valgrind/default.supp
==4466== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-4466-by-stas-on-???
==4466== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-4466-by-stas-on-???
==4466== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-4466-by-stas-on-???
==4466== 
==4466== TO CONTROL THIS PROCESS USING vgdb (which you probably
==4466== don't want to do, unless you know exactly what you're doing,
==4466== or are doing some strange experiment):
==4466==   /usr/lib64/valgrind/../../bin/vgdb --pid=4466 ...command...
==4466== 
==4466== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==4466==   /path/to/gdb ./bitcoind
==4466== and then give GDB the following command
==4466==   target remote | /usr/lib64/valgrind/../../bin/vgdb --pid=4466
==4466== --pid is optional if only one valgrind process is running
==4466== 
--4466-- REDIR: 0x4017c00 (strlen) redirected to 0x38067421 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--4466-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so
--4466--   Considering /usr/lib/debug/usr/lib64/valgrind/vgpreload_core-amd64-linux.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
--4466--   Considering /usr/lib/debug/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so.debug ..
--4466--   .. CRC is valid
--4466-- REDIR: 0x40178d0 (index) redirected to 0x4c2b810 (index)
--4466-- REDIR: 0x4017af0 (strcmp) redirected to 0x4c2c8f0 (strcmp)
--4466-- Reading syms from /usr/lib64/libboost_system.so.1.52.0
--4466--   Considering /usr/lib/debug/usr/lib64/libboost_system.so.1.52.0.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/libboost_filesystem.so.1.52.0
--4466--   Considering /usr/lib/debug/usr/lib64/libboost_filesystem.so.1.52.0.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/libboost_program_options.so.1.52.0
--4466--   Considering /usr/lib/debug/usr/lib64/libboost_program_options.so.1.52.0.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/libboost_thread.so.1.52.0
--4466--   Considering /usr/lib/debug/usr/lib64/libboost_thread.so.1.52.0.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/libdb_cxx-4.8.so
--4466--    object doesn't have a symbol table
--4466-- Reading syms from /usr/lib64/libssl.so.1.0.0
--4466--    object doesn't have a symbol table
--4466-- Reading syms from /usr/lib64/libcrypto.so.1.0.0
--4466--    object doesn't have a symbol table
--4466-- Reading syms from /lib64/libpthread-2.19.so
--4466--   Considering /usr/lib/debug/lib64/libpthread-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19
--4466--    object doesn't have a symbol table
--4466-- Reading syms from /lib64/libm-2.19.so
--4466--   Considering /usr/lib/debug/lib64/libm-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /lib64/libc-2.19.so
--4466--   Considering /usr/lib/debug/lib64/libc-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /lib64/librt-2.19.so
--4466--   Considering /usr/lib/debug/lib64/librt-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libgcc_s.so.1
--4466--    object doesn't have a symbol table
--4466-- Reading syms from /lib64/libdl-2.19.so
--4466--   Considering /usr/lib/debug/lib64/libdl-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /lib64/libz.so.1.2.8
--4466--    object doesn't have a symbol table
--4466-- REDIR: 0x695dd00 (strcasecmp) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x695fff0 (strncasecmp) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x695d4d0 (memcpy at GLIBC_2.2.5) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x6958100 (strcmp) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x695c960 (strstr) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x6957eb0 (index) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x695bec0 (strspn) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x695cef0 (bcmp) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x6959f70 (strncmp) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x695b810 (strncpy) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x69626d0 (memcpy@@GLIBC_2.14) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x69cc810 (__memcpy_chk) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x695b850 (rindex) redirected to 0x4c2b600 (rindex)
--4466-- REDIR: 0x6959b50 (strlen) redirected to 0x4c2bba0 (strlen)
--4466-- REDIR: 0x6959fc0 (__GI_strncmp) redirected to 0x4c2c0b0 (__GI_strncmp)
--4466-- REDIR: 0x69f9f10 (__strcmp_ssse3) redirected to 0x4c2c850 (strcmp)
--4466-- REDIR: 0x6339fd0 (operator new(unsigned long)) redirected to 0x4c28c30 (operator new(unsigned long))
--4466-- REDIR: 0x69685c0 (__memcpy_sse2_unaligned) redirected to 0x4c2cc40 (memcpy@@GLIBC_2.14)
--4466-- REDIR: 0x69547e0 (calloc) redirected to 0x4c2a7b0 (calloc)
--4466-- REDIR: 0x6338310 (operator delete(void*)) redirected to 0x4c29e10 (operator delete(void*))
--4466-- REDIR: 0x6953e60 (malloc) redirected to 0x4c286d0 (malloc)
--4466-- REDIR: 0x695d560 (memset) redirected to 0x4c2dfe0 (memset)
--4466-- REDIR: 0xffffffffff600400 (???) redirected to 0x3806740d (vgPlain_amd64_linux_REDIR_FOR_vtime)
--4466-- REDIR: 0x695cba0 (memchr) redirected to 0x4c2c990 (memchr)
--4466-- REDIR: 0x695d330 (__GI_memmove) redirected to 0x4c2e2c0 (__GI_memmove)
--4466-- REDIR: 0x6a09da0 (__memmove_ssse3_back) redirected to 0x4c2ca10 (memcpy at GLIBC_2.2.5)
--4466-- REDIR: 0x6a19d70 (__memcmp_sse4_1) redirected to 0x4c2da90 (bcmp)
--4466-- REDIR: 0xffffffffff600000 (???) redirected to 0x38067403 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)
--4466-- REDIR: 0x69544b0 (free) redirected to 0x4c29940 (free)
--4466-- REDIR: 0x6957ee0 (__GI_strchr) redirected to 0x4c2b710 (__GI_strchr)
--4466-- REDIR: 0x6958140 (__GI_strcmp) redirected to 0x4c2c8a0 (__GI_strcmp)
--4466-- REDIR: 0x6964660 (strchrnul) redirected to 0x4c2e5e0 (strchrnul)
--4466-- REDIR: 0x695db90 (__GI_stpcpy) redirected to 0x4c2dbf0 (__GI_stpcpy)
--4466-- REDIR: 0x633a100 (operator new[](unsigned long)) redirected to 0x4c29350 (operator new[](unsigned long))
--4466-- REDIR: 0x69732a0 (wcslen) redirected to 0x4c2eca0 (wcslen)
--4466-- REDIR: 0x6959d10 (strnlen) redirected to 0x4c2bb40 (strnlen)
--4466-- REDIR: 0x6338340 (operator delete[](void*)) redirected to 0x4c2a390 (operator delete[](void*))
--4466-- REDIR: 0x69595d0 (__GI_strcpy) redirected to 0x4c2bcc0 (__GI_strcpy)
--4466-- REDIR: 0x6a047f0 (__memcpy_chk_ssse3_back) redirected to 0x4c2e8e0 (__memcpy_chk)
--4466-- REDIR: 0x6954540 (realloc) redirected to 0x4c2a9d0 (realloc)
--4466-- REDIR: 0x696d7b0 (__strncpy_sse2_unaligned) redirected to 0x4c2bda0 (strncpy)
--4466-- REDIR: 0x6968200 (__GI_strncpy) redirected to 0x4c2bef0 (__GI_strncpy)
--4466-- Reading syms from /lib64/libnss_files-2.19.so
--4466--   Considering /usr/lib/debug/lib64/libnss_files-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- REDIR: 0x69f8560 (__strncasecmp_avx) redirected to 0x4c2c200 (strncasecmp)
--4466-- REDIR: 0x6964450 (rawmemchr) redirected to 0x4c2e620 (rawmemchr)
--4466-- REDIR: 0x69f6ef0 (__strcasecmp_avx) redirected to 0x4c2c120 (strcasecmp)
--4466-- Reading syms from /lib64/libnss_dns-2.19.so
--4466--   Considering /usr/lib/debug/lib64/libnss_dns-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- Reading syms from /lib64/libresolv-2.19.so
--4466--   Considering /usr/lib/debug/lib64/libresolv-2.19.so.debug ..
--4466--   .. CRC is valid
--4466-- REDIR: 0x695d660 (mempcpy) redirected to 0x4a23710 (_vgnU_ifunc_wrapper)
--4466-- REDIR: 0x6a072d0 (__mempcpy_ssse3_back) redirected to 0x4c2e700 (mempcpy)
--4466-- REDIR: 0x6971820 (__strstr_sse2_unaligned) redirected to 0x4c2e9f0 (strstr)
==4466== Thread 10:
==4466== Conditional jump or move depends on uninitialised value(s)
==4466==    at 0x58145AA: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815C0C: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C5C98: __db_addrem_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57D72DB: __db_pitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57325CB: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573395C: __bam_iitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EC76: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C3EFF: __db_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC4B4: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5717AD6: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x42BBAA: bool CDB::Write<std::pair<std::string, uint256>, CTxIndex>(std::pair<std::string, uint256> const&, CTxIndex const&, bool) (db.h:105)
==4466== 
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814272: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815031: __log_flush_int (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x581530C: __log_flush (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818E4E: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58191B2: __memp_bhwrite (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818332: __memp_alloc (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x581ABB8: __memp_fget (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573EE6E: __bam_search (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572AB00: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EE56: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==  Address 0x7b222d0 is not stack'd, malloc'd or (recently) free'd
==4466== 
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818FB1: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58191B2: __memp_bhwrite (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818332: __memp_alloc (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x581ABB8: __memp_fget (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573EE6E: __bam_search (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572AB00: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EE56: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C3EFF: __db_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC4B4: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==  Address 0x7b0ddd0 is not stack'd, malloc'd or (recently) free'd
==4466== 
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814272: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814425: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58147E1: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815C0C: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C6C38: __db_big_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57E37A9: __db_poff (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57325FD: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573395C: __bam_iitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EC76: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==  Address 0x7b22604 is not stack'd, malloc'd or (recently) free'd
==4466== 
==4466== Conditional jump or move depends on uninitialised value(s)
==4466==    at 0x58145AA: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815C0C: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C5C98: __db_addrem_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57D6FCE: __db_ditem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5733EA2: __bam_iitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EC76: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C3EFF: __db_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC4B4: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5717AD6: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x42BBAA: bool CDB::Write<std::pair<std::string, uint256>, CTxIndex>(std::pair<std::string, uint256> const&, CTxIndex const&, bool) (db.h:105)
==4466==    by 0x41C2BB: CTxDB::UpdateTxIndex(uint256, CTxIndex const&) (db.cpp:336)
==4466== 
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814272: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5816161: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58369C8: __txn_regop_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58353FA: __txn_commit (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC440: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5717AD6: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x452CE5: CBlock::SetBestChain(CTxDB&, CBlockIndex*) (db.h:105)
==4466==    by 0x453E6C: CBlock::AddToBlockIndex(unsigned int, unsigned int) (main.cpp:1302)
==4466==    by 0x454688: CBlock::AcceptBlock() (main.cpp:1400)
==4466==    by 0x454AE9: ProcessBlock(CNode*, CBlock*) (main.cpp:1460)
==4466==  Address 0x7b21520 is not stack'd, malloc'd or (recently) free'd
==4466== 
--4466-- REDIR: 0x6972510 (wcscmp) redirected to 0x4c2ecc0 (wcscmp)
--4466-- Discarding syms at 0x15ec3300-0x15ec9f38 in /lib64/libnss_files-2.19.so due to munmap()
--4466-- Discarding syms at 0x160ce110-0x160d0f78 in /lib64/libnss_dns-2.19.so due to munmap()
--4466-- Discarding syms at 0x162d6ae0-0x162e2b58 in /lib64/libresolv-2.19.so due to munmap()
==4466== 
==4466== HEAP SUMMARY:
==4466==     in use at exit: 50,655,817 bytes in 390,813 blocks
==4466==   total heap usage: 883,871,386 allocs, 883,480,573 frees, 252,518,776,359 bytes allocated
==4466== 
==4466== Searching for pointers to 390,813 not-freed blocks
==4466== Checked 101,092,416 bytes
==4466== 
==4466== Thread 1:
==4466== 8 bytes in 1 blocks are still reachable in loss record 1 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x54D8F89: boost::detail::get_once_per_thread_epoch() (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x54CF3E1: boost::detail::get_current_thread_data() (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x54D26DA: boost::this_thread::sleep(boost::posix_time::ptime const&) (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x42D374: Sleep(long long) (thread.hpp:435)
==4466==    by 0x439E29: AppInit2(int, char**) (init.cpp:473)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 8 bytes in 1 blocks are still reachable in loss record 2 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x54D8F89: boost::detail::get_once_per_thread_epoch() (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x54CF3E1: boost::detail::get_current_thread_data() (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x54D26DA: boost::this_thread::sleep(boost::posix_time::ptime const&) (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x42D374: Sleep(long long) (thread.hpp:435)
==4466==    by 0x46F0A3: ThreadMessageHandler2(void*) (net.cpp:1520)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 8 bytes in 1 blocks are still reachable in loss record 3 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x54D8F89: boost::detail::get_once_per_thread_epoch() (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x54CF3E1: boost::detail::get_current_thread_data() (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x54D26DA: boost::this_thread::sleep(boost::posix_time::ptime const&) (in /usr/lib64/libboost_thread.so.1.52.0)
==4466==    by 0x42D374: Sleep(long long) (thread.hpp:435)
==4466==    by 0x441039: ThreadIRCSeed2(void*) (irc.cpp:325)
==4466==    by 0x441A8F: ThreadIRCSeed(void*) (irc.cpp:245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 24 bytes in 1 blocks are still reachable in loss record 4 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E376A5: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E3806A: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB53DC: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB54BC: ecdsa_check (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB65DB: ECDSA_do_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB6696: ECDSA_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B26B4: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:372)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466==    by 0x4B5B10: VerifyScript(CScript const&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:1155)
==4466==    by 0x44C1AE: CTransaction::ConnectInputs(CTxDB&, std::map<uint256, CTxIndex, std::less<uint256>, std::allocator<std::pair<uint256 const, CTxIndex> > >&, CDiskTxPos, CBlockIndex*, long long&, bool, bool, long long, bool&) (main.cpp:930)
==4466== 
==4466== 24 bytes in 1 blocks are still reachable in loss record 5 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC9EA2: lh_insert (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E376D4: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E3806A: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB53DC: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB54BC: ecdsa_check (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB65DB: ECDSA_do_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB6696: ECDSA_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B26B4: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:372)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466==    by 0x4B5B10: VerifyScript(CScript const&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:1155)
==4466== 
==4466== 24 bytes in 1 blocks are still reachable in loss record 6 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC9EA2: lh_insert (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCC30D: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCCC6D: ERR_get_state (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCD024: ERR_clear_error (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA8A3A: ec_GFp_simple_set_compressed_coordinates (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA9556: ec_GFp_simple_oct2point (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA3882: o2i_ECPublicKey (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B25C0: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:273)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466==    by 0x4B5B10: VerifyScript(CScript const&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:1155)
==4466== 
==4466== 32 bytes in 1 blocks are still reachable in loss record 7 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC94AE: sk_new (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E376BB: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E3806A: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB53DC: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB54BC: ecdsa_check (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB65DB: ECDSA_do_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB6696: ECDSA_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B26B4: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:372)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466==    by 0x4B5B10: VerifyScript(CScript const&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:1155)
==4466== 
==4466== 32 bytes in 1 blocks are still reachable in loss record 8 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC94CC: sk_new (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E376BB: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E3806A: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB53DC: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB54BC: ecdsa_check (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB65DB: ECDSA_do_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB6696: ECDSA_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B26B4: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:372)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466==    by 0x4B5B10: VerifyScript(CScript const&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:1155)
==4466== 
==4466== 40 bytes in 1 blocks are possibly lost in loss record 9 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x6395FD8: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396BCA: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396C63: std::string::reserve(unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396D17: std::string::append(std::string const&) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x43FB45: EncodeAddress(CAddress const&) (basic_string.h:2369)
==4466==    by 0x44168F: ThreadIRCSeed2(void*) (irc.cpp:337)
==4466==    by 0x441A8F: ThreadIRCSeed(void*) (irc.cpp:245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 40 bytes in 1 blocks are possibly lost in loss record 10 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FD46: std::vector<CAddress, std::allocator<CAddress> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress, std::allocator<CAddress> > >, CAddress const&) (new_allocator.h:104)
==4466==    by 0x45FFFB: CNode::PushAddress(CAddress const&) (stl_vector.h:913)
==4466==    by 0x45719C: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:1824)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 48 bytes in 1 blocks are still reachable in loss record 11 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x495B42: boost::asio::io_service::service* boost::asio::detail::service_registry::create<boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >(boost::asio::io_service&) (service_registry.hpp:81)
==4466==    by 0x4948D7: boost::asio::detail::service_registry::do_use_service(boost::asio::io_service::service::key const&, boost::asio::io_service::service* (*)(boost::asio::io_service&)) (service_registry.ipp:123)
==4466==    by 0x49978A: boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >::basic_socket_acceptor(boost::asio::io_service&, boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, bool) (service_registry.hpp:48)
==4466==    by 0x48B113: ThreadRPCServer2(void*) (bitcoinrpc.cpp:2126)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 48 bytes in 1 blocks are still reachable in loss record 12 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x495CC2: boost::asio::io_service::service* boost::asio::detail::service_registry::create<boost::asio::stream_socket_service<boost::asio::ip::tcp> >(boost::asio::io_service&) (service_registry.hpp:81)
==4466==    by 0x4948D7: boost::asio::detail::service_registry::do_use_service(boost::asio::io_service::service::key const&, boost::asio::io_service::service* (*)(boost::asio::io_service&)) (service_registry.ipp:123)
==4466==    by 0x49EAA4: boost::asio::basic_socket_streambuf<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >::basic_socket_streambuf() (service_registry.hpp:48)
==4466==    by 0x48B235: ThreadRPCServer2(void*) (base_from_member.hpp:72)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 56 bytes in 2 blocks are still reachable in loss record 13 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x162DD899: ???
==4466==    by 0x162DAC64: ???
==4466==    by 0x162DB24E: ???
==4466==    by 0x162DB836: ???
==4466==    by 0x160CF683: ???
==4466==    by 0x160CF98F: ???
==4466==    by 0x69D0C52: gethostbyname_r@@GLIBC_2.2.5 (in /lib64/libc-2.19.so)
==4466==    by 0x69D0495: gethostbyname (in /lib64/libc-2.19.so)
==4466==    by 0x46E2F7: Lookup(char const*, std::vector<CAddress, std::allocator<CAddress> >&, int, int, bool, int, bool) [clone .part.494] (net.cpp:238)
==4466==    by 0x46E528: Lookup(char const*, CAddress&, int, bool, int, bool) (net.cpp:265)
==4466==    by 0x440CAD: ThreadIRCSeed2(void*) (irc.cpp:272)
==4466== 
==4466== 63 bytes in 1 blocks are possibly lost in loss record 14 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x6395FD8: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396BCA: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396C63: std::string::reserve(unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396EBE: std::string::append(char const*, unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x43C126: std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) (basic_string.h:1009)
==4466==    by 0x438A2C: AppInit2(int, char**) (init.cpp:258)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 64 bytes in 1 blocks are still reachable in loss record 15 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x499C18: boost::asio::io_service::io_service() (io_service.ipp:40)
==4466==    by 0x48B067: ThreadRPCServer2(void*) (bitcoinrpc.cpp:2124)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 64 bytes in 1 blocks are still reachable in loss record 16 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x49E966: boost::asio::basic_socket_streambuf<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >::basic_socket_streambuf() (io_service.ipp:40)
==4466==    by 0x48B235: ThreadRPCServer2(void*) (base_from_member.hpp:72)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 64 bytes in 1 blocks are still reachable in loss record 17 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x473863: std::vector<CNode*, std::allocator<CNode*> >::operator=(std::vector<CNode*, std::allocator<CNode*> > const&) (new_allocator.h:104)
==4466==    by 0x46EF50: ThreadMessageHandler2(void*) (net.cpp:1486)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 72 bytes in 1 blocks are possibly lost in loss record 18 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FB3D: std::_Rb_tree<CAddress, CAddress, std::_Identity<CAddress>, std::less<CAddress>, std::allocator<CAddress> >::_M_insert_unique(CAddress const&) (new_allocator.h:104)
==4466==    by 0x44A0A2: SendMessages(CNode*, bool) (stl_set.h:463)
==4466==    by 0x46F02C: ThreadMessageHandler2(void*) (net.cpp:1505)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 120 bytes in 3 blocks are still reachable in loss record 19 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FD46: std::vector<CAddress, std::allocator<CAddress> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress, std::allocator<CAddress> > >, CAddress const&) (new_allocator.h:104)
==4466==    by 0x45FFFB: CNode::PushAddress(CAddress const&) (stl_vector.h:913)
==4466==    by 0x45719C: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:1824)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 128 bytes in 1 blocks are still reachable in loss record 20 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC9BA1: lh_new (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E375D4: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E37684: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E3806A: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB53DC: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB54BC: ecdsa_check (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB65DB: ECDSA_do_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB6696: ECDSA_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B26B4: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:372)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466== 
==4466== 128 bytes in 1 blocks are still reachable in loss record 21 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC9BA1: lh_new (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCBFFE: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCC2DB: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCCC6D: ERR_get_state (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCD024: ERR_clear_error (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA8A3A: ec_GFp_simple_set_compressed_coordinates (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA9556: ec_GFp_simple_oct2point (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA3882: o2i_ECPublicKey (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B25C0: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:273)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466== 
==4466== 152 bytes in 1 blocks are still reachable in loss record 22 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x499561: boost::asio::detail::epoll_reactor::register_descriptor(int, boost::asio::detail::epoll_reactor::descriptor_state*&) (object_pool.hpp:35)
==4466==    by 0x499A18: boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >::basic_socket_acceptor(boost::asio::io_service&, boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, bool) (reactive_socket_service_base.ipp:152)
==4466==    by 0x48B113: ThreadRPCServer2(void*) (bitcoinrpc.cpp:2126)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 160 bytes in 1 blocks are still reachable in loss record 23 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x499C58: boost::asio::io_service::io_service() (service_registry.hpp:28)
==4466==    by 0x48B067: ThreadRPCServer2(void*) (bitcoinrpc.cpp:2124)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 160 bytes in 1 blocks are still reachable in loss record 24 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x49E9A8: boost::asio::basic_socket_streambuf<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >::basic_socket_streambuf() (service_registry.hpp:28)
==4466==    by 0x48B235: ThreadRPCServer2(void*) (base_from_member.hpp:72)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 176 bytes in 1 blocks are still reachable in loss record 25 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x49A0CA: boost::asio::io_service::service* boost::asio::detail::service_registry::create<boost::asio::detail::epoll_reactor>(boost::asio::io_service&) (service_registry.hpp:81)
==4466==    by 0x4948D7: boost::asio::detail::service_registry::do_use_service(boost::asio::io_service::service::key const&, boost::asio::io_service::service* (*)(boost::asio::io_service&)) (service_registry.ipp:123)
==4466==    by 0x495B8A: boost::asio::io_service::service* boost::asio::detail::service_registry::create<boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >(boost::asio::io_service&) (service_registry.hpp:48)
==4466==    by 0x4948D7: boost::asio::detail::service_registry::do_use_service(boost::asio::io_service::service::key const&, boost::asio::io_service::service* (*)(boost::asio::io_service&)) (service_registry.ipp:123)
==4466==    by 0x49978A: boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >::basic_socket_acceptor(boost::asio::io_service&, boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, bool) (service_registry.hpp:48)
==4466==    by 0x48B113: ThreadRPCServer2(void*) (bitcoinrpc.cpp:2126)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 176 bytes in 1 blocks are still reachable in loss record 26 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x49A0CA: boost::asio::io_service::service* boost::asio::detail::service_registry::create<boost::asio::detail::epoll_reactor>(boost::asio::io_service&) (service_registry.hpp:81)
==4466==    by 0x4948D7: boost::asio::detail::service_registry::do_use_service(boost::asio::io_service::service::key const&, boost::asio::io_service::service* (*)(boost::asio::io_service&)) (service_registry.ipp:123)
==4466==    by 0x495D0A: boost::asio::io_service::service* boost::asio::detail::service_registry::create<boost::asio::stream_socket_service<boost::asio::ip::tcp> >(boost::asio::io_service&) (service_registry.hpp:48)
==4466==    by 0x4948D7: boost::asio::detail::service_registry::do_use_service(boost::asio::io_service::service::key const&, boost::asio::io_service::service* (*)(boost::asio::io_service&)) (service_registry.ipp:123)
==4466==    by 0x49EAA4: boost::asio::basic_socket_streambuf<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >::basic_socket_streambuf() (service_registry.hpp:48)
==4466==    by 0x48B235: ThreadRPCServer2(void*) (base_from_member.hpp:72)
==4466==    by 0x48D776: ThreadRPCServer(void*) (bitcoinrpc.cpp:2081)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 176 bytes in 1 blocks are still reachable in loss record 27 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC9B7F: lh_new (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E375D4: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E37684: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5E3806A: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB53DC: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB54BC: ecdsa_check (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB65DB: ECDSA_do_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DB6696: ECDSA_verify (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B26B4: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:372)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466== 
==4466== 176 bytes in 1 blocks are still reachable in loss record 28 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DC9B7F: lh_new (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCBFFE: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCC2DB: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCCC6D: ERR_get_state (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCD024: ERR_clear_error (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA8A3A: ec_GFp_simple_set_compressed_coordinates (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA9556: ec_GFp_simple_oct2point (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA3882: o2i_ECPublicKey (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B25C0: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:273)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466== 
==4466== 208 bytes in 1 blocks are still reachable in loss record 29 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4466==    by 0x42AE46: void WriteCompactSize<CDataStream>(CDataStream&, unsigned long long) (stl_vector.h:1291)
==4466==    by 0x448497: void Serialize<CDataStream, char>(CDataStream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) [clone .isra.1082] (serialize.h:431)
==4466==    by 0x4667D7: CNode::PushVersion() (serialize.h:1136)
==4466==    by 0x474E57: CNode::CNode(unsigned int, CAddress, bool) (net.h:193)
==4466==    by 0x472176: StartNode(void*) (net.cpp:1598)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 208 bytes in 1 blocks are still reachable in loss record 30 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4466==    by 0x42AE46: void WriteCompactSize<CDataStream>(CDataStream&, unsigned long long) (stl_vector.h:1291)
==4466==    by 0x448497: void Serialize<CDataStream, char>(CDataStream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) [clone .isra.1082] (serialize.h:431)
==4466==    by 0x4667D7: CNode::PushVersion() (serialize.h:1136)
==4466==    by 0x474E57: CNode::CNode(unsigned int, CAddress, bool) (net.h:193)
==4466==    by 0x46FD9C: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 256 bytes in 1 blocks are still reachable in loss record 31 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x474E69: CNode::CNode(unsigned int, CAddress, bool) (new_allocator.h:104)
==4466==    by 0x472176: StartNode(void*) (net.cpp:1598)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 256 bytes in 1 blocks are possibly lost in loss record 32 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x474E69: CNode::CNode(unsigned int, CAddress, bool) (new_allocator.h:104)
==4466==    by 0x46FD9C: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 304 bytes in 1 blocks are possibly lost in loss record 33 of 73
==4466==    at 0x4C2A830: calloc (vg_replace_malloc.c:618)
==4466==    by 0x4011111: allocate_dtv (in /lib64/ld-2.19.so)
==4466==    by 0x401175D: _dl_allocate_tls (in /lib64/ld-2.19.so)
==4466==    by 0x60C1D82: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.19.so)
==4466==    by 0x43B68E: CreateThread(void (*)(void*), void*, bool) (util.h:603)
==4466==    by 0x43A5F7: AppInit2(int, char**) (init.cpp:470)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 304 bytes in 1 blocks are possibly lost in loss record 34 of 73
==4466==    at 0x4C2A830: calloc (vg_replace_malloc.c:618)
==4466==    by 0x4011111: allocate_dtv (in /lib64/ld-2.19.so)
==4466==    by 0x401175D: _dl_allocate_tls (in /lib64/ld-2.19.so)
==4466==    by 0x60C1D82: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.19.so)
==4466==    by 0x471E2F: StartNode(void*) (util.h:603)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 304 bytes in 1 blocks are possibly lost in loss record 35 of 73
==4466==    at 0x4C2A830: calloc (vg_replace_malloc.c:618)
==4466==    by 0x4011111: allocate_dtv (in /lib64/ld-2.19.so)
==4466==    by 0x401175D: _dl_allocate_tls (in /lib64/ld-2.19.so)
==4466==    by 0x60C1D82: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.19.so)
==4466==    by 0x471EB9: StartNode(void*) (util.h:603)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 370 bytes in 9 blocks are possibly lost in loss record 36 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x6395FD8: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396BCA: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396C63: std::string::reserve(unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6397035: std::string::append(unsigned long, char) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x448171: void Unserialize<CDataStream, char>(CDataStream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, int) [clone .isra.506] (basic_string.h:754)
==4466==    by 0x456A92: ProcessMessage(CNode*, std::string, CDataStream&) (serialize.h:1144)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 568 bytes in 1 blocks are still reachable in loss record 37 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x69414FC: __fopen_internal (in /lib64/libc-2.19.so)
==4466==    by 0x4BCC34: OutputDebugStringF(char const*, ...) (util.cpp:159)
==4466==    by 0x438913: AppInit2(int, char**) (init.cpp:245)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 568 bytes in 1 blocks are still reachable in loss record 38 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x69414FC: __fopen_internal (in /lib64/libc-2.19.so)
==4466==    by 0x41F2D9: CDB::CDB(char const*, char const*) (db.cpp:90)
==4466==    by 0x420DE8: LoadAddresses() (db.h:303)
==4466==    by 0x438B18: AppInit2(int, char**) (init.cpp:281)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 600 bytes in 1 blocks are still reachable in loss record 39 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCCC0D: ERR_get_state (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DCD024: ERR_clear_error (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA8A3A: ec_GFp_simple_set_compressed_coordinates (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA9556: ec_GFp_simple_oct2point (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5DA3882: o2i_ECPublicKey (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4B25C0: CheckSig(std::vector<unsigned char, std::allocator<unsigned char> >, std::vector<unsigned char, std::allocator<unsigned char> >, CScript, CTransaction const&, unsigned int, int) (key.h:273)
==4466==    by 0x4B2B84: EvalScript(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:759)
==4466==    by 0x4B5B10: VerifyScript(CScript const&, CScript const&, CTransaction const&, unsigned int, int) (script.cpp:1155)
==4466==    by 0x44C1AE: CTransaction::ConnectInputs(CTxDB&, std::map<uint256, CTxIndex, std::less<uint256>, std::allocator<std::pair<uint256 const, CTxIndex> > >&, CDiskTxPos, CBlockIndex*, long long&, bool, bool, long long, bool&) (main.cpp:930)
==4466==    by 0x44EF07: CBlock::ConnectBlock(CTxDB&, CBlockIndex*) (main.cpp:1088)
==4466== 
==4466== 624 bytes in 3 blocks are indirectly lost in loss record 40 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4466==    by 0x42AE46: void WriteCompactSize<CDataStream>(CDataStream&, unsigned long long) (stl_vector.h:1291)
==4466==    by 0x448497: void Serialize<CDataStream, char>(CDataStream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) [clone .isra.1082] (serialize.h:431)
==4466==    by 0x4667D7: CNode::PushVersion() (serialize.h:1136)
==4466==    by 0x474E57: CNode::CNode(unsigned int, CAddress, bool) (net.h:193)
==4466==    by 0x46FD9C: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 640 bytes in 2 blocks are still reachable in loss record 41 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FD46: std::vector<CAddress, std::allocator<CAddress> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress, std::allocator<CAddress> > >, CAddress const&) (new_allocator.h:104)
==4466==    by 0x45FFFB: CNode::PushAddress(CAddress const&) (stl_vector.h:913)
==4466==    by 0x4580FE: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:1924)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 720 bytes in 3 blocks are still reachable in loss record 42 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FD46: std::vector<CAddress, std::allocator<CAddress> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress, std::allocator<CAddress> > >, CAddress const&) (new_allocator.h:104)
==4466==    by 0x45FFFB: CNode::PushAddress(CAddress const&) (stl_vector.h:913)
==4466==    by 0x45811D: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:1924)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 768 bytes in 3 blocks are indirectly lost in loss record 43 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x474E69: CNode::CNode(unsigned int, CAddress, bool) (new_allocator.h:104)
==4466==    by 0x46FD9C: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 776 bytes in 1 blocks are still reachable in loss record 44 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x472133: StartNode(void*) (net.cpp:1598)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 776 bytes in 1 blocks are possibly lost in loss record 45 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x46FD4B: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 2,048 bytes in 8 blocks are still reachable in loss record 46 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x474E69: CNode::CNode(unsigned int, CAddress, bool) (new_allocator.h:104)
==4466==    by 0x46FD9C: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 3,744 bytes in 3 blocks are indirectly lost in loss record 47 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x460422: std::vector<CInv, std::allocator<CInv> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CInv*, std::vector<CInv, std::allocator<CInv> > >, CInv const&) (new_allocator.h:104)
==4466==    by 0x46072E: CNode::PushInventory(CInv const&) (stl_vector.h:913)
==4466==    by 0x45471C: CBlock::AcceptBlock() (main.cpp:1408)
==4466==    by 0x454AE9: ProcessBlock(CNode*, CBlock*) (main.cpp:1460)
==4466==    by 0x4592F8: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:2164)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 6,208 bytes in 8 blocks are still reachable in loss record 48 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x46FD4B: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 9,216 bytes in 1 blocks are possibly lost in loss record 49 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x460422: std::vector<CInv, std::allocator<CInv> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CInv*, std::vector<CInv, std::allocator<CInv> > >, CInv const&) (new_allocator.h:104)
==4466==    by 0x46072E: CNode::PushInventory(CInv const&) (stl_vector.h:913)
==4466==    by 0x45471C: CBlock::AcceptBlock() (main.cpp:1408)
==4466==    by 0x454AE9: ProcessBlock(CNode*, CBlock*) (main.cpp:1460)
==4466==    by 0x4592F8: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:2164)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 9,360 bytes in 130 blocks are still reachable in loss record 50 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FB3D: std::_Rb_tree<CAddress, CAddress, std::_Identity<CAddress>, std::less<CAddress>, std::allocator<CAddress> >::_M_insert_unique(CAddress const&) (new_allocator.h:104)
==4466==    by 0x44A0A2: SendMessages(CNode*, bool) (stl_set.h:463)
==4466==    by 0x46F02C: ThreadMessageHandler2(void*) (net.cpp:1505)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 11,578 bytes in 1 blocks are possibly lost in loss record 51 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4466==    by 0x466A68: void CNode::PushMessage<std::vector<CInv, std::allocator<CInv> > >(char const*, std::vector<CInv, std::allocator<CInv> > const&) (stl_vector.h:1291)
==4466==    by 0x44A2CA: SendMessages(CNode*, bool) (main.cpp:2529)
==4466==    by 0x46F02C: ThreadMessageHandler2(void*) (net.cpp:1505)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 12,256 bytes in 1 blocks are possibly lost in loss record 52 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x6395FD8: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396BCA: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x6396C63: std::string::reserve(unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19)
==4466==    by 0x4411BF: ThreadIRCSeed2(void*) (irc.cpp:354)
==4466==    by 0x441A8F: ThreadIRCSeed(void*) (irc.cpp:245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 12,672 bytes in 176 blocks are possibly lost in loss record 53 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x4600FD: std::_Rb_tree<CInv, CInv, std::_Identity<CInv>, std::less<CInv>, std::allocator<CInv> >::_M_insert_unique(CInv const&) (new_allocator.h:104)
==4466==    by 0x44A86A: SendMessages(CNode*, bool) (stl_set.h:463)
==4466==    by 0x46F02C: ThreadMessageHandler2(void*) (net.cpp:1505)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 14,420 bytes in 2 blocks are still reachable in loss record 54 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4466==    by 0x466A68: void CNode::PushMessage<std::vector<CInv, std::allocator<CInv> > >(char const*, std::vector<CInv, std::allocator<CInv> > const&) (stl_vector.h:1291)
==4466==    by 0x44A2CA: SendMessages(CNode*, bool) (main.cpp:2529)
==4466==    by 0x46F02C: ThreadMessageHandler2(void*) (net.cpp:1505)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 38,016 bytes in 7 blocks are still reachable in loss record 55 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x460422: std::vector<CInv, std::allocator<CInv> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CInv*, std::vector<CInv, std::allocator<CInv> > >, CInv const&) (new_allocator.h:104)
==4466==    by 0x46072E: CNode::PushInventory(CInv const&) (stl_vector.h:913)
==4466==    by 0x45471C: CBlock::AcceptBlock() (main.cpp:1408)
==4466==    by 0x454AE9: ProcessBlock(CNode*, CBlock*) (main.cpp:1460)
==4466==    by 0x4592F8: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:2164)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 39,120 bytes in 489 blocks are still reachable in loss record 56 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x46766A: CNode::AskFor(CInv const&) (new_allocator.h:104)
==4466==    by 0x4579FD: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:1956)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 63,154 bytes in 1 blocks are possibly lost in loss record 57 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45F699: std::vector<char, zero_after_free_allocator<char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, unsigned long, char const&) (new_allocator.h:104)
==4466==    by 0x471508: ThreadSocketHandler2(void*) (stl_vector.h:1024)
==4466==    by 0x471786: ThreadSocketHandler(void*) (net.cpp:761)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 67,600 bytes in 845 blocks are possibly lost in loss record 58 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x46766A: CNode::AskFor(CInv const&) (new_allocator.h:104)
==4466==    by 0x4579FD: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:1956)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 82,728 bytes in 1,149 blocks are possibly lost in loss record 59 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x4600FD: std::_Rb_tree<CInv, CInv, std::_Identity<CInv>, std::less<CInv>, std::allocator<CInv> >::_M_insert_unique(CInv const&) (new_allocator.h:104)
==4466==    by 0x45797C: ProcessMessage(CNode*, std::string, CDataStream&) (stl_set.h:463)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 99,748 bytes in 2 blocks are indirectly lost in loss record 60 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45F699: std::vector<char, zero_after_free_allocator<char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, unsigned long, char const&) (new_allocator.h:104)
==4466==    by 0x471508: ThreadSocketHandler2(void*) (stl_vector.h:1024)
==4466==    by 0x471786: ThreadSocketHandler(void*) (net.cpp:761)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 107,212 (2,328 direct, 104,884 indirect) bytes in 3 blocks are definitely lost in loss record 61 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x46FD4B: ConnectNode(CAddress, long long) (net.cpp:656)
==4466==    by 0x470002: OpenNetworkConnection(CAddress const&) (net.cpp:1440)
==4466==    by 0x472ED0: ThreadOpenConnections2(void*) (net.cpp:1424)
==4466==    by 0x473176: ThreadOpenConnections(void*) (net.cpp:1245)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 177,048 bytes in 2,459 blocks are possibly lost in loss record 62 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FB3D: std::_Rb_tree<CAddress, CAddress, std::_Identity<CAddress>, std::less<CAddress>, std::allocator<CAddress> >::_M_insert_unique(CAddress const&) (new_allocator.h:104)
==4466==    by 0x457BCA: ProcessMessage(CNode*, std::string, CDataStream&) (stl_set.h:463)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 248,400 bytes in 3,450 blocks are still reachable in loss record 63 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x4600FD: std::_Rb_tree<CInv, CInv, std::_Identity<CInv>, std::less<CInv>, std::allocator<CInv> >::_M_insert_unique(CInv const&) (new_allocator.h:104)
==4466==    by 0x44A86A: SendMessages(CNode*, bool) (stl_set.h:463)
==4466==    by 0x46F02C: ThreadMessageHandler2(void*) (net.cpp:1505)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 260,920 bytes in 5 blocks are still reachable in loss record 64 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4466==    by 0x466A68: void CNode::PushMessage<std::vector<CInv, std::allocator<CInv> > >(char const*, std::vector<CInv, std::allocator<CInv> > const&) (stl_vector.h:1291)
==4466==    by 0x44A45A: SendMessages(CNode*, bool) (main.cpp:2555)
==4466==    by 0x46F02C: ThreadMessageHandler2(void*) (net.cpp:1505)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 282,112 bytes in 17,632 blocks are still reachable in loss record 65 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5D89338: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5D8983C: bn_expand2 (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5D89934: BN_copy (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x42523D: CBigNum::operator=(CBigNum const&) (bignum.h:70)
==4466==    by 0x453D80: CBlock::AddToBlockIndex(unsigned int, unsigned int) (main.cpp:1292)
==4466==    by 0x454688: CBlock::AcceptBlock() (main.cpp:1400)
==4466==    by 0x454AE9: ProcessBlock(CNode*, CBlock*) (main.cpp:1460)
==4466==    by 0x4592F8: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:2164)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466== 
==4466== 497,880 bytes in 6,915 blocks are still reachable in loss record 66 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x4600FD: std::_Rb_tree<CInv, CInv, std::_Identity<CInv>, std::less<CInv>, std::allocator<CInv> >::_M_insert_unique(CInv const&) (new_allocator.h:104)
==4466==    by 0x45797C: ProcessMessage(CNode*, std::string, CDataStream&) (stl_set.h:463)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 669,240 bytes in 9,295 blocks are still reachable in loss record 67 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45FB3D: std::_Rb_tree<CAddress, CAddress, std::_Identity<CAddress>, std::less<CAddress>, std::allocator<CAddress> >::_M_insert_unique(CAddress const&) (new_allocator.h:104)
==4466==    by 0x457BCA: ProcessMessage(CNode*, std::string, CDataStream&) (stl_set.h:463)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 1,594,720 bytes in 165,264 blocks are still reachable in loss record 68 of 73
==4466==    at 0x4C28740: malloc (vg_replace_malloc.c:291)
==4466==    by 0x5E3624F: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5D89338: ??? (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5D8983C: bn_expand2 (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x5D89934: BN_copy (in /usr/lib64/libcrypto.so.1.0.0)
==4466==    by 0x4204F3: CTxDB::LoadBlockIndex() (bignum.h:70)
==4466==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4466==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 1,974,784 bytes in 17,632 blocks are still reachable in loss record 69 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x453B99: CBlock::AddToBlockIndex(unsigned int, unsigned int) (main.cpp:1281)
==4466==    by 0x454688: CBlock::AcceptBlock() (main.cpp:1400)
==4466==    by 0x454AE9: ProcessBlock(CNode*, CBlock*) (main.cpp:1460)
==4466==    by 0x4592F8: ProcessMessage(CNode*, std::string, CDataStream&) (main.cpp:2164)
==4466==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4466==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4466==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== 6,153,168 bytes in 54,939 blocks are still reachable in loss record 70 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x41E047: InsertBlockIndex(uint256) (db.cpp:484)
==4466==    by 0x41FEAC: CTxDB::LoadBlockIndex() (db.cpp:526)
==4466==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4466==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 6,157,760 bytes in 54,980 blocks are still reachable in loss record 71 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x41E047: InsertBlockIndex(uint256) (db.cpp:484)
==4466==    by 0x41FE71: CTxDB::LoadBlockIndex() (db.cpp:525)
==4466==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4466==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 6,198,640 bytes in 55,345 blocks are still reachable in loss record 72 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x41E047: InsertBlockIndex(uint256) (db.cpp:484)
==4466==    by 0x41FEE8: CTxDB::LoadBlockIndex() (db.cpp:527)
==4466==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4466==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4466==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4466==    by 0x413988: main (init.cpp:84)
==4466== 
==4466== 25,956,428 bytes in 8 blocks are still reachable in loss record 73 of 73
==4466==    at 0x4C28CA0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4466==    by 0x45F699: std::vector<char, zero_after_free_allocator<char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, unsigned long, char const&) (new_allocator.h:104)
==4466==    by 0x471508: ThreadSocketHandler2(void*) (stl_vector.h:1024)
==4466==    by 0x471786: ThreadSocketHandler(void*) (net.cpp:761)
==4466==    by 0x60C1082: start_thread (in /lib64/libpthread-2.19.so)
==4466==    by 0x69BF26C: clone (in /lib64/libc-2.19.so)
==4466== 
==4466== LEAK SUMMARY:
==4466==    definitely lost: 2,328 bytes in 3 blocks
==4466==    indirectly lost: 104,884 bytes in 11 blocks
==4466==      possibly lost: 438,781 bytes in 4,651 blocks
==4466==    still reachable: 50,109,824 bytes in 386,148 blocks
==4466==         suppressed: 0 bytes in 0 blocks
==4466== 
==4466== Use --track-origins=yes to see where uninitialised values come from
==4466== ERROR SUMMARY: 303360 errors from 25 contexts (suppressed: 1 from 1)
==4466== 
==4466== 5 errors in context 1 of 25:
==4466== Thread 10:
==4466== Conditional jump or move depends on uninitialised value(s)
==4466==    at 0x58145AA: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815C0C: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C5C98: __db_addrem_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57D6FCE: __db_ditem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5733EA2: __bam_iitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EC76: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C3EFF: __db_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC4B4: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5717AD6: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x42BBAA: bool CDB::Write<std::pair<std::string, uint256>, CTxIndex>(std::pair<std::string, uint256> const&, CTxIndex const&, bool) (db.h:105)
==4466==    by 0x41C2BB: CTxDB::UpdateTxIndex(uint256, CTxIndex const&) (db.cpp:336)
==4466== 
==4466== 
==4466== 68 errors in context 2 of 25:
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814272: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5816161: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58369C8: __txn_regop_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58353FA: __txn_commit (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC440: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5717AD6: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x452CE5: CBlock::SetBestChain(CTxDB&, CBlockIndex*) (db.h:105)
==4466==    by 0x453E6C: CBlock::AddToBlockIndex(unsigned int, unsigned int) (main.cpp:1302)
==4466==    by 0x454688: CBlock::AcceptBlock() (main.cpp:1400)
==4466==    by 0x454AE9: ProcessBlock(CNode*, CBlock*) (main.cpp:1460)
==4466==  Address 0x7b21520 is not stack'd, malloc'd or (recently) free'd
==4466== 
==4466== 
==4466== 2021 errors in context 3 of 25:
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814272: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814425: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58147E1: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815C0C: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C6C38: __db_big_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57E37A9: __db_poff (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57325FD: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573395C: __bam_iitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EC76: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==  Address 0x7b22604 is not stack'd, malloc'd or (recently) free'd
==4466== 
==4466== 
==4466== 64322 errors in context 4 of 25:
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5814272: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815031: __log_flush_int (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x581530C: __log_flush (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818E4E: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58191B2: __memp_bhwrite (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818332: __memp_alloc (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x581ABB8: __memp_fget (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573EE6E: __bam_search (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572AB00: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EE56: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==  Address 0x7b222d0 is not stack'd, malloc'd or (recently) free'd
==4466== 
==4466== 
==4466== 117985 errors in context 5 of 25:
==4466== Conditional jump or move depends on uninitialised value(s)
==4466==    at 0x58145AA: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5815C0C: __log_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C5C98: __db_addrem_log (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57D72DB: __db_pitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57325CB: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573395C: __bam_iitem (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EC76: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C3EFF: __db_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC4B4: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5717AD6: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x42BBAA: bool CDB::Write<std::pair<std::string, uint256>, CTxIndex>(std::pair<std::string, uint256> const&, CTxIndex const&, bool) (db.h:105)
==4466== 
==4466== 
==4466== 118940 errors in context 6 of 25:
==4466== Syscall param pwrite64(buf) points to uninitialised byte(s)
==4466==    at 0x60C88B3: ??? (in /lib64/libpthread-2.19.so)
==4466==    by 0x582B445: __os_io (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818FB1: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x58191B2: __memp_bhwrite (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x5818332: __memp_alloc (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x581ABB8: __memp_fget (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x573EE6E: __bam_search (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572AB00: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x572EE56: ??? (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57CFB3E: __dbc_iput (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57C3EFF: __db_put (in /usr/lib64/libdb_cxx-4.8.so)
==4466==    by 0x57DC4B4: __db_put_pp (in /usr/lib64/libdb_cxx-4.8.so)
==4466==  Address 0x7b0ddd0 is not stack'd, malloc'd or (recently) free'd
==4466== 
--4466-- 
--4466-- used_suppression:      1 dl-hack3-cond-1 /usr/lib64/valgrind/default.supp:1196
==4466== 
==4466== ERROR SUMMARY: 303360 errors from 25 contexts (suppressed: 1 from 1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thermonuke_valgrind.txt.sig
Type: application/octet-stream
Size: 490 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150505/thermonuke_valgrind_b4d2d1cb6ff9b70dc8865fff02d2eb4c31a59734.txt.sig>


More information about the BTC-dev mailing list