vrouter agent assert at FlowTable::DeleteByIndex

Bug #1520494 reported by Hari Prasad Killi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Hari Prasad Killi

Bug Description

#0 0x00007f927e866cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f927e86a0d8 in __GI_abort () at abort.c:89
#2 0x00007f927e85fb86 in __assert_fail_base (fmt=0x7f927e9b0830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x110e8f5 "0",
    file=file@entry=0x113eff0 "controller/src/vnsw/agent/pkt/flow_table.cc", line=line@entry=511,
    function=function@entry=0x113f560 <FlowTable::DeleteByIndex(unsigned int, FlowEntry*)::__PRETTY_FUNCTION__> "void FlowTable::DeleteByIndex(uint32_t, FlowEntry*)") at assert.c:92
#3 0x00007f927e85fc32 in __GI___assert_fail (assertion=0x110e8f5 "0", file=0x113eff0 "controller/src/vnsw/agent/pkt/flow_table.cc", line=511,
    function=0x113f560 <FlowTable::DeleteByIndex(unsigned int, FlowEntry*)::__PRETTY_FUNCTION__> "void FlowTable::DeleteByIndex(uint32_t, FlowEntry*)")
    at assert.c:101
#4 0x0000000000b7f0ec in FlowTable::DeleteByIndex (this=<optimized out>, flow_handle=<optimized out>, fe=<optimized out>)
    at controller/src/vnsw/agent/pkt/flow_table.cc:511
#5 0x0000000000b80281 in FlowTable::DeleteInternal (this=this@entry=0x7f92680c4410, it=..., time=time@entry=1448571335866551)
    at controller/src/vnsw/agent/pkt/flow_table.cc:242
#6 0x0000000000b80507 in FlowTable::Delete (this=0x7f92680c4410, key=..., del_reverse_flow=<optimized out>)
    at controller/src/vnsw/agent/pkt/flow_table.cc:285
#7 0x0000000000b94152 in FlowProto::FlowEventHandler (this=<optimized out>, req=...) at controller/src/vnsw/agent/pkt/flow_proto.cc:191
#8 0x0000000000b97e98 in operator() (a0=<error reading variable: access outside bounds of object referenced via synthetic pointer>, this=0x7f924effa940)
    at /usr/include/boost/function/function_template.hpp:767
#9 QueueTaskRunner<FlowEvent, WorkQueue<FlowEvent> >::RunQueue (this=0x7f920c074c90) at controller/src/base/queue_task.h:81
#10 0x00000000010cb3e0 in TaskImpl::execute (this=0x7f9278003340) at controller/src/base/task.cc:238

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

Review in progress for https://review.opencontrail.org/15454
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/15454
Committed: http://github.org/Juniper/contrail-controller/commit/99647cd78c2165c9c6c8390e86ce4604996c2086
Submitter: Zuul
Branch: master

commit 99647cd78c2165c9c6c8390e86ce4604996c2086
Author: Hari <email address hidden>
Date: Fri Nov 27 14:55:02 2015 +0530

Ensure vrouter_evicted_flow flag is not overwritten.

Assert only if the flow is not evicted.

Change-Id: I8a805a04750f78e87d717567e931fc0510e52cb9
closes-bug: 1520494

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.