Bug #1420
Updated by Junxiao Shi over 10 years ago
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:
DEBUG: [NameTree] insert /
DEBUG: [NameTree] Name / hash value = 2654435816 location = 488
DEBUG: [NameTree] insert /localhost
DEBUG: [NameTree] Name /localhost hash value = 705767655 location = 231
DEBUG: [NameTree] insert /localhost/nfd
DEBUG: [NameTree] Name /localhost/nfd hash value = 463922990 location = 814
DEBUG: [NameTree] insert /localhost/nfd/strategy-choice
DEBUG: [NameTree] Name /localhost/nfd/strategy-choice hash value = 1008402995 location = 563
DEBUG: [NameTree] insert /localhost/nfd/strategy-choice/set
DEBUG: [NameTree] Name /localhost/nfd/strategy-choice/set hash value = 3785021135 location = 719
DEBUG: [NameTree] insert /localhost/nfd/strategy-choice/set/h%25%07%00k%21%07%1F%08%09localhost%08%03nfd%08%08strategy%08%03ncc
DEBUG: [NameTree] Name /localhost/nfd/strategy-choice/set/h%25%07%00k%21%07%1F%08%09localhost%08%03nfd%08%08strategy%08%03ncc hash value = 2129268518 location = 806
DEBUG: [NameTree] insert /localhost/nfd/strategy-choice/set/h%25%07%00k%21%07%1F%08%09localhost%08%03nfd%08%08strategy%08%03ncc/%00%00%01E%06%B0%C2%5D
DEBUG: [NameTree] Name /localhost/nfd/strategy-choice/set/h%25%07%00k%21%07%1F%08%09localhost%08%03nfd%08%08strategy%08%03ncc/%00%00%01E%06%B0%C2%5D hash value = 2328967703 location = 535
DEBUG: [NameTree] insert /localhost/nfd/strategy-choice/set/h%25%07%00k%21%07%1F%08%09localhost%08%03nfd%08%08strategy%08%03ncc/%00%00%01E%06%B0%C2%5D/%A0%95mwvn%1AF
DEBUG: [NameTree] Name /localhost/nfd/strategy-choice/set/h%25%07%00k%21%07%1F%08%09localhost%08%03nfd%08%08strategy%08%03ncc/%00%00%01E%06%B0%C2%5D/%A0%95mwvn%1AF hash value = 1462324527 location = 303
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.