[Ubuntu 14.04 Icehouse R2.1 Build 28] Tor Agent carsh @ ovsdb_idl_row_is_synthetic

Bug #1421540 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Prabhjot Singh Sethi
R2.1
Fix Committed
High
Prabhjot Singh Sethi

Bug Description

Observed this Tor Agent crash after keeping setup idle overnight. Not sure about root cause.

#0 0x00000000011e9c3b in ovsdb_idl_row_is_synthetic ()
(gdb) bt
#0 0x00000000011e9c3b in ovsdb_idl_row_is_synthetic ()
#1 0x00000000011eba8e in ovsdb_idl_txn_delete ()
#2 0x0000000001201927 in vteprec_physical_locator_set_delete ()
#3 0x00000000011c0c7c in ovsdb_wrapper_delete_mcast_mac_remote (row=0x7faab819d920) at controller/src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_wrapper.c:546
#4 0x00000000011b19cf in OVSDB::LogicalSwitchEntry::DeleteMsg (this=0x7faac81eb930, txn=0x7faac8204ac0)
    at controller/src/vnsw/agent/ovs_tor_agent/ovsdb_client/logical_switch_ovsdb.cc:100
#5 0x00000000011bceb2 in OVSDB::OvsdbDBEntry::Delete (this=0x7faac81eb930) at controller/src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_entry.cc:103
#6 0x00000000012e95c3 in KSyncSM_Delete (entry=0x7faac81eb930) at controller/src/ksync/ksync_object.cc:606
#7 0x00000000012e9c1a in KSyncSM_DelPending_Ref (obj=0x7faac4021e20, entry=0x7faac81eb930, event=KSyncEntry::INT_PTR_REL)
    at controller/src/ksync/ksync_object.cc:922
#8 0x00000000012ea0ed in KSyncObject::NotifyEvent (this=0x7faac4021e20, entry=0x7faac81eb930, event=KSyncEntry::INT_PTR_REL)
    at controller/src/ksync/ksync_object.cc:1075
#9 0x00000000012e7939 in KSyncObject::SafeNotifyEvent (this=0x7faac4021e20, entry=0x7faac81eb930, event=KSyncEntry::INT_PTR_REL)
    at controller/src/ksync/ksync_object.cc:138
#10 0x00000000012e93dd in intrusive_ptr_release (p=0x7faac81eb930) at controller/src/ksync/ksync_object.cc:498
#11 0x00000000011b4d39 in boost::intrusive_ptr<KSyncEntry>::~intrusive_ptr (this=0x7faacd17d5e0, __in_chrg=<optimized out>)
    at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:97
#12 0x00000000011b50c5 in boost::intrusive_ptr<KSyncEntry>::operator= (this=0x7faac41c2228, rhs=0x0) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:135
#13 0x00000000011d382f in OVSDB::UnicastMacRemoteEntry::PostDelete (this=0x7faac41c2190)
    at controller/src/vnsw/agent/ovs_tor_agent/ovsdb_client/unicast_mac_remote_ovsdb.cc:80
#14 0x00000000011bced9 in OVSDB::OvsdbDBEntry::Delete (this=0x7faac41c2190) at controller/src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_entry.cc:105
#15 0x00000000012e95c3 in KSyncSM_Delete (entry=0x7faac41c2190) at controller/src/ksync/ksync_object.cc:606
#16 0x00000000012e996b in KSyncSM_InSync (obj=0x7faac41b4110, entry=0x7faac41c2190, event=KSyncEntry::DEL_REQ) at controller/src/ksync/ksync_object.cc:790
#17 0x00000000012ea061 in KSyncObject::NotifyEvent (this=0x7faac41b4110, entry=0x7faac41c2190, event=KSyncEntry::DEL_REQ)
    at controller/src/ksync/ksync_object.cc:1057
#18 0x00000000012e841b in KSyncDBObject::Notify (this=0x7faac41b4110, partition=0x7faac41a92f0, e=0x7faac41ab7b0) at controller/src/ksync/ksync_object.cc:282
#19 0x00000000012f494e in boost::_mfi::mf2<void, KSyncDBObject, DBTablePartBase*, DBEntryBase*>::operator() (this=0x7faacd17d9d8, p=0x7faac41b4110,
    a1=0x7faac41a92f0, a2=0x7faac41ab7b0) at /usr/include/boost/bind/mem_fn_template.hpp:280
#20 0x00000000012f380e in boost::_bi::list3<boost::_bi::value<KSyncDBObject*>, boost::arg<1>, boost::arg<2> >::operator()<boost::_mfi::mf2<void, KSyncDBObject, DBTablePartBase*, DBEntryBase*>, boost::_bi::list2<DBTablePartBase*&, DBEntryBase*&> > (this=0x7faacd17d9e8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:392
#21 0x00000000012f216e in boost::_bi::bind_t<void, boost::_mfi::mf2<void, KSyncDBObject, DBTablePartBase*, DBEntryBase*>, boost::_bi::list3<boost::_bi::value<KSyncDBObject*>, boost::arg<1>, boost::arg<2> > >::operator()<DBTablePartBase*, DBEntryBase*> (this=0x7faacd17d9d8, a1=@0x7faacd17d910: 0x7faac41a92f0,
    a2=@0x7faacd17d908: 0x7faac41ab7b0) at /usr/include/boost/bind/bind_template.hpp:61
#22 0x00000000012f0945 in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, KSyncDBObject, DBTablePartBase*, DBEntryBase*>, boost::_bi::list3<boost::_bi::value<KSyncDBObject*>, boost::arg<1>, boost::arg<2> > >, void, DBTablePartBase*, DBEntryBase*>::invoke (
    function_obj_ptr=..., a0=0x7faac41a92f0, a1=0x7faac41ab7b0) at /usr/include/boost/function/function_template.hpp:153
#23 0x0000000001670cfc in boost::function2<void, DBTablePartBase*, DBEntryBase*>::operator() (this=0x7faacd17d9d0, a0=0x7faac41a92f0, a1=0x7faac41ab7b0)
    at /usr/include/boost/function/function_template.hpp:767
#24 0x00000000016706f5 in DBTableBase::ListenerInfo::RunNotify (this=0x7faac41a92a0, tpart=0x7faac41a92f0, entry=0x7faac41ab7b0)
    at controller/src/db/db_table.cc:88
---Type <return> to continue, or q <return> to quit---
#25 0x000000000166f8bb in DBTableBase::RunNotify (this=0x7faac41a91a0, tpart=0x7faac41a92f0, entry=0x7faac41ab7b0) at controller/src/db/db_table.cc:132
#26 0x000000000167352b in DBTablePartBase::RunNotify (this=0x7faac41a92f0) at controller/src/db/db_table_partition.cc:45
#27 0x000000000166c864 in DBPartition::QueueRunner::Run (this=0x7faac82087f0) at controller/src/db/db_partition.cc:178
#28 0x00000000017a801c in TaskImpl::execute (this=0x7faacd357c40) at controller/src/base/task.cc:232
#29 0x00007faad4d00b3a in ?? () from /usr/lib/libtbb.so.2
#30 0x00007faad4cfc816 in ?? () from /usr/lib/libtbb.so.2
#31 0x00007faad4cfbf4b in ?? () from /usr/lib/libtbb.so.2
#32 0x00007faad4cf80ff in ?? () from /usr/lib/libtbb.so.2
#33 0x00007faad4cf82f9 in ?? () from /usr/lib/libtbb.so.2
#34 0x00007faad4f1c182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#35 0x00007faad3bbcfbd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Changed in juniperopenstack:
importance: Undecided → High
tags: added: blocker
information type: Proprietary → Public
Changed in juniperopenstack:
assignee: nobody → Prabhjot Singh Sethi (prabhjot)
Changed in juniperopenstack:
status: New → In Progress
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/7687
Committed: http://github.org/Juniper/contrail-controller/commit/71c93c89064c3c9fcdba4a2731c9287fb72bd8a2
Submitter: Zuul
Branch: R2.1

commit 71c93c89064c3c9fcdba4a2731c9287fb72bd8a2
Author: Prabhjot Singh Sethi <email address hidden>
Date: Sat Feb 21 05:52:42 2015 -0800

Fixing uninitialised variables in Logical Switch

Issue:
------
In one Logical switch constructor mcast row pointers were not
initialised, due to which on access results in segmentation
fault.

Fix:
----
initialising ovs mcast row pointer in constructor.

Change-Id: Iceaf544a6fa71b9cb8ebcafedf72ec46eec27d2f
Closes-Bug: 1421540

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/7688
Committed: http://github.org/Juniper/contrail-controller/commit/635e657e29fef4496f5c4174e0a972393db18219
Submitter: Zuul
Branch: master

commit 635e657e29fef4496f5c4174e0a972393db18219
Author: Prabhjot Singh Sethi <email address hidden>
Date: Sat Feb 21 05:52:42 2015 -0800

Fixing uninitialised variables in Logical Switch

Issue:
------
In one Logical switch constructor mcast row pointers were not
initialised, due to which on access results in segmentation
fault.

Fix:
----
initialising ovs mcast row pointer in constructor.

Closes-Bug: 1421540
(cherry picked from commit 71c93c89064c3c9fcdba4a2731c9287fb72bd8a2)

Change-Id: I4f453f699ee6342f0fdfd010ab67ef551ce4cef2

Changed in juniperopenstack:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.