Agent crash @FlowMgmtManager::EnqueueUveAddEvent

Bug #1571453 reported by amit surana
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Praveen
Trunk
Fix Committed
High
Praveen

Bug Description

full core : 10.84.5.112:/cs-shared/bugs/<bug-id>/

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 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:36
#0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:36
#1 0x00007fc7accd1df0 in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x00007fc7accd244c in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x0000000000c17308 in FlowMgmtManager::EnqueueUveAddEvent(FlowEntry const*) const ()
#4 0x0000000000c17694 in FlowMgmtManager::LogHandler(boost::shared_ptr<FlowMgmtRequest>) ()
#5 0x0000000000c1b9dc in boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<bool, boost::_mfi::mf1<bool, FlowMgmtManager, boost::shared_ptr<FlowMgmtRequest> >, boost::_bi::list2<boost::_bi::value<FlowMgmtManager*>, boost::arg<1> > >, bool, boost::shared_ptr<FlowMgmtRequest> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<FlowMgmtRequest>) ()
#6 0x0000000000c21f44 in QueueTaskRunner<boost::shared_ptr<FlowMgmtRequest>, WorkQueue<boost::shared_ptr<FlowMgmtRequest> > >::RunQueue() ()
#7 0x0000000001186b3c in TaskImpl::execute() ()
#8 0x00007fc7acf3bb3a in ?? () from /usr/lib/libtbb.so.2
#9 0x00007fc7acf37816 in ?? () from /usr/lib/libtbb.so.2
#10 0x00007fc7acf36f4b in ?? () from /usr/lib/libtbb.so.2
#11 0x00007fc7acf330ff in ?? () from /usr/lib/libtbb.so.2
#12 0x00007fc7acf332f9 in ?? () from /usr/lib/libtbb.so.2
#13 0x00007fc7ad157182 in start_thread (arg=0x7fc7a4df0700) at pthread_create.c:312
#14 0x00007fc7ac43047d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

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

Review in progress for https://review.opencontrail.org/19400
Submitter: Praveen K V (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19400
Committed: http://github.org/Juniper/contrail-controller/commit/c5be183ce4d8da1689819ff04f901da46ae488da
Submitter: Zuul
Branch: R3.0

commit c5be183ce4d8da1689819ff04f901da46ae488da
Author: Praveen K V <email address hidden>
Date: Tue Apr 19 00:02:10 2016 +0530

Fix parallel access to flow from LogHandler

1. Need to take lock for flow in LogHandler
2. Handle EVICT_FLOW event in FlowProto::GetToken

Change-Id: I4b97265c2d077c7f4a66e1a91d9d21cfd3267b6d
Closes-Bug: #1571453

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

Review in progress for https://review.opencontrail.org/19583
Submitter: Praveen K V (<email address hidden>)

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

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

commit d073ce93a81776f4b54e91faca3690960eb71eb2
Author: Praveen K V <email address hidden>
Date: Tue Apr 19 00:02:10 2016 +0530

Fix parallel access to flow from LogHandler

1. Need to take lock for flow in LogHandler
2. Handle EVICT_FLOW event in FlowProto::GetToken

Change-Id: I4b97265c2d077c7f4a66e1a91d9d21cfd3267b6d
Closes-Bug: #1571453

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.