unable to delete a flow using flow -d

Bug #1539813 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Anand H. Krishnan

Bug Description

(cc) root@a5s6:~# gdb flow

(gdb) run -d 42244
Starting program: /usr/bin/flow -d 42244

Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:158
158 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.
(gdb) bt
#0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:158
#1 0x0000000000402a94 in memcpy (__len=<optimized out>, __src=0x7ffff3b75c0c, __dest=0x0) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
#2 flow_validate (flow_index=<optimized out>, action=<optimized out>) at vrouter/utils/flow.c:725
#3 0x000000000040159a in main (argc=<optimized out>, argv=<optimized out>) at vrouter/utils/flow.c:897
(gdb) quit

    Index Source:Port/Destination:Port Proto(V)
-----------------------------------------------------------------------------------
    42244<=>498712 10.84.14.6:52959 6 (0->1)
                         169.254.0.4:22
    (K(nh):5, Action:N(SD), Flags:, TCP:, S(nh):5, Statistics:8/560 UdpSrcPort 65414)

   498712<=>42244 10.0.0.4:22 6 (1->0)
                         10.0.0.2:52959
    (K(nh):33, Action:N(SD), Flags:, TCP:, S(nh):33, Statistics:4/536 UdpSrcPort 49328)

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

Review in progress for https://review.opencontrail.org/17174
Submitter: Anand H. Krishnan (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17174
Committed: http://github.org/Juniper/contrail-vrouter/commit/9f0fcc35a5782e36ffce3447a832c5c12856d3ee
Submitter: Zuul
Branch: master

commit 9f0fcc35a5782e36ffce3447a832c5c12856d3ee
Author: Anand H. Krishnan <email address hidden>
Date: Fri Feb 12 14:34:22 2016 +0530

Allocate memory for ip address in the flow request

Post ipv6 support, the type of the member that held the ip address
has changed from an integer to a pointer. Hence, memory also needs
to be allocated whenever we want to send a request to the datapath
for creating/deleting flows.

Change-Id: If38085c061858338d0ba87016d6c55bd1cd7aebc
Closes-BUG: #1539813

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.