==8934== Memcheck, a memory error detector. ==8934== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==8934== Using LibVEX rev 1658, a library for dynamic binary translation. ==8934== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==8934== Using valgrind-3.2.1, a dynamic binary instrumentation framework. ==8934== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==8934== For more details, rerun with: -v ==8934== ==8935== Memcheck, a memory error detector. ==8935== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==8935== Using LibVEX rev 1658, a library for dynamic binary translation. ==8935== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==8935== Using valgrind-3.2.1, a dynamic binary instrumentation framework. ==8935== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==8935== For more details, rerun with: -v ==8935== ==8934== Syscall param writev(vector[...]) points to uninitialised byte(s) ==8934== at 0xBD56E8: writev (in /lib/libc-2.5.so) ==8934== by 0x808AD10: MPIDU_Socki_handle_write (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x808BF10: MPIDU_Sock_wait (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806531C: MPIDI_CH3I_Progress (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805A349: MPIC_Wait (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805A5BA: MPIC_Sendrecv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8059CB3: MPIR_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805A149: PMPI_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x804E971: void boost::mpi::detail::all_gather_impl >(boost::mpi::communicator const&, std::pair const*, int, std::pair*, mpl_::bool_) (all_gather.hpp:31) ==8934== by 0x804E9FF: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const*, int, std::pair*) (all_gather.hpp:71) ==8934== by 0x804EA6D: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const&, std::vector, std::allocator > >&) (all_gather.hpp:64) ==8934== by 0x804A170: main (test_all_gather.cpp:19) ==8934== Address 0x402DF90 is 32 bytes inside a block of size 72 alloc'd ==8934== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==8934== by 0x80708FC: MPIDI_CH3I_Sock_connect (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8070B1A: MPIDI_CH3I_VC_post_sockconnect (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x808FB01: MPIDI_CH3_iSendv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806A8F9: MPIDI_CH3_EagerContigIsend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806CAC6: MPID_Isend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805A5A9: MPIC_Sendrecv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8059CB3: MPIR_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805A149: PMPI_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x804E971: void boost::mpi::detail::all_gather_impl >(boost::mpi::communicator const&, std::pair const*, int, std::pair*, mpl_::bool_) (all_gather.hpp:31) ==8934== by 0x804E9FF: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const*, int, std::pair*) (all_gather.hpp:71) ==8934== by 0x804EA6D: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const&, std::vector, std::allocator > >&) (all_gather.hpp:64) ==8935== Syscall param writev(vector[...]) points to uninitialised byte(s) ==8935== at 0xBD56E8: writev (in /lib/libc-2.5.so) ==8935== by 0x808AD10: MPIDU_Socki_handle_write (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x808BF10: MPIDU_Sock_wait (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806531C: MPIDI_CH3I_Progress (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805A349: MPIC_Wait (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805A5BA: MPIC_Sendrecv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8059CB3: MPIR_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805A149: PMPI_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x804E971: void boost::mpi::detail::all_gather_impl >(boost::mpi::communicator const&, std::pair const*, int, std::pair*, mpl_::bool_) (all_gather.hpp:31) ==8935== by 0x804E9FF: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const*, int, std::pair*) (all_gather.hpp:71) ==8935== by 0x804EA6D: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const&, std::vector, std::allocator > >&) (all_gather.hpp:64) ==8935== by 0x804A170: main (test_all_gather.cpp:19) ==8935== Address 0x402DF90 is 32 bytes inside a block of size 72 alloc'd ==8935== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==8935== by 0x80708FC: MPIDI_CH3I_Sock_connect (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8070B1A: MPIDI_CH3I_VC_post_sockconnect (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x808FB01: MPIDI_CH3_iSendv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806A8F9: MPIDI_CH3_EagerContigIsend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806CAC6: MPID_Isend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805A5A9: MPIC_Sendrecv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8059CB3: MPIR_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805A149: PMPI_Allgather (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x804E971: void boost::mpi::detail::all_gather_impl >(boost::mpi::communicator const&, std::pair const*, int, std::pair*, mpl_::bool_) (all_gather.hpp:31) ==8935== by 0x804E9FF: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const*, int, std::pair*) (all_gather.hpp:71) ==8935== by 0x804EA6D: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const&, std::vector, std::allocator > >&) (all_gather.hpp:64) ==8935== ==8935== Syscall param write(buf) points to uninitialised byte(s) ==8935== at 0xC8BD73: __write_nocancel (in /lib/libpthread-2.5.so) ==8935== by 0x808F70B: MPIDI_CH3_iSend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806CA6D: MPID_Isend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805A5A9: MPIC_Sendrecv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8058260: MPIR_Barrier (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x80585B7: PMPI_Barrier (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806BD58: MPID_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8060F8E: PMPI_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8051D44: boost::mpi::environment::~environment() (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x804A1C1: main (test_all_gather.cpp:21) ==8935== Address 0xBEBDB28C is on thread 1's stack ==8934== ==8934== Syscall param write(buf) points to uninitialised byte(s) ==8934== at 0xC8BD73: __write_nocancel (in /lib/libpthread-2.5.so) ==8934== by 0x808F70B: MPIDI_CH3_iSend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806CA6D: MPID_Isend (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805A5A9: MPIC_Sendrecv (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8058260: MPIR_Barrier (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x80585B7: PMPI_Barrier (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806BD58: MPID_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8060F8E: PMPI_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8051D44: boost::mpi::environment::~environment() (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x804A1C1: main (test_all_gather.cpp:21) ==8934== Address 0xBE99B28C is on thread 1's stack ==8935== ==8935== Syscall param write(buf) points to uninitialised byte(s) ==8935== at 0xC8BD73: __write_nocancel (in /lib/libpthread-2.5.so) ==8935== by 0x809027D: MPIDI_CH3_iStartMsg (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8091764: MPIDI_CH3U_VC_SendClose (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806EFB1: MPIDI_PG_Close_VCs (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806BDCE: MPID_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8060F8E: PMPI_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8051D44: boost::mpi::environment::~environment() (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x804A1C1: main (test_all_gather.cpp:21) ==8935== Address 0xBEBDB328 is on thread 1's stack ==8934== ==8934== Syscall param write(buf) points to uninitialised byte(s) ==8934== at 0xC8BD73: __write_nocancel (in /lib/libpthread-2.5.so) ==8934== by 0x809027D: MPIDI_CH3_iStartMsg (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8091764: MPIDI_CH3U_VC_SendClose (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806EFB1: MPIDI_PG_Close_VCs (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806BDCE: MPID_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8060F8E: PMPI_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8051D44: boost::mpi::environment::~environment() (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x804A1C1: main (test_all_gather.cpp:21) ==8934== Address 0xBE99B328 is on thread 1's stack ==8935== ==8935== Syscall param write(buf) points to uninitialised byte(s) ==8935== at 0xC8BD73: __write_nocancel (in /lib/libpthread-2.5.so) ==8935== by 0x809027D: MPIDI_CH3_iStartMsg (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x809185B: MPIDI_CH3_PktHandler_Close (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x80650E7: MPIDI_CH3I_Progress_handle_sock_event (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x80652E7: MPIDI_CH3I_Progress (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x80916FC: MPIDI_CH3U_VC_WaitForClose (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x806BDD3: MPID_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8060F8E: PMPI_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8051D44: boost::mpi::environment::~environment() (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x804A1C1: main (test_all_gather.cpp:21) ==8935== Address 0xBEBDB278 is on thread 1's stack ==8934== ==8934== Syscall param write(buf) points to uninitialised byte(s) ==8934== at 0xC8BD73: __write_nocancel (in /lib/libpthread-2.5.so) ==8934== by 0x809027D: MPIDI_CH3_iStartMsg (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x809185B: MPIDI_CH3_PktHandler_Close (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x80650E7: MPIDI_CH3I_Progress_handle_sock_event (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x80652E7: MPIDI_CH3I_Progress (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x80916FC: MPIDI_CH3U_VC_WaitForClose (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x806BDD3: MPID_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8060F8E: PMPI_Finalize (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8051D44: boost::mpi::environment::~environment() (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x804A1C1: main (test_all_gather.cpp:21) ==8934== Address 0xBE99B278 is on thread 1's stack ==8935== ==8935== ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 17 from 1) ==8935== malloc/free: in use at exit: 116 bytes in 3 blocks. ==8935== malloc/free: 74 allocs, 71 frees, 34,245 bytes allocated. ==8935== For counts of detected errors, rerun with: -v ==8935== searching for pointers to 3 not-freed blocks. ==8934== ==8934== ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 17 from 1) ==8934== malloc/free: in use at exit: 116 bytes in 3 blocks. ==8934== malloc/free: 74 allocs, 71 frees, 34,245 bytes allocated. ==8934== For counts of detected errors, rerun with: -v ==8934== searching for pointers to 3 not-freed blocks. ==8935== checked 203,820 bytes. ==8935== ==8935== ==8935== 44 bytes in 1 blocks are still reachable in loss record 1 of 2 ==8935== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==8935== by 0x807AD70: MPID_Datatype_set_contents (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805D66C: PMPI_Type_struct (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x804E784: boost::mpi::detail::mpi_datatype_primitive::get_mpi_datatype() (mpi_datatype_primitive.hpp:75) ==8935== by 0x804E8A7: int boost::mpi::detail::mpi_datatype_map::datatype >(std::pair const&, boost::disable_if >, void>::type*) (mpi_datatype_cache.hpp:76) ==8935== by 0x804E91D: int boost::mpi::get_mpi_datatype >(std::pair const&) (datatype.hpp:185) ==8935== by 0x804E931: void boost::mpi::detail::all_gather_impl >(boost::mpi::communicator const&, std::pair const*, int, std::pair*, mpl_::bool_) (all_gather.hpp:30) ==8935== by 0x804E9FF: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const*, int, std::pair*) (all_gather.hpp:71) ==8935== by 0x804EA6D: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const&, std::vector, std::allocator > >&) (all_gather.hpp:64) ==8935== by 0x804A170: main (test_all_gather.cpp:19) ==8935== ==8935== ==8935== 72 bytes in 2 blocks are still reachable in loss record 2 of 2 ==8935== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==8935== by 0x80714E3: MPID_Dataloop_alloc_and_copy (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8071695: MPID_Dataloop_alloc (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8098DEB: MPID_Dataloop_create_contiguous (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8099CCC: MPID_Dataloop_create_indexed (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x809A5F9: MPID_Dataloop_create_struct (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x8098622: MPID_Dataloop_create (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x807A2EF: MPID_Type_commit (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x805D4FA: PMPI_Type_commit (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8935== by 0x804E7EC: boost::mpi::detail::mpi_datatype_primitive::get_mpi_datatype() (mpi_datatype_primitive.hpp:84) ==8935== by 0x804E8A7: int boost::mpi::detail::mpi_datatype_map::datatype >(std::pair const&, boost::disable_if >, void>::type*) (mpi_datatype_cache.hpp:76) ==8935== by 0x804E91D: int boost::mpi::get_mpi_datatype >(std::pair const&) (datatype.hpp:185) ==8935== ==8935== LEAK SUMMARY: ==8935== definitely lost: 0 bytes in 0 blocks. ==8935== possibly lost: 0 bytes in 0 blocks. ==8935== still reachable: 116 bytes in 3 blocks. ==8935== suppressed: 0 bytes in 0 blocks. ==8934== checked 203,820 bytes. ==8934== ==8934== ==8934== 44 bytes in 1 blocks are still reachable in loss record 1 of 2 ==8934== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==8934== by 0x807AD70: MPID_Datatype_set_contents (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805D66C: PMPI_Type_struct (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x804E784: boost::mpi::detail::mpi_datatype_primitive::get_mpi_datatype() (mpi_datatype_primitive.hpp:75) ==8934== by 0x804E8A7: int boost::mpi::detail::mpi_datatype_map::datatype >(std::pair const&, boost::disable_if >, void>::type*) (mpi_datatype_cache.hpp:76) ==8934== by 0x804E91D: int boost::mpi::get_mpi_datatype >(std::pair const&) (datatype.hpp:185) ==8934== by 0x804E931: void boost::mpi::detail::all_gather_impl >(boost::mpi::communicator const&, std::pair const*, int, std::pair*, mpl_::bool_) (all_gather.hpp:30) ==8934== by 0x804E9FF: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const*, int, std::pair*) (all_gather.hpp:71) ==8934== by 0x804EA6D: void boost::mpi::all_gather >(boost::mpi::communicator const&, std::pair const&, std::vector, std::allocator > >&) (all_gather.hpp:64) ==8934== by 0x804A170: main (test_all_gather.cpp:19) ==8934== ==8934== ==8934== 72 bytes in 2 blocks are still reachable in loss record 2 of 2 ==8934== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==8934== by 0x80714E3: MPID_Dataloop_alloc_and_copy (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8071695: MPID_Dataloop_alloc (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8098DEB: MPID_Dataloop_create_contiguous (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8099CCC: MPID_Dataloop_create_indexed (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x809A5F9: MPID_Dataloop_create_struct (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x8098622: MPID_Dataloop_create (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x807A2EF: MPID_Type_commit (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x805D4FA: PMPI_Type_commit (in /home/destefano/test/c++/boost/mpi/all_gather/test_all_gather) ==8934== by 0x804E7EC: boost::mpi::detail::mpi_datatype_primitive::get_mpi_datatype() (mpi_datatype_primitive.hpp:84) ==8934== by 0x804E8A7: int boost::mpi::detail::mpi_datatype_map::datatype >(std::pair const&, boost::disable_if >, void>::type*) (mpi_datatype_cache.hpp:76) ==8934== by 0x804E91D: int boost::mpi::get_mpi_datatype >(std::pair const&) (datatype.hpp:185) ==8934== ==8934== LEAK SUMMARY: ==8934== definitely lost: 0 bytes in 0 blocks. ==8934== possibly lost: 0 bytes in 0 blocks. ==8934== still reachable: 116 bytes in 3 blocks. ==8934== suppressed: 0 bytes in 0 blocks.