Actions
Bug #1420
closedNccStrategy::beforeSatisfyPendingInterest crashes after runtime strategy change
Start date:
03/27/2014
Due date:
% Done:
100%
Estimated time:
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.
Updated by Junxiao Shi over 10 years ago
- 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.
Updated by Junxiao Shi over 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Ibaa4337d80c02cdf074b6390e69ce30b239796de
Updated by Junxiao Shi over 10 years ago
@Hila should verify the bug is resolved, and close this issue.
Actions