<div dir="auto">Hi Sai</div><div dir="auto"><br></div><div dir="auto">The crash is most likely not caused by SimpleRefCount, but some other component.</div><div dir="auto">Error message suggests a double free error or memory leak.</div><div dir="auto"><br></div><div dir="auto">If you haven't read ns-3 Reference Manual <b>in full</b>, you should do so to gain a deeper understanding on how ns-3 works at low level.</div><div dir="auto"><div><a href="https://www.nsnam.org/docs/release/3.33/manual/html/index.html">https://www.nsnam.org/docs/release/3.33/manual/html/index.html</a></div><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 24, 2021 at 01:16 sai gautams <<a href="mailto:saigautam96@gmail.com">saigautam96@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><p style="text-align:center"><font style="color:rgb(255,0,0)"><strong>External Email</strong><br></font></p><div dir="ltr">Hi Junxiao,<div><br></div><div>Thanks for the quick response. Yes, I tried running the code in GDB and then I traced the code and the error popped up which is related simple.ref.count:h. I don't understand how to solve that error.</div><div><br></div><div>Thanks,</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 24, 2021 at 3:11 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">Hi Sai</div><div dir="auto"><br></div><div dir="auto">Run ns-3 in GDB, and then you can see the stacktrace when it crashes.</div><div dir="auto"><br></div><div dir="auto">Related resources:</div><div dir="auto">🔸 The command line needed to start the simulation in GDB is printed at the bottom after simulation crashes.</div><div dir="auto">🔸 You can look online for GDB tutorials.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 22, 2021 at 22:14 sai gautams via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><p style="text-align:center"><font style="color:rgb(255,0,0)"><strong>External Email</strong><br></font></p><div dir="ltr"><div>Dear all,</div><div>I'm facing the following issue when I try to debug my code in ndnSIM. I don't understand how to deal with this fault.<br></div><div><br></div><div>Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7f584d1 in ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Ref (this=0x6465697272616320) at ./ns3/simple-ref-count.h:107 107        NS_ASSERT (m_count < std::numeric_limits<uint32_t>::max())</div><br></div></blockquote></div></div></blockquote></div><div dir="ltr"><div dir="ltr"><p></p></div></div>
</blockquote></div></div>