[Ns-commits] ns-3-dev: output of run-tests

tomhend@u.washington.edu tomhend at u.washington.edu
Wed Aug 1 22:18:33 PDT 2007


Wed Aug 1 22:15:01 PDT 2007

Regression testing for machine: ns-regression
Linux 2.6.20-1.2948.fc6 x86_64
----------------------------- 
SUCCESS: waf -d debug configure: run-tests passed on ns-3-dev 
SUCCESS: waf -d optimized configure: run-tests passed on ns-3-dev 

valgrind --leak-check=full output on ns-regression:

==32603== Memcheck, a memory error detector.
==32603== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==32603== Using LibVEX rev 1658, a library for dynamic binary translation.
==32603== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==32603== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==32603== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==32603== For more details, rerun with: -v
==32603== 
PASS ComponentManager
PASS DefaultValue
PASS RandomVariable
PASS Object
PASS Ptr
PASS Callback
PASS Int128
==32603== Invalid read of size 4
==32603==    at 0x4EC336B: ns3::SchedulerMap::RemoveNext() (scheduler-map.cc:123)
==32603==    by 0x4EC9CE2: ns3::SimulatorPrivate::ProcessOneEvent() (simulator.cc:141)
==32603==    by 0x4EC9E79: ns3::SimulatorPrivate::Run() (simulator.cc:182)
==32603==    by 0x4EC9FBE: ns3::Simulator::Run() (simulator.cc:396)
==32603==    by 0x4ECA1A2: ns3::SimulatorTests::RunOneTest() (simulator.cc:718)
==32603==    by 0x4ECA475: ns3::SimulatorTests::RunTests() (simulator.cc:744)
==32603==    by 0x4C53F2F: ns3::TestManager::RealRunTests() (test.cc:76)
==32603==    by 0x4C5430E: ns3::TestManager::RunTests() (test.cc:67)
==32603==    by 0x400760: main (run-tests.cc:28)
==32603==  Address 0x6202118 is 40 bytes inside a block of size 56 free'd
==32603==    at 0x4A051A0: operator delete(void*) (vg_replace_malloc.c:244)
==32603==    by 0x4EC4174: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::deallocate(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*, unsigned long) (new_allocator.h:94)
==32603==    by 0x4EC419C: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::_M_put_node(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*) (stl_tree.h:362)
==32603==    by 0x4EC41E7: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::destroy_node(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*) (stl_tree.h:392)
==32603==    by 0x4EC430D: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::erase(std::_Rb_tree_iterator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >) (stl_tree.h:1189)
==32603==    by 0x4EC4340: std::map<ns3::Scheduler::EventKey, ns3::EventImpl*, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::erase(std::_Rb_tree_iterator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >) (stl_map.h:446)
==32603==    by 0x4EC335D: ns3::SchedulerMap::RemoveNext() (scheduler-map.cc:122)
==32603==    by 0x4EC9CE2: ns3::SimulatorPrivate::ProcessOneEvent() (simulator.cc:141)
==32603==    by 0x4EC9E79: ns3::SimulatorPrivate::Run() (simulator.cc:182)
==32603==    by 0x4EC9FBE: ns3::Simulator::Run() (simulator.cc:396)
==32603==    by 0x4ECA1A2: ns3::SimulatorTests::RunOneTest() (simulator.cc:718)
==32603==    by 0x4ECA475: ns3::SimulatorTests::RunTests() (simulator.cc:744)
==32603== 
==32603== Invalid read of size 8
==32603==    at 0x4EC3378: ns3::SchedulerMap::RemoveNext() (scheduler-map.cc:123)
==32603==    by 0x4EC9CE2: ns3::SimulatorPrivate::ProcessOneEvent() (simulator.cc:141)
==32603==    by 0x4EC9E79: ns3::SimulatorPrivate::Run() (simulator.cc:182)
==32603==    by 0x4EC9FBE: ns3::Simulator::Run() (simulator.cc:396)
==32603==    by 0x4ECA1A2: ns3::SimulatorTests::RunOneTest() (simulator.cc:718)
==32603==    by 0x4ECA475: ns3::SimulatorTests::RunTests() (simulator.cc:744)
==32603==    by 0x4C53F2F: ns3::TestManager::RealRunTests() (test.cc:76)
==32603==    by 0x4C5430E: ns3::TestManager::RunTests() (test.cc:67)
==32603==    by 0x400760: main (run-tests.cc:28)
==32603==  Address 0x6202110 is 32 bytes inside a block of size 56 free'd
==32603==    at 0x4A051A0: operator delete(void*) (vg_replace_malloc.c:244)
==32603==    by 0x4EC4174: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::deallocate(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*, unsigned long) (new_allocator.h:94)
==32603==    by 0x4EC419C: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::_M_put_node(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*) (stl_tree.h:362)
==32603==    by 0x4EC41E7: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::destroy_node(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*) (stl_tree.h:392)
==32603==    by 0x4EC430D: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::erase(std::_Rb_tree_iterator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >) (stl_tree.h:1189)
==32603==    by 0x4EC4340: std::map<ns3::Scheduler::EventKey, ns3::EventImpl*, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::erase(std::_Rb_tree_iterator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >) (stl_map.h:446)
==32603==    by 0x4EC335D: ns3::SchedulerMap::RemoveNext() (scheduler-map.cc:122)
==32603==    by 0x4EC9CE2: ns3::SimulatorPrivate::ProcessOneEvent() (simulator.cc:141)
==32603==    by 0x4EC9E79: ns3::SimulatorPrivate::Run() (simulator.cc:182)
==32603==    by 0x4EC9FBE: ns3::Simulator::Run() (simulator.cc:396)
==32603==    by 0x4ECA1A2: ns3::SimulatorTests::RunOneTest() (simulator.cc:718)
==32603==    by 0x4ECA475: ns3::SimulatorTests::RunTests() (simulator.cc:744)
==32603== 
==32603== Invalid read of size 8
==32603==    at 0x4EC3384: ns3::SchedulerMap::RemoveNext() (scheduler-map.cc:123)
==32603==    by 0x4EC9CE2: ns3::SimulatorPrivate::ProcessOneEvent() (simulator.cc:141)
==32603==    by 0x4EC9E79: ns3::SimulatorPrivate::Run() (simulator.cc:182)
==32603==    by 0x4EC9FBE: ns3::Simulator::Run() (simulator.cc:396)
==32603==    by 0x4ECA1A2: ns3::SimulatorTests::RunOneTest() (simulator.cc:718)
==32603==    by 0x4ECA475: ns3::SimulatorTests::RunTests() (simulator.cc:744)
==32603==    by 0x4C53F2F: ns3::TestManager::RealRunTests() (test.cc:76)
==32603==    by 0x4C5430E: ns3::TestManager::RunTests() (test.cc:67)
==32603==    by 0x400760: main (run-tests.cc:28)
==32603==  Address 0x6202120 is 48 bytes inside a block of size 56 free'd
==32603==    at 0x4A051A0: operator delete(void*) (vg_replace_malloc.c:244)
==32603==    by 0x4EC4174: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::deallocate(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*, unsigned long) (new_allocator.h:94)
==32603==    by 0x4EC419C: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::_M_put_node(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*) (stl_tree.h:362)
==32603==    by 0x4EC41E7: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::destroy_node(std::_Rb_tree_node<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >*) (stl_tree.h:392)
==32603==    by 0x4EC430D: std::_Rb_tree<ns3::Scheduler::EventKey, std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*>, std::_Select1st<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::erase(std::_Rb_tree_iterator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >) (stl_tree.h:1189)
==32603==    by 0x4EC4340: std::map<ns3::Scheduler::EventKey, ns3::EventImpl*, ns3::SchedulerMap::EventKeyCompare, std::allocator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> > >::erase(std::_Rb_tree_iterator<std::pair<ns3::Scheduler::EventKey const, ns3::EventImpl*> >) (stl_map.h:446)
==32603==    by 0x4EC335D: ns3::SchedulerMap::RemoveNext() (scheduler-map.cc:122)
==32603==    by 0x4EC9CE2: ns3::SimulatorPrivate::ProcessOneEvent() (simulator.cc:141)
==32603==    by 0x4EC9E79: ns3::SimulatorPrivate::Run() (simulator.cc:182)
==32603==    by 0x4EC9FBE: ns3::Simulator::Run() (simulator.cc:396)
==32603==    by 0x4ECA1A2: ns3::SimulatorTests::RunOneTest() (simulator.cc:718)
==32603==    by 0x4ECA475: ns3::SimulatorTests::RunTests() (simulator.cc:744)
PASS Simulator
PASS Time
PASS CompositeTraceResolver
PASS CallbackTraceSource
PASS TraceContext
PASS VariableTracer
PASS Tags
PASS Packet
PASS PacketMetadata
PASS Buffer
==32603== 
==32603== ERROR SUMMARY: 240 errors from 3 contexts (suppressed: 5 from 1)
==32603== malloc/free: in use at exit: 0 bytes in 0 blocks.
==32603== malloc/free: 2,748 allocs, 2,748 frees, 806,790 bytes allocated.
==32603== For counts of detected errors, rerun with: -v
==32603== All heap blocks were freed -- no leaks are possible.


More information about the Ns-commits mailing list