vrouter-agen crash @ VnUveEntry::UpdatePortBitmap

Bug #1719578 reported by Vinoth Kannan Ganapathy
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Ashok Singh
R3.1
Fix Committed
High
Ashok Singh
R3.2
Fix Committed
High
Ashok Singh
R4.0
Fix Committed
High
Ashok Singh
R4.1
Fix Committed
High
Ashok Singh
Trunk
Fix Committed
High
Ashok Singh

Bug Description

contrail-version 4.1.0.0 build 63
ubuntu 16 SKU newton

BT is same as of one of the core reported in the bug
https://bugs.launchpad.net/juniperopenstack/+bug/1715061

[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 0x00007f8a794db428 in raise () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f8a7134c700 (LWP 2603))]
(gdb) bt
#0 0x00007f8a794db428 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f8a794dd02a in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f8a794d3bd7 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f8a794d3c82 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00007f8a7a356f68 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00000000010070c2 in VnUveEntry::UpdatePortBitmap(unsigned char, unsigned short, unsigned short) ()
#6 0x0000000000fd7b12 in VnUveTable::UpdateBitmap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char, unsigned short, unsigned short) ()
#7 0x0000000000ed4eb3 in FlowStatsCollector::NewFlow(FlowEntry*) ()
#8 0x0000000000ed7d9d in FlowStatsCollector::AddFlow(FlowExportInfo) ()
#9 0x0000000000ed8151 in FlowStatsCollector::RequestHandler(boost::shared_ptr<FlowExportReq>) ()
#10 0x0000000000edbd7f in boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, FlowStatsCollector, boost::shared_ptr<FlowExportReq> >, boost::_bi::list2<boost::_bi::value<FlowStatsCollector*>, boost::arg<1> > >, bool, boost::shared_ptr<FlowExportReq> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<FlowExportReq>) ()
#11 0x0000000000ee2966 in QueueTaskRunner<boost::shared_ptr<FlowExportReq>, WorkQueue<boost::shared_ptr<FlowExportReq> > >::RunQueue() ()
#12 0x00000000017ead8d in TaskImpl::execute() ()
#13 0x00007f8a7a136fdd in ?? () from /usr/lib/x86_64-linux-gnu/libtbb.so.2
#14 0x00007f8a7a1300dc in ?? () from /usr/lib/x86_64-linux-gnu/libtbb.so.2
#15 0x00007f8a7a12efd3 in ?? () from /usr/lib/x86_64-linux-gnu/libtbb.so.2
#16 0x00007f8a7a12aa91 in ?? () from /usr/lib/x86_64-linux-gnu/libtbb.so.2
#17 0x00007f8a7a12acf9 in ?? () from /usr/lib/x86_64-linux-gnu/libtbb.so.2
#18 0x00007f8a7a3546ba in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#19 0x00007f8a795ac82d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Tags: vrouter
Revision history for this message
Vinoth Kannan Ganapathy (vganapathy) wrote :

vganapathy@ubuntu-build04:/cs-shared/bugs/1719578$ pwd
/cs-shared/bugs/1719578
vganapathy@ubuntu-build04:/cs-shared/bugs/1719578$ ls
core.contrail-vroute.2583.5b8s37.1506421434

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

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

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

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

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

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

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

Review in progress for https://review.opencontrail.org/36402
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/36390
Committed: http://github.com/Juniper/contrail-controller/commit/5facf20aede897531da2a6a8062776b4eea134d2
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 5facf20aede897531da2a6a8062776b4eea134d2
Author: Ashok Singh R <email address hidden>
Date: Tue Oct 10 16:42:45 2017 +0530

Fix tsn agent crash

In TSN mode, ignore updation of flow-based statistics as they
never get exported.

The crash was seen because structures required for updation of
flow-based statistics are not initialized in TSN mode and we were
trying to update the statistics on them.

Closes-Bug: #1719578
(cherry picked from commit 70a8e018379757ca43572cf6931a9b2cf7666602)

Change-Id: Id12dba5564f39a3e2e58e75bb9f23a3ba22f8220

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

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

commit 70a8e018379757ca43572cf6931a9b2cf7666602
Author: Ashok Singh R <email address hidden>
Date: Tue Oct 10 16:42:45 2017 +0530

Fix tsn agent crash

In TSN mode, ignore updation of flow-based statistics as they
never get exported.

The crash was seen because structures required for updation of
flow-based statistics are not initialized in TSN mode and we were
trying to update the statistics on them.

Change-Id: Ia22dcf0dc1a393cfbc2bd6497a92929d87190c8f
Closes-Bug: #1719578

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

Reviewed: https://review.opencontrail.org/36401
Committed: http://github.com/Juniper/contrail-controller/commit/080a22b71de3208beb145e3891ac5874ad8af245
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 080a22b71de3208beb145e3891ac5874ad8af245
Author: Ashok Singh R <email address hidden>
Date: Tue Oct 10 16:42:45 2017 +0530

Fix tsn agent crash

In TSN mode, ignore updation of flow-based statistics as they
never get exported.

The crash was seen because structures required for updation of
flow-based statistics are not initialized in TSN mode and we were
trying to update the statistics on them.

Closes-Bug: #1719578
(cherry picked from commit 70a8e018379757ca43572cf6931a9b2cf7666602)

Change-Id: I6394d52610bb38fc1089b643221f095955cb5cce

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

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

commit b833d1671c1c6ada7c2245bd4f15aacff0fb4ade
Author: Ashok Singh R <email address hidden>
Date: Tue Oct 10 16:42:45 2017 +0530

Fix tsn agent crash

In TSN mode, ignore updation of flow-based statistics as they
never get exported.

The crash was seen because structures required for updation of
flow-based statistics are not initialized in TSN mode and we were
trying to update the statistics on them.

Closes-Bug: #1719578
(cherry picked from commit 70a8e018379757ca43572cf6931a9b2cf7666602)

Change-Id: I185f2683bd26cb005252144d133a73911ed89039

Ashok Singh (ashoksr)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

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

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

Review in progress for https://review.opencontrail.org/36415
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/36414
Committed: http://github.com/Juniper/contrail-controller/commit/02b459d5c945136cb6f80ada12ca06c4b8643cf2
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 02b459d5c945136cb6f80ada12ca06c4b8643cf2
Author: Ashok Singh R <email address hidden>
Date: Wed Oct 11 14:46:31 2017 +0530

Fix tsn agent crash

In TSN mode, ignore updation of flow-based statistics as they
never get exported.

The crash was seen because structures required for updation of
flow-based statistics are not initialized in TSN mode and we were
trying to update the statistics on them.

Change-Id: If038f0a3e69e5d9763d3ddd2056b25c788a1b922
Closes-Bug: #1719578

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

Reviewed: https://review.opencontrail.org/36415
Committed: http://github.com/Juniper/contrail-controller/commit/157a540604fcc8c72f472cc0250c8316d291d40b
Submitter: Zuul (<email address hidden>)
Branch: R3.0

commit 157a540604fcc8c72f472cc0250c8316d291d40b
Author: Ashok Singh R <email address hidden>
Date: Wed Oct 11 14:46:31 2017 +0530

Fix tsn agent crash

In TSN mode, ignore updation of flow-based statistics as they
never get exported.

The crash was seen because structures required for updation of
flow-based statistics are not initialized in TSN mode and we were
trying to update the statistics on them.

Closes-Bug: #1719578
(cherry picked from commit 02b459d5c945136cb6f80ada12ca06c4b8643cf2)

Change-Id: I13a98ef5b760e644b94265693934862ffd295ba3

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.