This could be due to recent GR changes, but not entirely sure. Happens once every 4 runs or so.
(gdb) bt
#0 0x00002aaaacdfacc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00002aaaacdfe0d8 in __GI_abort () at abort.c:89
#2 0x00002aaaacdf3b86 in __assert_fail_base (fmt=0x2aaaacf453d0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x1f20dfc "!trigger_", file=file@entry=0x1f20dd8 "controller/src/base/task_trigger.cc", line=line@entry=42, function=function@entry=0x1f20e70 <TaskTrigger::~TaskTrigger()::__PRETTY_FUNCTION__> "TaskTrigger::~TaskTrigger()") at assert.c:92
#3 0x00002aaaacdf3c32 in __GI___assert_fail (assertion=0x1f20dfc "!trigger_", file=0x1f20dd8 "controller/src/base/task_trigger.cc", line=42, function=0x1f20e70 <TaskTrigger::~TaskTrigger()::__PRETTY_FUNCTION__> "TaskTrigger::~TaskTrigger()") at assert.c:101
#4 0x0000000001c545ea in TaskTrigger::~TaskTrigger (this=0x2aab3c0069f0, __in_chrg=<optimized out>) at controller/src/base/task_trigger.cc:42
#5 0x00000000014ce93b in BgpPeer::~BgpPeer (this=0x2aab3c006960, __in_chrg=<optimized out>) at controller/src/bgp/bgp_peer.cc:438
#6 0x00000000012dc89c in BgpPeerTest::~BgpPeerTest (this=0x2aab3c006960, __in_chrg=<optimized out>) at controller/src/bgp/test/bgp_server_test_util.cc:197
#7 0x00000000012dc932 in BgpPeerTest::~BgpPeerTest (this=0x2aab3c006960, __in_chrg=<optimized out>) at controller/src/bgp/test/bgp_server_test_util.cc:198
#8 0x0000000001c94675 in PeerManager::DestroyIPeer (this=0x26eda50, ipeer=0x2aab3c006960) at controller/src/bgp/routing-instance/peer_manager.cc:113
#9 0x00000000012ddabf in PeerManagerTest::DestroyIPeer (this=0x26eda50, ipeer=0x2aab3c006960) at controller/src/bgp/test/bgp_server_test_util.cc:297
#10 0x00000000014f0e31 in BgpPeer::DeleteActor::Destroy (this=0x2aab3c007970) at controller/src/bgp/bgp_peer.cc:240
#11 0x0000000001c30382 in LifetimeManager::DeleteExecutor (this=0x26db220, actor_ref=...) at controller/src/base/lifetime.cc:229
#12 0x0000000001c33b52 in boost::_mfi::mf1<bool, LifetimeManager, LifetimeManager::LifetimeActorRef>::operator() (this=0x2aaab4ed0b18, p=0x26db220, a1=...) at /usr/include/boost/bind/mem_fn_template.hpp:165
#13 0x0000000001c3352e in boost::_bi::list2<boost::_bi::value<LifetimeManager*>, boost::arg<1> >::operator()<bool, boost::_mfi::mf1<bool, LifetimeManager, LifetimeManager::LifetimeActorRef>, boost::_bi::list1<LifetimeManager::LifetimeActorRef&> > (this=0x2aaab4ed0b28, f=..., a=...) at /usr/include/boost/bind/bind.hpp:303
#14 0x0000000001c32ef0 in boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, LifetimeManager, LifetimeManager::LifetimeActorRef>, boost::_bi::list2<boost::_bi::value<LifetimeManager*>, boost::arg<1> > >::operator()<LifetimeManager::LifetimeActorRef> (this=0x2aaab4ed0b18, a1=...) at /usr/include/boost/bind/bind_template.hpp:32
#15 0x0000000001c329f3 in boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, LifetimeManager, LifetimeManager::LifetimeActorRef>, boost::_bi::list2<boost::_bi::value<LifetimeManager*>, boost::arg<1> > >, bool, LifetimeManager::LifetimeActorRef>::invoke (function_obj_ptr=..., a0=...) at /usr/include/boost/function/function_template.hpp:132
#16 0x0000000001c3423b in boost::function1<bool, LifetimeManager::LifetimeActorRef>::operator() (this=0x2aaab4ed0b10, a0=...) at /usr/include/boost/function/function_template.hpp:767
#17 0x0000000001c33e68 in QueueTaskRunner<LifetimeManager::LifetimeActorRef, WorkQueue<LifetimeManager::LifetimeActorRef> >::RunQueue (this=0x2aab14000f00) at controller/src/base/queue_task.h:87
#18 0x0000000001c33c8a in QueueTaskRunner<LifetimeManager::LifetimeActorRef, WorkQueue<LifetimeManager::LifetimeActorRef> >::Run (this=0x2aab14000f00) at controller/src/base/queue_task.h:66
#19 0x0000000001c42ec9 in TaskImpl::execute (this=0x2aaab3a5e140) at controller/src/base/task.cc:254
#20 0x00002aaaabc13b3a in ?? () from /usr/lib/libtbb.so.2
#21 0x00002aaaabc0f816 in ?? () from /usr/lib/libtbb.so.2
#22 0x00002aaaabc0ef4b in ?? () from /usr/lib/libtbb.so.2
#23 0x00002aaaabc0b0ff in ?? () from /usr/lib/libtbb.so.2
#24 0x00002aaaabc0b2f9 in ?? () from /usr/lib/libtbb.so.2
#25 0x00002aaaab9dd182 in start_thread (arg=0x2aaab4ed1700) at pthread_create.c:312
#26 0x00002aaaacebf00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) f
#4 0x0000000001c545ea in TaskTrigger::~TaskTrigger (this=0x2aab3c0069f0, __in_chrg=<optimized out>) at controller/src/base/task_trigger.cc:42
42 assert(!trigger_);
(gdb)
Review in progress for https:/ /review. opencontrail. org/18874
Submitter: Ananth Suryanarayana (<email address hidden>)