[Ns-developers] BuildBot valgrind errror
craigdo@ee.washington.edu
craigdo at ee.washington.edu
Tue Jun 30 10:39:04 PDT 2009
> It looks like there is a problem in running valgrind tests,
> it detects
> that a variable is used in a conditional statement and might not have
> been initialized.
> This is detected in traced-value.h line 103:
> void Set (const T &v) {
> if (m_v != v) <- in this line
> {
> m_cb (m_v, v);
> m_v = v;
> }
> }
This is a real although transient and harmless uninitialized variable that
happened during attribute initialization.
There are two interacting Attributes used to initialize a traced value in
tcp socket. The two Attributes just needed to be initialized to something
(0) to prevent valgrind from correctly detecting that there was a transient
situation where the traced value got information from one of the
uninitialized attribute values when setting the other.
Fixed: d132345b3e10
Apparently I ran valgrind on the wrong repo before I checked it in ...
Sorry about this. I know it can cause fear and loathing at this late state
in the process ...
-- Craig
More information about the Ns-developers
mailing list