[ndnSIM] SIGSEGV when simply assigning one smart pointer to another?
Junxiao Shi
shijunxiao at email.arizona.edu
Thu Apr 13 09:41:03 PDT 2017
Hi John
It seems that some object is being destructed twice.
Valgrind may be able to confirm this hypothesis.
Yours, Junxiao
> On Apr 12, 2017, at 9:18 PM, John Baugh <jpbaugh at umich.EDU> wrote:
>
> (gdb) bt full
> #0 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x2710)
> at /usr/include/c++/5/bits/shared_ptr_base.h:147
> No locals.
> #1 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (
> this=<optimized out>, __in_chrg=<optimized out>)
> at /usr/include/c++/5/bits/shared_ptr_base.h:659
> No locals.
> #2 std::__shared_ptr<PopularityManager, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=<optimized out>, __in_chrg=<optimized out>)
> at /usr/include/c++/5/bits/shared_ptr_base.h:925
> No locals.
> #3 std::__shared_ptr<PopularityManager, (__gnu_cxx::_Lock_policy)2>::operator=(std::__shared_ptr<PopularityManager, (__gnu_cxx::_Lock_policy)2>&&) (
> __r=<optimized out>, this=0x75fc50)
> at /usr/include/c++/5/bits/shared_ptr_base.h:1000
> No locals.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170413/a2af0096/attachment.html>
More information about the ndnSIM
mailing list