Bug #1420
closed
NccStrategy::beforeSatisfyPendingInterest crashes after runtime strategy change
Added by Hila Ben Abraham over 10 years ago.
Updated over 10 years ago.
Description
can be reproduced by:
$sudo env NFD_LOG=all build/nfd --conf nfd.conf
$build/bin/nfdc set-strategy ndn:/ ndn:/localhost/nfd/strategy/ncc
ERROR: error while receiving data from socket (End of file)
last lines in nfd log:
nfd: /usr/include/boost/smart_ptr/shared_ptr.hpp:424: T* boost::shared_ptr<T>::operator->() const [with T = nfd::fw::NccStrategy::PitEntryInfo]: Assertion `px != 0' failed.
- Tracker changed from Task to Bug
- Subject changed from nfd crashes upon: nfdc set-strategy ndn:/ ndn:/localhost/nfd/strategy/ncc to NccStrategy::beforeSatisfyPendingInterest crashes after runtime strategy change
- Description updated (diff)
- Category set to Forwarding
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- Target version set to v0.1
Confirmed.
NccStrategy incorrectly assumes pitEntry->getStrategyInfo<PitEntryInfo>()
to be non-null, which does not hold after runtime strategy change.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Ibaa4337d80c02cdf074b6390e69ce30b239796de
@Hila should verify the bug is resolved, and close this issue.
- Status changed from Resolved to Closed
Also available in: Atom
PDF