[ndnSIM] SIGSEGV when simply assigning one smart pointer to another?

Junxiao Shi shijunxiao at email.arizona.edu
Tue Apr 11 05:43:54 PDT 2017

`bt full` is better than `bt` as it shows local variables. See

On Apr 11, 2017 05:27, "Ashlesh Gawande (agawande)" <agawande at memphis.edu>

So after gdb is done you need to put bt to get the backtrace:

*Program received signal SIGSEGV, Segmentation fault.*
* std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release
*     at /usr/include/c++/5/bits/shared_ptr_base.h:147*
* 147        if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1)
== 1)*

* (gdb) bt*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170411/2c42cc92/attachment.html>

More information about the ndnSIM mailing list