Project

General

Profile

Actions

Bug #1790

closed

NLSR throws exception and quits if executed simultaneously on all machines in emulab environment.

Added by Syed Amin almost 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/23/2014
Due date:
% Done:

0%

Estimated time:

Description

I am running NLSR on 10 emulab nodes. There is a script that runs nfd first and then nlsr. If I run this script manually at each node with 2 to 3 seconds delay of going from node to another, the nlsr works fine. However, when I execute the script simultaneously at each node (using a scheduler or by broadcasting the command to all terminals) then nlsr quits giving following error:

terminate called after throwing an instance of 'ndn::SecPublicInfoSqlite3::Error'
what():  Key does not exist:/ndn/caida/%C1.Router/router1/NLSR/ksk-1406145072693

At one point I also got this error:

nlsr: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: boost::shared_ptr<T>::reference boost::shared_ptr<T>::operator*() const [with T = ndn::IdentityCertificate, boost::shared_ptr<T>::reference = ndn::IdentityCertificate&]: Assertion `px != 0' failed.

The home folder in emulab is shared among all nodes, where I guess the keys are stored. Not sure but do you think that the concurrent access to that folder may be causing this error.


Related issues 1 (0 open1 closed)

Is duplicate of ndn-cxx - Bug #2009: SecPublicInfoSqlite3 is unsafe on NFS shareClosedJunxiao Shi09/25/2014

Actions
Actions

Also available in: Atom PDF