Comment 1 for bug 1577517

Revision history for this message
Hari Prasad Killi (haripk) wrote :

(gdb) p ((VrfEntry *) 0x7f36182c1260)->refcount_
$3 = (tbb::atomic) 2

(gdb) p (DBEntry *) 0x7f363020a580
$4 = (CompositeNH *) 0x7f363020a570
(gdb) p (DBEntry *) 0x7f361427e210
$5 = (CompositeNH *) 0x7f361427e200
(gdb) p *$4
$6 = (CompositeNH) {
  <NextHop> = {
    <AgentRefCount<NextHop>> = {
      _vptr.AgentRefCount = 0x108ee90 <vtable for CompositeNH+16>,
      refcount_ = (tbb::atomic) 1
    },
    <AgentDBEntry> = {
      <DBEntry> = {
        <DBEntryBase> = {
          _vptr.DBEntryBase = 0x108ef18 <vtable for CompositeNH+152>,
          chg_list_ = <boost::intrusive_hook> next = 0x0 prev = 0x0,
          tpart_ = 0x7f36380152d0,
          state_ = std::map with 3 elements = {
            [0] = 0x7f36300c1830,
            [1] = 0x7f363021ce90,
            [2] = 0x7f3630104010
          },
          flags = 0 '\000',
          onremoveq_ = (tbb::atomic) false,
          last_change_at_ = 1462040507773241
        },
        members of DBEntry:
        node_ = <boost::intrusive_hook> parent = 0x7f36340d5c10 left = 0x7f3610191570 right = 0x7f361c102090
      },
      members of AgentDBEntry:
      flags_ = 0 '\000'
    },
    members of NextHop:
    static kInvalidIndex = 4294967295,
    type_ = NextHop::COMPOSITE,
    valid_ = true,
    policy_ = false,
    id_ = 883
  },
  members of CompositeNH:
  static kInvalidComponentNHIdx = 4294967295,
  composite_nh_type_ = Composite::L2COMP,
  component_nh_key_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNHKey const>) (count 2, weak count 1) 0x7f36301bc400},
  component_nh_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNH const>) (count 1, weak count 1) 0x7f36301fc9b0},
  vrf_ = (boost::intrusive_ptr<VrfEntry>) 0x7f36182c1260
}
(gdb) p *$5
$7 = (CompositeNH) {
  <NextHop> = {
    <AgentRefCount<NextHop>> = {
      _vptr.AgentRefCount = 0x108ee90 <vtable for CompositeNH+16>,
      refcount_ = (tbb::atomic) 1
    },
    <AgentDBEntry> = {
      <DBEntry> = {
        <DBEntryBase> = {
          _vptr.DBEntryBase = 0x108ef18 <vtable for CompositeNH+152>,
          chg_list_ = <boost::intrusive_hook> next = 0x0 prev = 0x0,
          tpart_ = 0x7f36380152d0,
          state_ = std::map with 3 elements = {
            [0] = 0x7f36141a07b0,
            [1] = 0x7f36142cfbd0,
            [2] = 0x7f361403b2f0
          },
          flags = 0 '\000',
          onremoveq_ = (tbb::atomic) false,
          last_change_at_ = 1462040507472091
        },
        members of DBEntry:
        node_ = <boost::intrusive_hook> parent = 0x7f36303442e0 left = 0x7f36142c8be0 right = 0x7f36402a0110
      },
      members of AgentDBEntry:
      flags_ = 0 '\000'
    },
    members of NextHop:
    static kInvalidIndex = 4294967295,
    type_ = NextHop::COMPOSITE,
    valid_ = true,
    policy_ = false,
    id_ = 884
  },
  members of CompositeNH:
  static kInvalidComponentNHIdx = 4294967295,
  composite_nh_type_ = Composite::EVPN,
  component_nh_key_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNHKey const>) (count 3, weak count 1) 0x7f36141ded80},
  component_nh_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNH const>) (count 1, weak count 1) 0x7f3614083120},
  vrf_ = (boost::intrusive_ptr<VrfEntry>) 0x7f36182c1260
}