[ndnSIM] [EXT] debugging problem

sai gautams saigautam96 at gmail.com
Fri Apr 23 22:16:00 PDT 2021


Hi Junxiao,

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.

Thanks,


On Sat, Apr 24, 2021 at 3:11 PM Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> 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
>>
>

-- 

*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210424/d736577f/attachment-0001.html>


More information about the ndnSIM mailing list