<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I’m getting <i class="">Segmentation fault</i> when using ndndump to capture packets, not sure why:
<div class=""><br class="">
</div>
<div class="">$ <span style="font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">sudo ndndump -i eno1 -f .*ndnrtc.*</span>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Segmentation fault (core dumped)</span></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ ndndump --version</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">ndndump 0.4-24-g11e74eb</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Segmentation fault (core dumped)</span></div>
</div>
<div class=""><br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">I installed ndn-cxx using PPA.</div>
<div class="">However, neither master branch of ndn-tools nor tag <span style="font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">ndn-tools-0.5</span> builds:</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">$ ./waf</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Waf: Entering directory `/home/peter/ndn-tools/build'</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[ 2/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">build/core/version.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[ 3/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/peek/ndnpeek/ndnpeek.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[15/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/ping/server/tracer.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[16/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/ping/server/ndn-ping-server.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[17/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/aimd-rtt-estimator.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[18/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/aimd-statistics-collector.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[19/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/consumer.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[20/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/data-fetcher.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[21/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/discover-version-fixed.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[22/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/discover-version-iterative.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[23/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/discover-version.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[25/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/pipeline-interests-aimd.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[26/38] Compiling
</span><span style="font-variant-ligatures: no-common-ligatures" class="">tools/chunks/catchunks/pipeline-interests-fixed-window.cpp</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">../tools/peek/ndnpeek/ndnpeek.cpp:</b> In member function ‘<b class="">ndn::Interest ndn::peek::NdnPeek::createInterest() const</b>’:</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">../tools/peek/ndnpeek/ndnpeek.cpp:83:14:</b>
</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error:
</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">‘<b class="">class ndn::Interest</b>’ has no member named ‘<b class="">setForwardingHint</b>’</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">     interest.setForwardingHint(m_options.link->getDelegationList());</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">              ^</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">../tools/peek/ndnpeek/ndnpeek.cpp:83:48:</b>
</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error:
</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">‘<b class="">class ndn::Link</b>’ has no member named ‘<b class="">getDelegationList</b>’</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">     interest.setForwardingHint(m_options.link->getDelegationList());</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">                                                ^</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">../tools/chunks/catchunks/pipeline-interests-aimd.cpp:</b> In member function ‘<b class="">void ndn::chunks::aimd::PipelineInterestsAimd::handleData(const ndn::Interest&, const ndn::Data&)</b>’:</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">../tools/chunks/catchunks/pipeline-interests-aimd.cpp:252:12:</b>
</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error:
</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">‘<b class="">const class ndn::Data</b>’ has no member named ‘<b class="">getCongestionMark</b>’</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">   if (data.getCongestionMark() > 0) {</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">            ^</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">../tools/chunks/catchunks/pipeline-interests-aimd.cpp:261:69:</b>
</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error:
</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">‘<b class="">const class ndn::Data</b>’ has no member named ‘<b class="">getCongestionMark</b>’</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">           std::cerr << "Received congestion mark, value = " << data.getCongestionMark()</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">                                                                     ^</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgba(255, 255, 255, 0.8); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Waf: Leaving directory `/home/peter/ndn-tools/build'</span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">Build failed</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""> -> task in 'peek-ndnpeek-objects' failed (exit status 1): </b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><span class="Apple-tab-span" style="white-space:pre"></span>{task 139814901679312: cxx ndnpeek.cpp -> ndnpeek.cpp.1.o}</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">['/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']</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""> -> task in 'ndncatchunks-objects' failed (exit status 1): </b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><span class="Apple-tab-span" style="white-space:pre"></span>{task 139814901799184: cxx pipeline-interests-aimd.cpp -> pipeline-interests-aimd.cpp.1.o}</b></span></div>
<div style="margin: 0px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgba(255, 255, 255, 0.8);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">['/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']</b></span></div>
</div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class="">
</b></span></div>
<div class=""><br class="">
</div>
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Thanks, </div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
-- <br class="">
Peter Gusev</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<i class=""><a href="mailto:peter@remap.ucla.edu" class="">peter@remap.ucla.edu</a><br class="">
+1 213 5872748<br class="">
</i></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<i class=""><font color="#929292" class="">Research Scholar @ </font></i><a href="http://remap.ucla.edu/" class=""><i class="">REMAP UCLA</i></a><i class=""><font color="#929292" class=""><br class="">
Video streaming/ICN networks/Creative Development</font></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</div>
</body>
</html>