Trigger
-----------
Restart of control node. When System has following profile
VN 8K
LIF 16K
VMI 32K
Backtrace
-----------------
(gdb) bt
#0 0x00007f45ffce1cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f45ffce50d8 in __GI_abort () at abort.c:89
#2 0x00007f45ffcdab86 in __assert_fail_base (fmt=0x7f45ffe2b830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x1a299b3 "state_count_[listener] == 0", file=file@entry=0x1a29961 "controller/src/db/db_table.cc", line=line@entry=89,
function=function@entry=0x1a29f00 <DBTableBase::ListenerInfo::Unregister(int)::__PRETTY_FUNCTION__> "void DBTableBase::ListenerInfo::Unregister(DBTableBase::ListenerId)") at assert.c:92
#3 0x00007f45ffcdac32 in __GI___assert_fail (assertion=0x1a299b3 "state_count_[listener] == 0", file=0x1a29961 "controller/src/db/db_table.cc", line=89,
function=0x1a29f00 <DBTableBase::ListenerInfo::Unregister(int)::__PRETTY_FUNCTION__> "void DBTableBase::ListenerInfo::Unregister(DBTableBase::ListenerId)")
at assert.c:101
#4 0x00000000017c7584 in DBTableBase::ListenerInfo::Unregister (this=0x7f45f401bc30, listener=2) at controller/src/db/db_table.cc:89
#5 0x00000000017c6348 in DBTableBase::Unregister (this=0x7f45f401b9f0, listener=2) at controller/src/db/db_table.cc:173
#6 0x0000000001254d52 in BgpPeer::~BgpPeer (this=0x7f458c00ae70, __in_chrg=<optimized out>) at controller/src/vnsw/agent/oper/peer.cc:42
#7 0x0000000001254dd4 in BgpPeer::~BgpPeer (this=0x7f458c00ae70, __in_chrg=<optimized out>) at controller/src/vnsw/agent/oper/peer.cc:44
#8 0x00000000013ee70d in boost::checked_delete<BgpPeer> (x=0x7f458c00ae70) at /usr/include/boost/checked_delete.hpp:34
#9 0x00000000013ef9c0 in boost::detail::sp_counted_impl_p<BgpPeer>::dispose (this=0x7f458c000d20)
at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
#10 0x0000000000fe446c in boost::detail::sp_counted_base::release (this=0x7f458c000d20) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#11 0x0000000000fe44e5 in boost::detail::shared_count::~shared_count (this=0x7f45f471dde8, __in_chrg=<optimized out>)
at /usr/include/boost/smart_ptr/detail/shared_count.hpp:371
#12 0x00000000013c1c16 in boost::shared_ptr<BgpPeer>::~shared_ptr (this=0x7f45f471dde0, __in_chrg=<optimized out>)
at /usr/include/boost/smart_ptr/shared_ptr.hpp:328
#13 0x00000000013c1c34 in __gnu_cxx::new_allocator<boost::shared_ptr<BgpPeer> >::destroy (this=0x7f45f0ff2787, __p=0x7f45f471dde0)
at /usr/include/c++/4.8/ext/new_allocator.h:133
#14 0x00000000013c1902 in std::list<boost::shared_ptr<BgpPeer>, std::allocator<boost::shared_ptr<BgpPeer> > >::_M_erase (this=0x7f45f4003448, __position=...)
at /usr/include/c++/4.8/bits/stl_list.h:1575
#15 0x00000000013c0952 in std::list<boost::shared_ptr<BgpPeer>, std::allocator<boost::shared_ptr<BgpPeer> > >::remove (this=0x7f45f4003448, __value=...)
at /usr/include/c++/4.8/bits/list.tcc:261
#16 0x00000000013be11a in VNController::ControllerPeerHeadlessAgentDelDone (this=0x7f45f4003430, bgp_peer=0x7f458c00ae70)
at controller/src/vnsw/agent/controller/controller_init.cc:586
#17 0x00000000013be543 in VNController::ControllerWorkQueueProcess (this=0x7f45f4003430, data=...)
at controller/src/vnsw/agent/controller/controller_init.cc:680
#18 0x00000000013c4b52 in boost::_mfi::mf1<bool, VNController, boost::shared_ptr<ControllerWorkQueueData> >::operator() (this=0x7f45f0ff2a78,
p=0x7f45f4003430, a1=...) at /usr/include/boost/bind/mem_fn_template.hpp:165
#19 0x00000000013c4042 in boost::_bi::list2<boost::_bi::value<VNController*>, boost::arg<1> >::operator()<bool, boost::_mfi::mf1<bool, VNController, boost::shar---Type <return> to continue, or q <return> to quit---
ed_ptr<ControllerWorkQueueData> >, boost::_bi::list1<boost::shared_ptr<ControllerWorkQueueData>&> > (this=0x7f45f0ff2a88, f=..., a=...)
at /usr/include/boost/bind/bind.hpp:303
#20 0x00000000013c35e4 in boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, VNController, boost::shared_ptr<ControllerWorkQueueData> >, boost::_bi::list2<boost::_bi::value<VNController*>, boost::arg<1> > >::operator()<boost::shared_ptr<ControllerWorkQueueData> > (this=0x7f45f0ff2a78, a1=...)
at /usr/include/boost/bind/bind_template.hpp:32
#21 0x00000000013c2d12 in boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, VNController, boost::shared_ptr<ControllerWorkQueueData> >, boost::_bi::list2<boost::_bi::value<VNController*>, boost::arg<1> > >, bool, boost::shared_ptr<ControllerWorkQueueData> >::invoke (
function_obj_ptr=..., a0=...) at /usr/include/boost/function/function_template.hpp:132
#22 0x00000000013c57f4 in boost::function1<bool, boost::shared_ptr<ControllerWorkQueueData> >::operator() (this=0x7f45f0ff2a70, a0=...)
at /usr/include/boost/function/function_template.hpp:767
#23 0x00000000013c54a0 in QueueTaskRunner<boost::shared_ptr<ControllerWorkQueueData>, WorkQueue<boost::shared_ptr<ControllerWorkQueueData> > >::RunQueue (
this=0x7f45ec1b6af0) at controller/src/base/queue_task.h:74
#24 0x00000000013c52d4 in QueueTaskRunner<boost::shared_ptr<ControllerWorkQueueData>, WorkQueue<boost::shared_ptr<ControllerWorkQueueData> > >::Run (
this=0x7f45ec1b6af0) at controller/src/base/queue_task.h:57
#25 0x000000000191f872 in TaskImpl::execute (this=0x7f45f9446c40) at controller/src/base/task.cc:232
#26 0x00007f46008b0b3a in ?? () from /usr/lib/libtbb.so.2
#27 0x00007f46008ac816 in ?? () from /usr/lib/libtbb.so.2
#28 0x00007f46008abf4b in ?? () from /usr/lib/libtbb.so.2
#29 0x00007f46008a80ff in ?? () from /usr/lib/libtbb.so.2
#30 0x00007f46008a82f9 in ?? () from /usr/lib/libtbb.so.2
#31 0x00007f4600acc182 in start_thread (arg=0x7f45f0ff3700) at pthread_create.c:312
#32 0x00007f45ffda547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Logs saved at http:// mayamruga. englab. juniper. net/bugs/ 1455862