==28938== Memcheck, a memory error detector. ==28938== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==28938== Using LibVEX rev 1804, a library for dynamic binary translation. ==28938== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==28938== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==28938== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==28938== For more details, rerun with: -v ==28938== ==28938== ==28938== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1) ==28938== malloc/free: in use at exit: 0 bytes in 0 blocks. ==28938== malloc/free: 88,509 allocs, 88,509 frees, 3,536,062 bytes allocated. ==28938== For counts of detected errors, rerun with: -v ==28938== All heap blocks were freed -- no leaks are possible. ==28974== Memcheck, a memory error detector. ==28974== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==28974== Using LibVEX rev 1804, a library for dynamic binary translation. ==28974== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==28974== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==28974== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==28974== For more details, rerun with: -v ==28974== ==28974== Invalid write of size 1 ==28974== at 0x52345BD: ns3::TagBuffer::Read(unsigned char*, unsigned) (tag-buffer.cc:166) ==28974== by 0x52669D6: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:325) ==28974== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==28974== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==28974== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==28974== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==28974== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==28974== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==28974== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==28974== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==28974== Address 0xb2fe1de is 0 bytes after a block of size 6 alloc'd ==28974== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==28974== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==28974== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==28974== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==28974== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==28974== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==28974== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==28974== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==28974== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==28974== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==28974== ==28974== Invalid read of size 1 ==28974== at 0x4C250A8: memcpy (mc_replace_strmem.c:402) ==28974== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==28974== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==28974== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==28974== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==28974== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==28974== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==28974== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==28974== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==28974== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==28974== Address 0xb2fe1df is 1 bytes after a block of size 6 alloc'd ==28974== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==28974== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==28974== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==28974== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==28974== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==28974== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==28974== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==28974== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==28974== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==28974== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==28974== ==28974== Invalid read of size 1 ==28974== at 0x4C250B1: memcpy (mc_replace_strmem.c:402) ==28974== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==28974== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==28974== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==28974== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==28974== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==28974== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==28974== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==28974== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==28974== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==28974== Address 0xb2fe1de is 0 bytes after a block of size 6 alloc'd ==28974== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==28974== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==28974== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==28974== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==28974== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==28974== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==28974== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==28974== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==28974== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==28974== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==28974== ==28974== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 8 from 1) ==28974== malloc/free: in use at exit: 0 bytes in 0 blocks. ==28974== malloc/free: 4,886 allocs, 4,886 frees, 355,629 bytes allocated. ==28974== For counts of detected errors, rerun with: -v ==28974== All heap blocks were freed -- no leaks are possible. ==28981== Memcheck, a memory error detector. ==28981== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==28981== Using LibVEX rev 1804, a library for dynamic binary translation. ==28981== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==28981== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==28981== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==28981== For more details, rerun with: -v ==28981== ==28981== ==28981== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1) ==28981== malloc/free: in use at exit: 0 bytes in 0 blocks. ==28981== malloc/free: 141,605 allocs, 141,605 frees, 5,561,049 bytes allocated. ==28981== For counts of detected errors, rerun with: -v ==28981== All heap blocks were freed -- no leaks are possible. ==29014== Memcheck, a memory error detector. ==29014== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==29014== Using LibVEX rev 1804, a library for dynamic binary translation. ==29014== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==29014== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==29014== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==29014== For more details, rerun with: -v ==29014== ==29014== ==29014== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1) ==29014== malloc/free: in use at exit: 0 bytes in 0 blocks. ==29014== malloc/free: 110,737 allocs, 110,737 frees, 4,724,915 bytes allocated. ==29014== For counts of detected errors, rerun with: -v ==29014== All heap blocks were freed -- no leaks are possible. ==29038== Memcheck, a memory error detector. ==29038== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==29038== Using LibVEX rev 1804, a library for dynamic binary translation. ==29038== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==29038== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==29038== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==29038== For more details, rerun with: -v ==29038== ==29038== Invalid write of size 1 ==29038== at 0x52345BD: ns3::TagBuffer::Read(unsigned char*, unsigned) (tag-buffer.cc:166) ==29038== by 0x52669D6: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:325) ==29038== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29038== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29038== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29038== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29038== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29038== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29038== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29038== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29038== Address 0xb3107e6 is 0 bytes after a block of size 6 alloc'd ==29038== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29038== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29038== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29038== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29038== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29038== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29038== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29038== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29038== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29038== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29038== ==29038== Invalid read of size 1 ==29038== at 0x4C250A8: memcpy (mc_replace_strmem.c:402) ==29038== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29038== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29038== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29038== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29038== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29038== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29038== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29038== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29038== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29038== Address 0xb3107e7 is 1 bytes after a block of size 6 alloc'd ==29038== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29038== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29038== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29038== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29038== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29038== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29038== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29038== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29038== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29038== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29038== ==29038== Invalid read of size 1 ==29038== at 0x4C250B1: memcpy (mc_replace_strmem.c:402) ==29038== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29038== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29038== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29038== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29038== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29038== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29038== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29038== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29038== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29038== Address 0xb3107e6 is 0 bytes after a block of size 6 alloc'd ==29038== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29038== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29038== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29038== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29038== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29038== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29038== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29038== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29038== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29038== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29038== ==29038== ERROR SUMMARY: 9476 errors from 3 contexts (suppressed: 8 from 1) ==29038== malloc/free: in use at exit: 0 bytes in 0 blocks. ==29038== malloc/free: 164,565 allocs, 164,565 frees, 6,099,918 bytes allocated. ==29038== For counts of detected errors, rerun with: -v ==29038== All heap blocks were freed -- no leaks are possible. ==29069== Memcheck, a memory error detector. ==29069== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==29069== Using LibVEX rev 1804, a library for dynamic binary translation. ==29069== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==29069== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==29069== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==29069== For more details, rerun with: -v ==29069== ==29069== Invalid write of size 1 ==29069== at 0x52345BD: ns3::TagBuffer::Read(unsigned char*, unsigned) (tag-buffer.cc:166) ==29069== by 0x52669D6: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:325) ==29069== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29069== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29069== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29069== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29069== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29069== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29069== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29069== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29069== Address 0xb30231e is 0 bytes after a block of size 6 alloc'd ==29069== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29069== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29069== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29069== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29069== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29069== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29069== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29069== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29069== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29069== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29069== ==29069== Invalid read of size 1 ==29069== at 0x4C250A8: memcpy (mc_replace_strmem.c:402) ==29069== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29069== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29069== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29069== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29069== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29069== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29069== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29069== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29069== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29069== Address 0xb30231f is 1 bytes after a block of size 6 alloc'd ==29069== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29069== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29069== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29069== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29069== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29069== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29069== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29069== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29069== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29069== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29069== ==29069== Invalid read of size 1 ==29069== at 0x4C250B1: memcpy (mc_replace_strmem.c:402) ==29069== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29069== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29069== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29069== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29069== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29069== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29069== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29069== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29069== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29069== Address 0xb30231e is 0 bytes after a block of size 6 alloc'd ==29069== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29069== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29069== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29069== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29069== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29069== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29069== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29069== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29069== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29069== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29069== ==29069== ERROR SUMMARY: 19060 errors from 3 contexts (suppressed: 8 from 1) ==29069== malloc/free: in use at exit: 0 bytes in 0 blocks. ==29069== malloc/free: 219,829 allocs, 219,829 frees, 7,858,782 bytes allocated. ==29069== For counts of detected errors, rerun with: -v ==29069== All heap blocks were freed -- no leaks are possible. ==29109== Memcheck, a memory error detector. ==29109== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==29109== Using LibVEX rev 1804, a library for dynamic binary translation. ==29109== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==29109== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==29109== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==29109== For more details, rerun with: -v ==29109== ==29109== Invalid write of size 1 ==29109== at 0x52345BD: ns3::TagBuffer::Read(unsigned char*, unsigned) (tag-buffer.cc:166) ==29109== by 0x52669D6: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:325) ==29109== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29109== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29109== by 0x5339FA1: ns3::olsr::AgentImpl::RecvOlsr(ns3::Ptr) (olsr-agent-impl.cc:316) ==29109== by 0x534A3A5: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29109== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29109== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29109== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29109== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29109== Address 0xb31d62e is 0 bytes after a block of size 6 alloc'd ==29109== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29109== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29109== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29109== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29109== by 0x5339FA1: ns3::olsr::AgentImpl::RecvOlsr(ns3::Ptr) (olsr-agent-impl.cc:316) ==29109== by 0x534A3A5: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29109== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29109== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29109== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29109== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29109== ==29109== Invalid read of size 1 ==29109== at 0x4C250A8: memcpy (mc_replace_strmem.c:402) ==29109== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29109== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29109== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29109== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29109== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29109== by 0x5339FA1: ns3::olsr::AgentImpl::RecvOlsr(ns3::Ptr) (olsr-agent-impl.cc:316) ==29109== by 0x534A3A5: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29109== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29109== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29109== Address 0xb31d62f is 1 bytes after a block of size 6 alloc'd ==29109== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29109== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29109== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29109== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29109== by 0x5339FA1: ns3::olsr::AgentImpl::RecvOlsr(ns3::Ptr) (olsr-agent-impl.cc:316) ==29109== by 0x534A3A5: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29109== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29109== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29109== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29109== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29109== ==29109== Invalid read of size 1 ==29109== at 0x4C250B1: memcpy (mc_replace_strmem.c:402) ==29109== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29109== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29109== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29109== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29109== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29109== by 0x5339FA1: ns3::olsr::AgentImpl::RecvOlsr(ns3::Ptr) (olsr-agent-impl.cc:316) ==29109== by 0x534A3A5: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29109== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29109== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29109== Address 0xb31d62e is 0 bytes after a block of size 6 alloc'd ==29109== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29109== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29109== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29109== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29109== by 0x5339FA1: ns3::olsr::AgentImpl::RecvOlsr(ns3::Ptr) (olsr-agent-impl.cc:316) ==29109== by 0x534A3A5: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29109== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29109== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29109== by 0x52C7C46: ns3::UdpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (udp-socket-impl.cc:432) ==29109== by 0x52CCAB5: ns3::MemPtrCallbackImpl, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29109== ==29109== ERROR SUMMARY: 4368 errors from 3 contexts (suppressed: 8 from 1) ==29109== malloc/free: in use at exit: 0 bytes in 0 blocks. ==29109== malloc/free: 80,324 allocs, 80,324 frees, 3,442,450 bytes allocated. ==29109== For counts of detected errors, rerun with: -v ==29109== All heap blocks were freed -- no leaks are possible. ==29128== Memcheck, a memory error detector. ==29128== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==29128== Using LibVEX rev 1804, a library for dynamic binary translation. ==29128== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==29128== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==29128== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==29128== For more details, rerun with: -v ==29128== ==29128== Conditional jump or move depends on uninitialised value(s) ==29128== at 0x52D2177: ns3::TcpSocketImpl::CommonNewAck(SequenceNumber, bool) (tcp-socket-impl.cc:1144) ==29128== by 0x52DB3B5: ns3::TcpSocketImpl::ProcessPacketAction(ns3::Actions_t, ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:823) ==29128== by 0x52DD56B: ns3::TcpSocketImpl::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (tcp-socket-impl.cc:522) ==29128== by 0x52E1E56: ns3::MemPtrCallbackImpl, void (ns3::TcpSocketImpl::*)(ns3::Ptr, ns3::Ipv4Address, unsigned short), void, ns3::Ptr, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) (callback.h:208) ==29128== by 0x529FBA7: ns3::Callback, ns3::Ipv4Address, unsigned short, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr, ns3::Ipv4Address, unsigned short) const (callback.h:373) ==29128== by 0x529F982: ns3::Ipv4EndPoint::ForwardUp(ns3::Ptr, ns3::Ipv4Address, unsigned short) (ipv4-end-point.cc:91) ==29128== by 0x52A4911: ns3::TcpL4Protocol::Receive(ns3::Ptr, ns3::Ipv4Address const&, ns3::Ipv4Address const&, ns3::Ptr) (tcp-l4-protocol.cc:468) ==29128== by 0x528ACD2: ns3::Ipv4L3Protocol::ForwardUp(ns3::Ptr, ns3::Ipv4Header const&, ns3::Ptr) (ipv4-l3-protocol.cc:677) ==29128== by 0x528EDD4: ns3::Ipv4L3Protocol::Receive(ns3::Ptr, ns3::Ptr, unsigned short, ns3::Address const&) (ipv4-l3-protocol.cc:471) ==29128== by 0x527CA97: ns3::MemPtrCallbackImpl, ns3::Ptr, unsigned short, ns3::Address const&), void, ns3::Ptr, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::Address const&>::operator()(ns3::Ptr, ns3::Ptr, unsigned short, ns3::Address const&) (callback.h:211) ==29128== ==29128== Invalid write of size 1 ==29128== at 0x52345BD: ns3::TagBuffer::Read(unsigned char*, unsigned) (tag-buffer.cc:166) ==29128== by 0x52669D6: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:325) ==29128== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29128== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29128== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29128== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29128== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29128== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29128== by 0x52DBB9D: ns3::TcpSocketImpl::NewRx(ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:1012) ==29128== by 0x52DA863: ns3::TcpSocketImpl::ProcessPacketAction(ns3::Actions_t, ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:769) ==29128== Address 0xb2a4e6e is 0 bytes after a block of size 6 alloc'd ==29128== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29128== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29128== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29128== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29128== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29128== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29128== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29128== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29128== by 0x52DBB9D: ns3::TcpSocketImpl::NewRx(ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:1012) ==29128== by 0x52DA863: ns3::TcpSocketImpl::ProcessPacketAction(ns3::Actions_t, ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:769) ==29128== ==29128== Invalid read of size 1 ==29128== at 0x4C250A8: memcpy (mc_replace_strmem.c:402) ==29128== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29128== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29128== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29128== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29128== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29128== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29128== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29128== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29128== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29128== Address 0xb2a4e6f is 1 bytes after a block of size 6 alloc'd ==29128== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29128== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29128== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29128== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29128== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29128== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29128== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29128== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29128== by 0x52DBB9D: ns3::TcpSocketImpl::NewRx(ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:1012) ==29128== by 0x52DA863: ns3::TcpSocketImpl::ProcessPacketAction(ns3::Actions_t, ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:769) ==29128== ==29128== Invalid read of size 1 ==29128== at 0x4C250B1: memcpy (mc_replace_strmem.c:402) ==29128== by 0x52423C8: ns3::Address::Address(unsigned char, unsigned char const*, unsigned char) (address.cc:21) ==29128== by 0x5242403: ns3::Address::Deserialize(unsigned char const*) (address.cc:131) ==29128== by 0x52669E3: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:326) ==29128== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29128== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29128== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29128== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29128== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29128== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29128== Address 0xb2a4e6e is 0 bytes after a block of size 6 alloc'd ==29128== at 0x4C23487: operator new[](unsigned long) (vg_replace_malloc.c:274) ==29128== by 0x5266993: ns3::SocketRxAddressTag::Deserialize(ns3::TagBuffer) (socket.cc:321) ==29128== by 0x522658B: ns3::TagIterator::Item::GetTag(ns3::Tag&) const (packet.cc:49) ==29128== by 0x5228BD4: ns3::Packet::FindFirstMatchingTag(ns3::Tag&) const (packet.cc:491) ==29128== by 0x5312AE0: ns3::PacketSink::HandleRead(ns3::Ptr) (packet-sink.cc:110) ==29128== by 0x531618F: ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) (callback.h:202) ==29128== by 0x52697CF: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()(ns3::Ptr) const (callback.h:367) ==29128== by 0x526724F: ns3::Socket::NotifyDataRecv() (socket.cc:260) ==29128== by 0x52DBB9D: ns3::TcpSocketImpl::NewRx(ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:1012) ==29128== by 0x52DA863: ns3::TcpSocketImpl::ProcessPacketAction(ns3::Actions_t, ns3::Ptr, ns3::TcpHeader const&, ns3::Address const&) (tcp-socket-impl.cc:769) ==29128== ==29128== ERROR SUMMARY: 14929 errors from 4 contexts (suppressed: 8 from 1) ==29128== malloc/free: in use at exit: 0 bytes in 0 blocks. ==29128== malloc/free: 284,980 allocs, 284,980 frees, 1,946,675,688 bytes allocated. ==29128== For counts of detected errors, rerun with: -v ==29128== All heap blocks were freed -- no leaks are possible. ==29204== Memcheck, a memory error detector. ==29204== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==29204== Using LibVEX rev 1804, a library for dynamic binary translation. ==29204== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==29204== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==29204== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==29204== For more details, rerun with: -v ==29204== ==29204== ==29204== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1) ==29204== malloc/free: in use at exit: 0 bytes in 0 blocks. ==29204== malloc/free: 3,969 allocs, 3,969 frees, 282,630 bytes allocated. ==29204== For counts of detected errors, rerun with: -v ==29204== All heap blocks were freed -- no leaks are possible. Entering directory `/home/gjc/projects/ns-3/ns-3-dev/build' Compilation finished successfully ========== Running Regression Tests ========== Synchronizing reference traces using Mercurial. Done. PASS test-csma-broadcast PASS test-csma-multicast PASS test-csma-one-subnet PASS test-csma-packet-socket PASS test-simple-error-model PASS test-simple-global-routing PASS test-simple-point-to-point-olsr PASS test-tcp-large-transfer PASS test-udp-echo