<div dir="auto"><div>Hi Anil</div><div dir="auto"><br></div><div dir="auto">The log indicates some code is calling ns3::NodeList::GetNode(-1), but -1 is obviously not a valid NodeId.</div><div dir="auto">I guess this invalid NodeId comes from ns3::Simulator::GetContext(), which usually returns the current NodeId on which an event is scheduled. However, some code (most likely in main function or initialization procedure) has scheduled an event without context, so that <span style="font-family:sans-serif">ns3::Simulator::GetContext() is returning -1.</span></div><div dir="auto"><font face="sans-serif">You may search for calls to ns3::Simulator::Schedule and replace them with ns3::Simultor::ScheduleWithContext. The context value should indicate which node the event should be happening.</font></div><div dir="auto"><font face="sans-serif"><br></font></div><div dir="auto"><font face="sans-serif">Yours, Junxiao<br></font><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Jun 11, 2017 10:35, "Anil Jangam" <<a href="mailto:anilj.mailing@gmail.com">anilj.mailing@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>Mahsa, Sabet, How have you solved this issue of SIGABRT? </div><div><br></div><div>I converted the "nlsrc" into a a ndn::Application instance and installed it on each of the nodes. In my simulation example, I am scheduling a new prefix injection (at 100.0 sec) from a node. </div><div><br></div><div>I see that experiment is running and at time 100 secs  into simulation, its crashing. I am attaching the stack trace for more details. Can you help me know what wrong here?</div><div><br></div><div>Let me know if you need additional info. </div><font color="#888888"><div><br></div><div>/anil.</div><div><br></div></font></div></blockquote></div></div></div></div>