Bug 2334 - assert failure on Ipv[4,6]AddressHelper without tc
assert failure on Ipv[4,6]AddressHelper without tc
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
pre-release
PC Linux
: P5 critical
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-10 21:08 UTC by Hajime Tazaki
Modified: 2016-03-11 10:41 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hajime Tazaki 2016-03-10 21:08:13 UTC
follow up changes to the following commit:

http://code.nsnam.org/ns-3-dev/rev/202a75c48dfc

Ipv6Helper also seems to be required of this fix. DCE currently faces with this issue and I'm not sure whether this assumption (tc installed) is mandatory or not.

assert failed. cond="tc", msg="Ipv6AddressHelper::Assign(): NetDevice is associatedwith a node without the Traffic Control layer installed", file=../src/internet/helper/ipv6-address-helper.cc, line=150
terminate called without an active exception
Aborted (core dumped)
Comment 1 Tommaso Pecorella 2016-03-11 10:08:07 UTC
The assert is also in Ipv4AddressHelper::Assign

      Ptr<TrafficControlLayer> tc = node->GetObject<TrafficControlLayer> ();

      NS_ASSERT_MSG (tc, "Ipv4AddressHelper::Assign(): NetDevice is associated"
                     "with a node without the Traffic Control layer installed");
Comment 2 Tom Henderson 2016-03-11 10:41:50 UTC
pushed in changeset c0326015e912