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 #1

Updated by Alex Afanasyev over 11 years ago

  • Project changed from 4 to ndn-cxx
  • Target version deleted (dev)
Actions #2

Updated by Alex Afanasyev over 11 years ago

  • Assignee set to Alex Afanasyev
  • Start date changed from 01/26/2014 to 02/06/2014
  • % Done changed from 0 to 100
Actions #3

Updated by Alex Afanasyev over 11 years ago

  • Status changed from New to Code review
Actions #4

Updated by Alex Afanasyev over 11 years ago

  • Status changed from Code review to Closed

Applied in changeset ndn-cpp-dev|commit:035c7b4bdacac666a33da91a1aa581ebaa5c7947.

Actions

Also available in: Atom PDF