[ndnSIM] [EXT] debugging problem

Junxiao Shi shijunxiao at email.arizona.edu
Fri Apr 23 22:10:53 PDT 2021


Hi Sai

Run ns-3 in GDB, and then you can see the stacktrace when it crashes.

Related resources:
🔸 The command line needed to start the simulation in GDB is printed at the
bottom after simulation crashes.
🔸 You can look online for GDB tutorials.

Yours, Junxiao

On Thu, Apr 22, 2021 at 22:14 sai gautams via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> *External Email*
> Dear all,
> 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.
>
> 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())
>
> --
>
> *Sai Gautam Mandapati*
>
> Deakin University
>
> Doctor of Philosophy Student
>
> Higher Degree by Research
>
> Faculty of Science, Engineering and Built-in Environment
>
> E-mail: saigautam96 at gmail.com
>
> http://www.linkedin.com/in/sai-gautam-mandapati
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210424/f72250b3/attachment.html>


More information about the ndnSIM mailing list