[Ns-bugs] [Bug 1336] New: RocketFuelTopologyReader valgrind errors

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Jan 5 14:34:34 PST 2012


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1336

           Summary: RocketFuelTopologyReader valgrind errors
           Product: ns-3
           Version: pre-release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: topology-read
        AssignedTo: tommaso.pecorella at unifi.it
        ReportedBy: jabraham3 at mail.gatech.edu
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


See full log at
https://ns-buildmaster.ee.washington.edu:8010/job/Ubuntu-32-10.04/label=Ubuntu-32-10.04/3/consoleFull

brief log:
==18461== Invalid read of size 4
==18461==    at 0x616383B: ??? (in /lib/tls/i686/cmov/libc-2.11.1.so)
==18461==    by 0x58DCE6C: ns3::RocketfuelTopologyReader::Read()
(rocketfuel-topology-reader.cc:377)
==18461==    by 0x58BB0B3: ns3::RocketfuelTopologyReaderTest::DoRun()
(rocketfuel-topology-reader-test-suite.cc:63)
==18461==    by 0x5DD1846: ns3::TestCase::Run(ns3::TestRunnerImpl*)
(test.cc:207)
==18461==    by 0x5DD17EC: ns3::TestCase::Run(ns3::TestRunnerImpl*)
(test.cc:201)
==18461==    by 0x5DD4944: ns3::TestRunnerImpl::Run(int, char**) (test.cc:785)
==18461==    by 0x5DD4AF0: ns3::TestRunner::Run(int, char**) (test.cc:808)
==18461==    by 0x8048B4E: main (test-runner.cc:23)
==18461==  Address 0x635cee8 is 48 bytes inside a block of size 49 alloc'd
==18461==    at 0x4027C13: operator new(unsigned int) (vg_replace_malloc.c:282)
==18461==    by 0x6032D05: std::string::_Rep::_S_create(unsigned int, unsigned
int, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==18461==    by 0x6033977: std::string::_Rep::_M_clone(std::allocator<char>
const&, unsigned int) (in /usr/lib/libstdc++.so.6.0.13)
==18461==    by 0x60347AC: std::string::reserve(unsigned int) (in
/usr/lib/libstdc++.so.6.0.13)
==18461==    by 0x6034A1A: std::string::append(char const*, unsigned int) (in
/usr/lib/libstdc++.so.6.0.13)
==18461==    by 0x600F33E: std::basic_istream<char, std::char_traits<char> >&
std::getline<char, std::char_traits<char>, std::allocator<char>
>(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, char) (in
/usr/lib/libstdc++.so.6.0.13)
==18461==    by 0x6025B89: std::basic_istream<char, std::char_traits<char> >&
std::getline<char, std::char_traits<char>, std::allocator<char>
>(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&) (in
/usr/lib/libstdc++.so.6.0.13)
==18461==    by 0x58DC951: ns3::RocketfuelTopologyReader::Read()
(rocketfuel-topology-reader.cc:333)
==18461==    by 0x58BB0B3: ns3::RocketfuelTopologyReaderTest::DoRun()
(rocketfuel-topology-reader-test-suite.cc:63)
==18461==    by 0x5DD1846: ns3::TestCase::Run(ns3::TestRunnerImpl*)
(test.cc:207)
==18461==    by 0x5DD17EC: ns3::TestCase::Run(ns3::TestRunnerImpl*)
(test.cc:201)
==18461==    by 0x5DD4944: ns3::TestRunnerImpl::Run(int, char**) (test.cc:785)
==18461== 
==18461== Conditional jump or move depends on uninitialised value(s)
==18461==    at 0x6163849: ??? (in /lib/tls/i686/cmov/libc-2.11.1.so)
==18461==    by 0x58DCE6C: ns3::RocketfuelTopologyReader::Read()
(rocketfuel-topology-reader.cc:377)
==18461==    by 0x58BB0B3: ns3::RocketfuelTopologyReaderTest::DoRun()
(rocketfuel-topology-reader-test-suite.cc:63)
==18461==    by 0x5DD1846: ns3::TestCase::Run(ns3::TestRunnerImpl*)
(test.cc:207)
==18461==    by 0x5DD17EC: ns3::TestCase::Run(ns3::TestRunnerImpl*)
(test.cc:201)
==18461==    by 0x5DD4944: ns3::TestRunnerImpl::Run(int, char**) (test.cc:785)
==18461==    by 0x5DD4AF0: ns3::TestRunner::Run(int, char**) (test.cc:808)
==18461==    by 0x8048B4E: main (test-runner.cc:23)

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list