Project

General

Profile

Actions

Bug #2177

closed

INVALID_FACE_ID appears in FIB

Added by Junxiao Shi over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tables
Target version:
Start date:
11/13/2014
Due date:
% Done:

100%

Estimated time:

Description

Steps to reproduce:

  1. start NFD
  2. run this code snippet:
#include <ndn-cxx/face.hpp>

using namespace ndn;

int main(int argc, char** argv)
{
  Face face;
  for (int i = 0; i < 300; ++i) {
    Name prefix("/localhost/app");
    prefix.appendVersion(i);
    face.registerPrefix(prefix,
                        bind([i] { std::cout << "SUCCESS " << i << std::endl; }),
                        bind([i] { std::cout << "FAILURE " << i << std::endl; })
                        );
  }
  face.processEvents();
}
  1. press CTRL+C to kill the program in step 2
  2. look at FIB with nfd-status -b

Expected: prefixes registered by the program are erased

Actual: /localhost/app/%FD%BC nexthops={faceid=18446744073709551615 (cost=0)}


Related issues 1 (0 open1 closed)

Has duplicate NFD - Bug #1812: INVALID_FACE_ID appears in FIBAbandoned07/31/2014

Actions
Actions

Also available in: Atom PDF