[Nfd-dev] problem with ndndump

Gusev, Peter peter at remap.ucla.edu
Tue Nov 28 14:22:01 PST 2017


I’m getting Segmentation fault when using ndndump to capture packets, not sure why:

$ sudo ndndump -i eno1 -f .*ndnrtc.*
Segmentation fault (core dumped)


$ ndndump --version
ndndump 0.4-24-g11e74eb
Segmentation fault (core dumped)


I installed ndn-cxx using PPA.
However, neither master branch of ndn-tools nor tag ndn-tools-0.5 builds:


$ ./waf
Waf: Entering directory `/home/peter/ndn-tools/build'
[ 2/38] Compiling build/core/version.cpp
[ 3/38] Compiling tools/peek/ndnpeek/ndnpeek.cpp
[15/38] Compiling tools/ping/server/tracer.cpp
[16/38] Compiling tools/ping/server/ndn-ping-server.cpp
[17/38] Compiling tools/chunks/catchunks/aimd-rtt-estimator.cpp
[18/38] Compiling tools/chunks/catchunks/aimd-statistics-collector.cpp
[19/38] Compiling tools/chunks/catchunks/consumer.cpp
[20/38] Compiling tools/chunks/catchunks/data-fetcher.cpp
[21/38] Compiling tools/chunks/catchunks/discover-version-fixed.cpp
[22/38] Compiling tools/chunks/catchunks/discover-version-iterative.cpp
[23/38] Compiling tools/chunks/catchunks/discover-version.cpp
[25/38] Compiling tools/chunks/catchunks/pipeline-interests-aimd.cpp
[26/38] Compiling tools/chunks/catchunks/pipeline-interests-fixed-window.cpp
../tools/peek/ndnpeek/ndnpeek.cpp: In member function ‘ndn::Interest ndn::peek::NdnPeek::createInterest() const’:
../tools/peek/ndnpeek/ndnpeek.cpp:83:14: error: ‘class ndn::Interest’ has no member named ‘setForwardingHint’
     interest.setForwardingHint(m_options.link->getDelegationList());
              ^
../tools/peek/ndnpeek/ndnpeek.cpp:83:48: error: ‘class ndn::Link’ has no member named ‘getDelegationList’
     interest.setForwardingHint(m_options.link->getDelegationList());
                                                ^

../tools/chunks/catchunks/pipeline-interests-aimd.cpp: In member function ‘void ndn::chunks::aimd::PipelineInterestsAimd::handleData(const ndn::Interest&, const ndn::Data&)’:
../tools/chunks/catchunks/pipeline-interests-aimd.cpp:252:12: error: ‘const class ndn::Data’ has no member named ‘getCongestionMark’
   if (data.getCongestionMark() > 0) {
            ^
../tools/chunks/catchunks/pipeline-interests-aimd.cpp:261:69: error: ‘const class ndn::Data’ has no member named ‘getCongestionMark’
           std::cerr << "Received congestion mark, value = " << data.getCongestionMark()
                                                                     ^

Waf: Leaving directory `/home/peter/ndn-tools/build'
Build failed
 -> task in 'peek-ndnpeek-objects' failed (exit status 1):
{task 139814901679312: cxx ndnpeek.cpp -> ndnpeek.cpp.1.o}
['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-pthread', '-I/home/peter/ndn-tools/build', '-I/home/peter/ndn-tools', '-I/usr/include', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../tools/peek/ndnpeek/ndnpeek.cpp', '-c', '-o', '/home/peter/ndn-tools/build/tools/peek/ndnpeek/ndnpeek.cpp.1.o']
 -> task in 'ndncatchunks-objects' failed (exit status 1):
{task 139814901799184: cxx pipeline-interests-aimd.cpp -> pipeline-interests-aimd.cpp.1.o}
['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-pthread', '-I/home/peter/ndn-tools/build', '-I/home/peter/ndn-tools', '-I/usr/include', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../tools/chunks/catchunks/pipeline-interests-aimd.cpp', '-c', '-o', '/home/peter/ndn-tools/build/tools/chunks/catchunks/pipeline-interests-aimd.cpp.1.o']



Thanks,

--
Peter Gusev

peter at remap.ucla.edu<mailto:peter at remap.ucla.edu>
+1 213 5872748

Research Scholar @ REMAP UCLA<http://remap.ucla.edu/>
Video streaming/ICN networks/Creative Development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20171128/2560cf19/attachment-0001.html>


More information about the Nfd-dev mailing list