vrouter-agent crash at MulticastGroupObject::set_vxlan_id while changing vxlan id

Bug #1456954 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Manish Singh
R2.20
Fix Committed
High
Manish Singh

Bug Description

R2.20 16 Ubuntu 14.04 juno multi-node setup

Seen while changing vxlan mode from automatic to configured and configured vxlan on few vns.

Core will be in http://10.204.216.50/Docs/bugs/#

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/contrail-vrouter-agent'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000013fade8 in MulticastGroupObject::set_vxlan_id (this=0x0, vxlan_id=0) at controller/src/vnsw/agent/oper/multicast.h:117
117 controller/src/vnsw/agent/oper/multicast.h: No such file or directory.
(gdb) bt
#0 0x00000000013fade8 in MulticastGroupObject::set_vxlan_id (this=0x0, vxlan_id=0) at controller/src/vnsw/agent/oper/multicast.h:117
#1 0x00000000013f60f7 in MulticastHandler::HandleTsnSubscription (this=0x7f847c02b010, partition=0x7f847c021270, e=0x7f8438053460) at controller/src/vnsw/agent/oper/multicast.cc:157
#2 0x00000000013f6566 in MulticastHandler::ModifyVN (this=0x7f847c02b010, partition=0x7f847c021270, e=0x7f8438053460) at controller/src/vnsw/agent/oper/multicast.cc:225
#3 0x0000000001403f20 in boost::_mfi::mf2<void, MulticastHandler, DBTablePartBase*, DBEntryBase*>::operator() (this=0x7f84841dda98, p=0x7f847c02b010, a1=0x7f847c021270, a2=0x7f8438053460)
    at /usr/include/boost/bind/mem_fn_template.hpp:280
#4 0x00000000014038f8 in boost::_bi::list3<boost::_bi::value<MulticastHandler*>, boost::arg<1>, boost::arg<2> >::operator()<boost::_mfi::mf2<void, MulticastHandler, DBTablePartBase*, DBEntryBase*>, boost::_bi::list2<DBTablePartBase*&, DBEntryBase*&> > (this=0x7f84841ddaa8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:392
#5 0x0000000001402ed2 in boost::_bi::bind_t<void, boost::_mfi::mf2<void, MulticastHandler, DBTablePartBase*, DBEntryBase*>, boost::_bi::list3<boost::_bi::value<MulticastHandler*>, boost::arg<1>, boost::arg<2> > >::operator()<DBTablePartBase*, DBEntryBase*> (this=0x7f84841dda98, a1=@0x7f84841dd9d0: 0x7f847c021270, a2=@0x7f84841dd9c8: 0x7f8438053460)
    at /usr/include/boost/bind/bind_template.hpp:61
#6 0x00000000014012d3 in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, MulticastHandler, DBTablePartBase*, DBEntryBase*>, boost::_bi::list3<boost::_bi::value<MulticastHandler*>, boost::arg<1>, boost::arg<2> > >, void, DBTablePartBase*, DBEntryBase*>::invoke (function_obj_ptr=..., a0=0x7f847c021270, a1=0x7f8438053460)
    at /usr/include/boost/function/function_template.hpp:153
#7 0x0000000001b50c18 in boost::function2<void, DBTablePartBase*, DBEntryBase*>::operator() (this=0x7f84841dda90, a0=0x7f847c021270, a1=0x7f8438053460)
    at /usr/include/boost/function/function_template.hpp:767
#8 0x0000000001b50211 in DBTableBase::ListenerInfo::RunNotify (this=0x7f847c021190, tpart=0x7f847c021270, entry=0x7f8438053460) at controller/src/db/db_table.cc:114
#9 0x0000000001b4ef53 in DBTableBase::RunNotify (this=0x7f847c020020, tpart=0x7f847c021270, entry=0x7f8438053460) at controller/src/db/db_table.cc:195
#10 0x0000000001b54ea3 in DBTablePartBase::RunNotify (this=0x7f847c021270) at controller/src/db/db_table_partition.cc:46
#11 0x0000000001b4be82 in DBPartition::QueueRunner::Run (this=0x7f847c104d00) at controller/src/db/db_partition.cc:199
#12 0x0000000001ca575c in TaskImpl::execute (this=0x7f8484396a40) at controller/src/base/task.cc:232
#13 0x00007f848b726b3a in ?? () from /usr/lib/libtbb.so.2
#14 0x00007f848b722816 in ?? () from /usr/lib/libtbb.so.2
#15 0x00007f848b721f4b in ?? () from /usr/lib/libtbb.so.2
#16 0x00007f848b71e0ff in ?? () from /usr/lib/libtbb.so.2
#17 0x00007f848b71e2f9 in ?? () from /usr/lib/libtbb.so.2
#18 0x00007f848b942182 in start_thread (arg=0x7f84841de700) at pthread_create.c:312
#19 0x00007f848ac1b47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)

Tags: bms vrouter
Revision history for this message
Manish Singh (manishs) wrote :

Listener is re-used and state was not removed.

Revision history for this message
Manish Singh (manishs) wrote :

This is not issue with VRF so removing duplicacy.

Changed in juniperopenstack:
milestone: none → r2.30-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10984
Submitter: Hari Prasad Killi (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/11017
Submitter: Hari Prasad Killi (<email address hidden>)

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/10984
Committed: http://github.org/Juniper/contrail-controller/commit/ec2a215a291900b144da8f695f77253a8c97382e
Submitter: Zuul
Branch: R2.20

commit ec2a215a291900b144da8f695f77253a8c97382e
Author: Hari <email address hidden>
Date: Thu May 28 19:14:17 2015 +0530

Add NULL check for multicast object.

Change-Id: I3e8b09335aa6462a2e79d096d75590a31aa476fa
closes-bug: 1456954

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

Reviewed: https://review.opencontrail.org/11017
Committed: http://github.org/Juniper/contrail-controller/commit/772b171d2a3a3a29b8197d9c0455905af607a89d
Submitter: Zuul
Branch: master

commit 772b171d2a3a3a29b8197d9c0455905af607a89d
Author: Hari <email address hidden>
Date: Fri May 29 09:06:51 2015 +0530

Add NULL check for multicast object.

Change-Id: I2e4c5f741a4c8c366e909a69a46fd822c0cca95a
closes-bug: 1456954

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.