[Ns-bugs] [Bug 381] Wifi crashes on shutdown
code at nsnam.ece.gatech.edu
Tue Jul 7 05:22:15 PDT 2009
--- Comment #3 from Nicola Baldo <nbaldo at cttc.es> 2009-07-07 08:22:15 EDT ---
(In reply to comment #1)
> Created an attachment (id=434)
--> (http://www.nsnam.org/bugzilla/attachment.cgi?id=434) [details]
> I have observed the following problem: DcaTxop destroys first, and Mac-Low
> destroys second. Running DoDispose of MacLow, we call CancellAllEvents(), which
> sometimes (if one of events is running) calls m_listnerer->Cancel() and catches
> segmentation fault. The solution of this problem is to add "m_listener = 0;"
> before CancelAllEvents in destructor.
I get the impression that this might not be the desired fix.
With this proposed solution, m_listener->Cancel () is never executed. This of
course makes the error disappear, but I am not sure if it is the intended
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs