|
Bugzilla – Full Text Bug Listing |
| Summary: | tcp valgrind errors due to rtt estimator changes | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
| Component: | tcp | Assignee: | Adrian S.-W. Tam <adrian.sw.tam> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Tom Henderson
2012-03-27 16:50:41 UTC
Well, I have some evidence now that this is an artifact of some memory errors in the rtt estimator as patched recently for bug 1351. There are uninitialized conditional jump/move events that could account for the behavior observed. I am working on this. I double checked RTT estimation code and it seems to be ok. Maybe (just a hint) it's some dirty memory overlapping with RTEstimation. T. One thing I noticed (dunno if it's important, maybe):
RttEstimator::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::RttEstimator")
.SetParent<Object> ()
[...]
The line:
.AddConstructor<RttEstimator> ()
is missing.
I don't know if it's important and the outcomes of this.
T.
These valgrind issues were fixed in 6c1a7055aeba. However, RTTEstimator class still needs some unit testing. I will close this and open a separate issue. |