R4.1-contrail-vrouter-agent core during sanity run

Bug #1729888 reported by Sudheendra Rao
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Critical
Ashok Singh
Trunk
Fix Committed
Critical
Ashok Singh

Bug Description

vrouter-agent core is seen on R4.1 build34 mitaka during sanity run.
The back trace is:

[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 SIGABRT, Aborted.
#0 0x00007fcbea336c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007fcbea336c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fcbea33a028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007fcbea32fbf6 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007fcbea32fca2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00000000011372e4 in InterfaceUveTable::UveInterfaceEntry::UpdateCounters(FlowUveFwPolicyInfo const&, InterfaceUveTable::UveSecurityPolicyStats*) ()
#5 0x000000000113ac77 in InterfaceUveTable::UveInterfaceEntry::UpdateInterfaceFwPolicyStats(FlowUveFwPolicyInfo const&) ()
#6 0x0000000000ed9dbe in StatsManager::AddFlow(FlowUveStatsRequest const*) ()
#7 0x0000000000eda2e5 in StatsManager::RequestHandler(boost::shared_ptr<FlowUveStatsRequest>) ()
#8 0x0000000000edb6cc in boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, StatsManager, boost::shared_ptr<FlowUveStatsRequest> >, boost::_bi::list2<boost::_bi::value<StatsManager*>, boost::arg<1> > >, bool, boost::shared_ptr<FlowUveStatsRequest> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<FlowUveStatsRequest>) ()
#9 0x0000000000ede31a in QueueTaskRunner<boost::shared_ptr<FlowUveStatsRequest>, WorkQueue<boost::shared_ptr<FlowUveStatsRequest> > >::RunQueue() ()
#10 0x00000000015c7047 in TaskImpl::execute() ()
#11 0x00007fcbeaf05b3a in ?? () from /usr/lib/libtbb.so.2
#12 0x00007fcbeaf01816 in ?? () from /usr/lib/libtbb.so.2
#13 0x00007fcbeaf00f4b in ?? () from /usr/lib/libtbb.so.2
#14 0x00007fcbeaefd0ff in ?? () from /usr/lib/libtbb.so.2
#15 0x00007fcbeaefd2f9 in ?? () from /usr/lib/libtbb.so.2
#16 0x00007fcbeb121184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#17 0x00007fcbea3fa37d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb)

The core file is stored in:
/cs-shared/bugs/<bug-id>

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

core file is not in /cs-shared/bugs

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/37192
Submitter: Ashok Singh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/37196
Submitter: Ashok Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/37196
Committed: http://github.com/Juniper/contrail-controller/commit/cf75eafb3aff63be401e12ad7382457eb18fc9ac
Submitter: Zuul (<email address hidden>)
Branch: master

commit cf75eafb3aff63be401e12ad7382457eb18fc9ac
Author: Ashok Singh R <email address hidden>
Date: Mon Nov 6 15:28:37 2017 +0530

Fix vrouter-agent crash

1. Do not update stats on deleted marked interfaces as it is not used
2. Handle the case where SLO entry does not have any state set yet.

Closes-Bug: #1729888
Closes-Bug: #1729838
(cherry picked from commit 05bcce97a7591b98fd7a504ac0d81555782d81e5)

Change-Id: I6e663d439fd04771218da18c883738f10e0a71de

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

Reviewed: https://review.opencontrail.org/37192
Committed: http://github.com/Juniper/contrail-controller/commit/05bcce97a7591b98fd7a504ac0d81555782d81e5
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 05bcce97a7591b98fd7a504ac0d81555782d81e5
Author: Ashok Singh R <email address hidden>
Date: Mon Nov 6 15:28:37 2017 +0530

Fix vrouter-agent crash

1. Do not update stats on deleted marked interfaces as it is not used
2. Handle the case where SLO entry does not have any state set yet.

Change-Id: If91f02c756ea26213be5163b30ca1527a1421c00
Closes-Bug: #1729888
Closes-Bug: #1729838

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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