vrouter-agent:Agent crashed at WorkQueue<boost::shared_ptr<FlowMgmtRequest> >::Description

Bug #1587364 reported by Sandip Dey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Undecided
Hari Prasad Killi
Trunk
Fix Committed
Undecided
Hari Prasad Killi
OpenContrail
Fix Committed
Undecided
Hari Prasad Killi

Bug Description

[Build "Ubuntu 14.04.4 LTS" 3.0.2.0-44~liberty] Single Node Sanity Report

Same observed in juno R3.0 44 build

bt
===
(gdb) bt
#0 size (this=0x328) at /usr/include/c++/4.8/bits/basic_string.h:716
#1 empty (this=0x328) at /usr/include/c++/4.8/bits/basic_string.h:812
#2 WorkQueue<boost::shared_ptr<FlowMgmtRequest> >::Description (this=this@entry=0x2d0) at controller/src/base/queue_task.h:372
#3 0x0000000000c4bbe1 in SetFlowMgmtQueueStats (stats=0x7f8683047eb8, queue=0x2d0, agent=0x1ee1dc0) at controller/src/vnsw/agent/pkt/flow_proto.cc:751
#4 FlowProto::SetProfileData (this=0x7f8674ad00b0, data=0x7f8683047dd0) at controller/src/vnsw/agent/pkt/flow_proto.cc:790
#5 0x00000000009cd41d in operator() (a0=0x7f8683047dd0, this=0x7f86830ec1e0) at /usr/include/boost/function/function_template.hpp:767
#6 AgentProfile::TimerRun (this=0x7f8683044010) at controller/src/vnsw/agent/oper/agent_profile.cc:52
#7 0x00000000011bebf9 in operator() (this=<optimized out>) at /usr/include/boost/function/function_template.hpp:767
#8 Timer::TimerTask::Run (this=0x1ef16f0) at controller/src/base/timer.cc:42

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

Agent profile is trying to fetch data even before agent init is complete, resulting in this crash.

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

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

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

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

commit b511d9d75c48072e8574cb57153822a24cee1ffa
Author: Hari <email address hidden>
Date: Tue May 31 15:24:27 2016 +0530

Start agent profile timer after agent init is completed.

Change-Id: I8d18a056cc672a3f859b5d66c6c24e692bec0882
closes-bug: #1587364

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

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

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

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

commit de4f09a2108e0c815951278c9dffe98c576a8415
Author: Hari <email address hidden>
Date: Tue May 31 15:24:27 2016 +0530

Start agent profile timer after agent init is completed.

Conflicts:
 src/vnsw/agent/oper/agent_profile.cc
 src/vnsw/agent/oper/agent_profile.h

Change-Id: I8d18a056cc672a3f859b5d66c6c24e692bec0882
closes-bug: #1587364
(cherry picked from commit b511d9d75c48072e8574cb57153822a24cee1ffa)

Changed in opencontrail:
status: New → 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.