[Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Fri Apr 16 00:43:13 PDT 2010
http://www.nsnam.org/bugzilla/show_bug.cgi?id=802
--- Comment #7 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr> 2010-04-16 03:43:13 EDT ---
the later crash appears to come from some minstrel bugs. i.e.,
MinstrelWifiManager::InitSampleTable initializes the sample table on line 787:
station->m_sampleTable[newIndex][col] = i+1;
Note the '+1' above: it sets an index in the sample table equal to
GetNSupported (station) which leads GetNextSample later to return this invalid
index in the minstrelTable.
Removing the '+1' or adding a (i+1)%GetNSupported(station) makes the code not
crash for me.
I guess that this is something for duy to look at now.
--
Configure bugmail: http://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