Hi,

Valgrind reports "Conditional jump or move depends on uninitialised
value(s)" on test case 2019, "ovn.at:1229 ovn -- 3 HVs, 3 LS, 3 lports/LS,
1 LR". I have no clue about how to fix this error. Any comments are
appreciated.

At the end of the message, valgrind reports "Uninitialised value was
created by a stack allocation at 0x4404A0: xlate_actions
(ofproto-dpif-xlate.c:5061)". So I suspect that due to deep call stacks
caused by xlate_recursively(), maybe the stack size is not enough. So I
increase stack size to 512MB but still the same.

If you want to try, make valgrind more verbose by adding
VALGRIND = valgrind --log-file=valgrind.%p --leak-check=full \
    --track-origins=yes \
    --suppressions=$(abs_top_srcdir)/tests/glibc.supp \
    --suppressions=$(abs_top_srcdir)/tests/openssl.supp --num-callers=80

Regards,
William

-----
==2306== Conditional jump or move depends on uninitialised value(s)
==2306==    at 0x4E8E08: is_all_ones (util.c:1145)
==2306==    by 0x4911B5: commit (odp-util.c:5410)
==2306==    by 0x4913DB: commit_set_ether_addr_action (odp-util.c:5459)
==2306==    by 0x4913DB: commit_odp_actions (odp-util.c:5923)
==2306==    by 0x4385ED: xlate_commit_actions (ofproto-dpif-xlate.c:2919)
==2306==    by 0x43E91F: compose_output_action__ (ofproto-dpif-xlate.c:3142)
==2306==    by 0x43BEBD: compose_output_action (ofproto-dpif-xlate.c:3210)
==2306==    by 0x43BEBD: xlate_output_action (ofproto-dpif-xlate.c:3895)
==2306==    by 0x43D2E6: do_xlate_actions (ofproto-dpif-xlate.c:4474)
==2306==    by 0x43E155: xlate_recursively (ofproto-dpif-xlate.c:3229)
<... skip ...>
==2306==    by 0x43D544: do_xlate_actions (ofproto-dpif-xlate.c:4609)
==2306==    by 0x43E155: xlate_recursively (ofproto-dpif-xlate.c:3229)
==2306==    by 0x43E155: xlate_table_action (ofproto-dpif-xlate.c:3292)
==2306==    by 0x43D544: xlate_ofpact_resubmit (ofproto-dpif-xlate.c:3555)
==2306==    by 0x43D544: do_xlate_actions (ofproto-dpif-xlate.c:4609)
==2306==    by 0x440BFD: xlate_actions (ofproto-dpif-xlate.c:5324)
==2306==    by 0x429E2F: ofproto_dpif_execute_actions__
(ofproto-dpif.c:3736)
==2306==    by 0x42A064: ofproto_dpif_execute_actions (ofproto-dpif.c:3774)
==2306==    by 0x42A064: packet_out (ofproto-dpif.c:4424)
==2306==    by 0x41CDB1: handle_packet_out (ofproto.c:3402)
==2306==    by 0x4214CA: handle_openflow__ (ofproto.c:7239)
==2306==    by 0x4214CA: handle_openflow (ofproto.c:7403)
==2306==    by 0x4461D2: ofconn_run (connmgr.c:1379)
==2306==    by 0x4461D2: connmgr_run (connmgr.c:323)
==2306==    by 0x41AC05: ofproto_run (ofproto.c:1762)
==2306==    by 0x409DE3: bridge_run__ (bridge.c:2888)
==2306==    by 0x40F773: bridge_run (bridge.c:2943)
==2306==    by 0x406274: main (ovs-vswitchd.c:120)
==2306==  Uninitialised value was created by a stack allocation
==2306==    at 0x4404A0: xlate_actions (ofproto-dpif-xlate.c:5061)
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to