Actions
Bug #1448
closednfd crash when trying to ping a multiple faces prefix using broadcast strategy.
Start date:
04/07/2014
Due date:
% Done:
100%
Estimated time:
Description
The way to reproduce:
(start nfd on nodes A & B)
$ build/bin/nfdc create udp://192.168.1.2
$ build/bin/nfdc create tcp://192.168.1.2
$ build/bin/nfdc add-nexthop ndn:/test-nfdc 7 10
$ build/bin/nfdc add-nexthop ndn:/test-nfdc 13 10
$ build/bin/nfdc set-strategy ndn:/ ndn:/localhost/nfd/strategy/broadcast
$ /ndn-tlv-ping/build/ndnping ndn:/test-nfdc -c 20
nfd: ../daemon/table/strategy-choice.cpp:172: nfd::fw::Strategy& nfd::StrategyChoice::findEffectiveStrategy(const nfd::pit::Entry&) const: Assertion `static_cast<bool>(nameTreeEntry)' failed.
IMPORTANT:
Doesn't happen when the prefix points to a single face (only a tcp4 face or a udp4 face). I was able to reproduce this bug only when I had more than one face attached to the prefix.
Actions