[ndnSIM] [EXT] debugging problem
shijunxiao at email.arizona.edu
Fri Apr 23 22:22:23 PDT 2021
The crash is most likely not caused by SimpleRefCount, but some other
Error message suggests a double free error or memory leak.
If you haven't read ns-3 Reference Manual *in full*, you should do so to
gain a deeper understanding on how ns-3 works at low level.
On Sat, Apr 24, 2021 at 01:16 sai gautams <saigautam96 at gmail.com> wrote:
> *External Email*
> 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.
> On Sat, Apr 24, 2021 at 3:11 PM Junxiao Shi <shijunxiao at email.arizona.edu>
>> 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 <
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM