[Ns-bugs] [Bug 381] Wifi crashes on shutdown

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Apr 29 02:05:33 PDT 2009


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





--- Comment #1 from Kirill V. Andreev <kirillano at yandex.ru>  2009-04-29 05:05:33 EDT ---
Created an attachment (id=434)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=434)
Wifi-failure

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.


-- 
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 mailing list