[ndnSIM] Debugging Simulation

Olumide Akinwande jolumideakinwande at yahoo.com
Mon Sep 4 14:40:00 PDT 2017


Hi team,
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.
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:
#0  0xb7fd9ce5 in __kernel_vsyscall ()#1  0xb12a8ea9 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:54#2  0xb12aa407 in __GI_abort () at abort.c:89#3  0xb1517d35 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6#4  0xb1515833 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6#5  0xb15158ad in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6#6  0xb1515bce in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6#7  0xb5f5bd56 in ndn::util::signal::Signal<nfd::face::LinkService, ndn::Interest>::operator() (this=0x93809cc, args#0=...)    at ns3/ndnSIM/ndn-cxx/util/signal-signal.hpp:247#8  0xb5f5ae9d in nfd::face::LinkService::receiveInterest (this=0x93809c8, interest=...)    at ../src/ndnSIM/NFD/daemon/face/link-service.cpp:100#9  0xb5c49330 in ns3::ndn::AppLinkService::onReceiveInterest (this=0x93809c8, interest=...)    at ../src/ndnSIM/model/ndn-app-link-service.cpp:81#10 0xb5af1176 in ns3::ndn::CustomizedApp::SendPacket (this=0x84f13a0) at ../src/ndnSIM/apps/ndn-customized-app.cpp:230#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#12 0xb3194af5 in ns3::EventImpl::Invoke (this=0x886a238) at ../src/core/model/event-impl.cc:51#13 0xb319a4c0 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x80df1b8) at ../src/core/model/default-simulator-impl.cc:149#14 0xb319a92d in ns3::DefaultSimulatorImpl::Run (this=0x80df1b8) at ../src/core/model/default-simulator-impl.cc:202#15 0xb3195b1e in ns3::Simulator::Run () at ../src/core/model/simulator.cc:204#16 0x0806b72e in ns3::main (argc=1, argv=0xbfffebe4) at ../scratch/ASFCE.cc:371#17 0x0806d607 in main (argc=1, argv=0xbfffebe4) at ../scratch/ASFCE.cc:382
Looking forward to your help.
Thank you.
Kind regards,
Olumide.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170904/9e4e557c/attachment.html>


More information about the ndnSIM mailing list