Comment 3 for bug 1430091

Revision history for this message
Prakash Bailkeri (prakashmb) wrote : Re: [2.1-Build 39] control-node crashed and collector got initializing while deleting logical interfaces

BT in core.contrail-contro.31697.system001.1425942458

(gdb) bt
#0 0x00007f87939aabb9 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f87939adfc8 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f87939a3a76 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f87939a3b22 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000a47f70 in LabelBlock::~LabelBlock (this=0x7f877e9e1040, __in_chrg=<optimized out>) at controller/src/base/label_block.cc:69
#5 0x0000000000450498 in intrusive_ptr_release (block=0x7f877e9e1040) at controller/src/base/label_block.h:119
#6 0x00000000005aae46 in ~intrusive_ptr (this=0x7f877e718658, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:97
#7 ~Edge (this=0x7f877e718650, __in_chrg=<optimized out>) at controller/src/bgp/bgp_attr.h:275
#8 STLDeleteValues<std::vector<EdgeDiscovery::Edge*> > (container=0x7f877e907510) at controller/src/base/util.h:77
#9 EdgeDiscovery::~EdgeDiscovery (this=0x7f877e907510, __in_chrg=<optimized out>) at controller/src/bgp/bgp_attr.cc:310
#10 0x00000000005afe48 in intrusive_ptr_release (ediscovery=0x7f877e907510) at controller/src/bgp/bgp_attr.h:299
#11 ~intrusive_ptr (this=0x7f877e8fdd50, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:97
#12 BgpAttr::~BgpAttr (this=0x7f877e8fdca0, __in_chrg=<optimized out>) at controller/src/bgp/bgp_attr.h:499
#13 0x00000000005aff39 in BgpAttr::~BgpAttr (this=0x7f877e8fdca0, __in_chrg=<optimized out>) at controller/src/bgp/bgp_attr.h:499
#14 0x00000000005d5b7b in intrusive_ptr_release (cattrp=0x7f877e8fdca0) at controller/src/bgp/bgp_attr.h:603
#15 ~intrusive_ptr (this=0x7f877e8eab90, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:97
#16 ~BgpPath (this=0x7f877e8eab60, __in_chrg=<optimized out>) at controller/src/bgp/bgp_path.h:117
#17 ~BgpSecondaryPath (this=0x7f877e8eab60, __in_chrg=<optimized out>) at controller/src/bgp/bgp_path.h:146
#18 BgpSecondaryPath::~BgpSecondaryPath (this=0x7f877e8eab60, __in_chrg=<optimized out>) at controller/src/bgp/bgp_path.h:147
#19 0x0000000000660565 in BgpRoute::RemoveSecondaryPath (this=this@entry=0x7f877e8c56d0, src_rt=src_rt@entry=0x7f877e8a4260, src=BgpPath::Local, peer=peer@entry=0x0, path_id=path_id@entry=0) at controller/src/bgp/bgp_route.cc:224
#20 0x00000000007a245f in RoutePathReplicator::DeleteSecondaryPath (this=this@entry=0x1c47fb0, table=table@entry=0x7f87802e6b30, rt=rt@entry=0x7f877e8a4260, rtinfo=...) at controller/src/bgp/routing-instance/routepath_replicator.cc:549
#21 0x00000000007a3a7c in RoutePathReplicator::DBStateSync (this=0x1c47fb0, table=0x7f87802e6b30, rt=0x7f877e8a4260, id=1, dbstate=0x7f877e63cc40, current=...) at controller/src/bgp/routing-instance/routepath_replicator.cc:326
#22 0x00000000007a5b12 in RoutePathReplicator::BgpTableListener (this=0x1c47fb0, root=<optimized out>, entry=0x7f877e8a4260) at controller/src/bgp/routing-instance/routepath_replicator.cc:413
#23 0x0000000000a03192 in operator() (a1=0x7f877e8a4260, a0=0x7f8780dc6680, this=0x7f878c621ac0) at /usr/include/boost/function/function_template.hpp:767
#24 RunNotify (entry=0x7f877e8a4260, tpart=0x7f8780dc6680, this=0x7f8780dca030) at controller/src/db/db_table.cc:88
#25 DBTableBase::RunNotify (this=<optimized out>, tpart=tpart@entry=0x7f8780dc6680, entry=entry@entry=0x7f877e8a4260) at controller/src/db/db_table.cc:132
#26 0x0000000000a05098 in DBTablePartBase::RunNotify (this=this@entry=0x7f8780dc6680) at controller/src/db/db_table_partition.cc:45
#27 0x0000000000a01e4d in DBPartition::QueueRunner::Run (this=0x7f875819fad0) at controller/src/db/db_partition.cc:178
#28 0x0000000000a5e490 in TaskImpl::execute (this=0x7f878d1ebd40) at controller/src/base/task.cc:232
#29 0x00007f8794782b3a in ?? () from /usr/lib/libtbb.so.2
#30 0x00007f879477e816 in ?? () from /usr/lib/libtbb.so.2
#31 0x00007f879477df4b in ?? () from /usr/lib/libtbb.so.2
#32 0x00007f879477a0ff in ?? () from /usr/lib/libtbb.so.2
#33 0x00007f879477a2f9 in ?? () from /usr/lib/libtbb.so.2
#34 0x00007f879499e182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#35 0x00007f8793a6efbd in clone () from /lib/x86_64-linux-gnu/libc.so.6

(gdb) p this
$2 = (LabelBlock * const) 0x7f877e9e1040
(gdb) p *this
$3 = {
  block_manager_ = (boost::intrusive_ptr<LabelBlockManager>) 0x0,
  first_ = 0,
  last_ = 0,
  prev_pos_ = 0,
  refcount_ = {
    <tbb::internal::atomic_impl_with_arithmetic<int, int, char>> = {
      <tbb::internal::atomic_impl<int>> = {
        my_storage = {
          my_value = 0
        }
      }, <No data fields>}, <No data fields>},
  mutex_ = {
    static is_rw_mutex = false,
    static is_recursive_mutex = false,
    static is_fair_mutex = false,
    impl = {
      __data = {
        __lock = 0,
        __count = 0,
        __owner = 0,
        __nusers = 0,
        __kind = 0,
        __spins = 0,
        __elision = 0,
        __list = {
          __prev = 0x0,
          __next = 0x0
        }
      },
      __size = '\000' <repeats 39 times>,
      __align = 0
    }
  },
  used_bitset_ = {
    static npos = 18446744073709551615,
    blocks_ = std::vector of length 1, capacity 1 = {1}
  }
}