[Ns-bugs] [Bug 134] New: TCP code leaks memory

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Wed Feb 6 12:44:46 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=134

           Summary: TCP code leaks memory
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: internet-node
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: raj.b at gatech.edu


Test case:
./waf --run=tcp-small-transfer --command-template="valgrind --tool=memcheck
--leak-check=full --show-reachable=yes --db-attach=yes %s"

Some of the leaks seem to be related to sloppy management of new temporary
PendingData buffers and calls to PendingData::CopyFromSeq.  One possible
solution is to have this method return a Packet instead of a raw PendingData*.

Another leak seems to be related to the simulator and scheduling/canceling of
the retransmission event (possibly related to bug 132?)


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list