Bug 2334

Summary: assert failure on Ipv[4,6]AddressHelper without tc
Product: ns-3 Reporter: Hajime Tazaki <tazaki>
Component: internetAssignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: critical CC: ns-bugs, tomh
Priority: P5    
Version: pre-release   
Hardware: PC   
OS: Linux   

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