<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1504724098903_4231"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4232">Hello,</span></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4233"><br clear="none" id="yui_3_16_0_1_1504724098903_4234"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4235">Thank you for the response.</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4236"><br clear="none" id="yui_3_16_0_1_1504724098903_4237"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4238">It helped in finding the possible problem.</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4239"><br clear="none" id="yui_3_16_0_1_1504724098903_4240"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4241">I wrote the customizedApp in order to generate repeated requests for the same contents. I mean issue Interests with exactly the same names periodically.</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4242"><br clear="none" id="yui_3_16_0_1_1504724098903_4243"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4244">From the debugging, I have found that using the Asf strategy throws up this error (std::out_of_range) when a subsequent Interest is sent. </div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4245"><br clear="none" id="yui_3_16_0_1_1504724098903_4246"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4247">To confirm this I modified the in-built "ndn-consumer.cpp" so that anytime the application tries to send a new interest, instead of advancing the request name in the line:</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4248"><br clear="none" id="yui_3_16_0_1_1504724098903_4249"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4250">nameWithSequence->addSequenceNumber(seq);</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4251"><br clear="none" id="yui_3_16_0_1_1504724098903_4252"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4253">I replaced the changing "seq", with a constant value. The simulation works correctly with this change under the best-route strategy but throws the above error with the Asf.</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4254"><br clear="none" id="yui_3_16_0_1_1504724098903_4255"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4256">I'm hoping that my explanation makes sense and hopefully I can get further guidance.</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4257"><br clear="none" id="yui_3_16_0_1_1504724098903_4258"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4259">Thank you.</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4259" dir="ltr">(sorry for responding twice, I am trying to follow the thread correctly)</div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_1_1504724098903_4260"><br clear="none" id="yui_3_16_0_1_1504724098903_4261"></div><div style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" dir="ltr" id="yui_3_16_0_1_1504724098903_4262">Olumide.</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, September 5, 2017 4:58 AM, Spyridon (Spyros) Mastorakis <mastorakis@cs.ucla.edu> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv3885509431"><div>Hi,<div class="yiv3885509431"><br clear="none" class="yiv3885509431"></div><div class="yiv3885509431">based on your logs, it seems that you use a custom application that you have created. It is not clear to me what is happening in your custom application and the problem can come from there. Based on the logs again, the problem might not be related to the strategy itself (the strategy actually does not appear in the logs at all).</div><div class="yiv3885509431"><br clear="none" class="yiv3885509431"></div><div class="yiv3885509431">Could you please try to debug your custom application and see if the issue is caused by the application?</div><div class="yiv3885509431"><br clear="none" class="yiv3885509431"></div><div class="yiv3885509431">Thanks,</div><div class="yiv3885509431"><br clear="none" class="yiv3885509431"><div class="yiv3885509431">
<div class="yiv3885509431"><div class="yiv3885509431"><div class="yiv3885509431"><span class="yiv3885509431" style="float:none;display:inline;">Spyridon (Spyros) Mastorakis</span><br clear="none" class="yiv3885509431"><span class="yiv3885509431" style="float:none;display:inline;">Personal Website: </span><a rel="nofollow" shape="rect" class="yiv3885509431" target="_blank" href="http://cs.ucla.edu/~mastorakis/">http://cs.ucla.edu/~mastorakis/</a><br clear="none" class="yiv3885509431"><span class="yiv3885509431" style="float:none;display:inline;">Internet Research Laboratory</span><br clear="none" class="yiv3885509431"><span class="yiv3885509431" style="float:none;display:inline;">Computer Science Department</span><br clear="none" class="yiv3885509431"><span class="yiv3885509431" style="float:none;display:inline;">UCLA</span></div></div></div>
</div>
<br clear="none" class="yiv3885509431"><div class="yiv3885509431yqt3712154501" id="yiv3885509431yqt05950"><div><blockquote class="yiv3885509431" type="cite"><div class="yiv3885509431">On Sep 4, 2017, at 2:40 PM, Olumide Akinwande <<a rel="nofollow" shape="rect" class="yiv3885509431" ymailto="mailto:jolumideakinwande@yahoo.com" target="_blank" href="mailto:jolumideakinwande@yahoo.com">jolumideakinwande@yahoo.com</a>> wrote:</div><br clear="none" class="yiv3885509431Apple-interchange-newline"><div class="yiv3885509431"><div class="yiv3885509431"><div class="yiv3885509431" style="background-color:rgb(255, 255, 255);font-family:'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4414"><span class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4415" style="">Hi team,</span></div><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4416" style=""><br clear="none" class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4417"></div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_4416" style="">I have asked for help debugging the simulations before but I will be grateful if I can be directed to where I can get adequate information about debugging ns3 simulations. I am quite new to the tool.</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_4416" style=""><br clear="none" class="yiv3885509431"></div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_4416" style="">I keep getting a std::out_of_range error when I use the Asf strategy in my simulation. The simulation exits in the middle. Every other strategy works well. I have also included the backtrace in here:</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_4416" style=""><br clear="none" class="yiv3885509431"></div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_4416" style=""><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24648">#0  0xb7fd9ce5 in __kernel_vsyscall ()</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24649">#1  0xb12a8ea9 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:54</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24650">#2  0xb12aa407 in __GI_abort () at abort.c:89</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24651">#3  0xb1517d35 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24652">#4  0xb1515833 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24653">#5  0xb15158ad in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24654">#6  0xb1515bce in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24655">#7  0xb5f5bd56 in ndn::util::signal::Signal<nfd::face::LinkService, ndn::Interest>::operator() (this=0x93809cc, args#0=...)</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24656">    at ns3/ndnSIM/ndn-cxx/util/signal-signal.hpp:247</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24657">#8  0xb5f5ae9d in nfd::face::LinkService::receiveInterest (this=0x93809c8, interest=...)</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24658">    at ../src/ndnSIM/NFD/daemon/face/link-service.cpp:100</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24659">#9  0xb5c49330 in ns3::ndn::AppLinkService::onReceiveInterest (this=0x93809c8, interest=...)</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24660">    at ../src/ndnSIM/model/ndn-app-link-service.cpp:81</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24661">#10 0xb5af1176 in ns3::ndn::CustomizedApp::SendPacket (this=0x84f13a0) at ../src/ndnSIM/apps/ndn-customized-app.cpp:230</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24662">#11 0xb5af6a27 in ns3::EventImpl* ns3::MakeEvent<void (ns3::ndn::CustomizedApp::*)(), ns3::ndn::CustomizedApp*>(void (ns3::ndn::CustomizedApp::*)(), ns3::ndn::CustomizedApp*)::EventMemberImpl0::Notify() (this=0x886a238) at ./ns3/make-event.h:323</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24663">#12 0xb3194af5 in ns3::EventImpl::Invoke (this=0x886a238) at ../src/core/model/<a rel="nofollow" shape="rect" class="yiv3885509431" target="_blank" href="http://event-impl.cc/">event-impl.cc</a>:51</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24664">#13 0xb319a4c0 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x80df1b8) at ../src/core/model/<a rel="nofollow" shape="rect" class="yiv3885509431" target="_blank" href="http://default-simulator-impl.cc/">default-simulator-impl.cc</a>:149</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24665">#14 0xb319a92d in ns3::DefaultSimulatorImpl::Run (this=0x80df1b8) at ../src/core/model/<a rel="nofollow" shape="rect" class="yiv3885509431" target="_blank" href="http://default-simulator-impl.cc/">default-simulator-impl.cc</a>:202</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24666">#15 0xb3195b1e in ns3::Simulator::Run () at ../src/core/model/<a rel="nofollow" shape="rect" class="yiv3885509431" target="_blank" href="http://simulator.cc/">simulator.cc</a>:204</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24667">#16 0x0806b72e in ns3::main (argc=1, argv=0xbfffebe4) at ../scratch/<a rel="nofollow" shape="rect" class="yiv3885509431" target="_blank" href="http://asfce.cc/">ASFCE.cc</a>:371</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24668">#17 0x0806d607 in main (argc=1, argv=0xbfffebe4) at ../scratch/<a rel="nofollow" shape="rect" class="yiv3885509431" target="_blank" href="http://asfce.cc/">ASFCE.cc</a>:382</div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_24669"><br clear="none" class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_24670"></div></div><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4418" style="">Looking forward to your help.</div><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4422" style=""><br clear="none" class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4423"></div><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4424" style="">Thank you.</div><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4425" style=""><br clear="none" class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4426"></div><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4427" style="">Kind regards,</div><div class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4428" style=""><br clear="none" class="yiv3885509431" id="yiv3885509431yui_3_16_0_1_1504559579235_4429"></div><div class="yiv3885509431" dir="ltr" id="yiv3885509431yui_3_16_0_1_1504559579235_4430" style="">Olumide.</div></div></div></div></blockquote></div></div><br clear="none" class="yiv3885509431"></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>