Project

General

Profile

Actions

Bug #1158

closed

Exclude::excludeBefore runtime error

Added by Junxiao Shi almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/06/2014
Due date:
% Done:

100%

Estimated time:

Description

Code

#include <ndn-cpp-dev/exclude.hpp>

int
main()
{
  ndn::Exclude exclude2;
  exclude2.excludeBefore(ndn::Name::Component("PuQxMaf91"));
}

Error

shijunxiao@m0212:~/snippet$ g++ exclude-before.cpp -lndn-cpp-dev
shijunxiao@m0212:~/snippet$ ./a.out 
a.out: /usr/include/boost/smart_ptr/shared_ptr.hpp:412: boost::shared_ptr<T>::reference boost::shared_ptr<T>::operator*() const [with T = const ndn::Buffer, boost::shared_ptr<T>::reference = const ndn::Buffer&]: Assertion `px != 0' failed.
Aborted (core dumped)
Actions

Also available in: Atom PDF