Bugzilla – Full Text Bug Listing |
Summary: | Function logging causing assert in wireless examples | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Josh Pelkey <jpelkey> |
Component: | wifi | Assignee: | ns-bugs <ns-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mk.banchi |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All |
Description
Josh Pelkey
2010-02-13 14:57:21 UTC
I've tracked this down to a recent change in dca-txop.cc, http://code.nsnam.org/ns-3-dev/diff/dba5c9b69c3b/src/devices/wifi/dca-txop.cc Specifically, the issue is with #define NS_LOG_APPEND_CONTEXT std::clog << "[mac=" << m_low->GetAddress () << "] "; That m_low looks to be null at some point and is causing a seg. fault. I'm not 100% sure what is trying to be accomplished, so I can't really make a patch. I've CC'd the author of the change though, so that hopefully this bug can be resolved. Thank you very much Josh!I'll try to fix it very soon. I have made a new changeset for this bug in ns-3-dev. Now all should run fine. Let me know Josh. Thank you again. |