Hi, Valgrind testcase 2029: ovn -- 3 HVs, 3 LS, 3 lports/LS, 1 LR reports acquiring an uninitialized mutex_lock at ovs_mutex_lock(&umap->mutex). It seems that udpif_create() already initializes all the mutex_lock of udpif->ukeys. I have no clue about how to solve it. Any comments are appreciated.
Command: ovs-vswitchd --enable-dummy=system -vvconn -vofproto_dpif -vunixctl -vconsole:off --detach --no-chdir --pidfile --log-file ==32048== Use of uninitialised value of size 8 ==32048== at 0x4C023C: ovs_mutex_lock_at (ovs-thread.c:76) ==32048== by 0x43486F: ukey_install_start (ofproto-dpif-upcall.c:1572) ==32048== by 0x434BE7: ukey_install (ofproto-dpif-upcall.c:1634) ==32048== by 0x434BE7: upcall_cb (ofproto-dpif-upcall.c:1174) ==32048== by 0x458AF3: dp_netdev_upcall.isra.20 (dpif-netdev.c:3265) ==32048== by 0x45CD90: fast_path_processing (dpif-netdev.c:3518) ==32048== by 0x45D62F: dp_netdev_input__ (dpif-netdev.c:3623) ==32048== by 0x45E06E: dp_netdev_recirculate (dpif-netdev.c:3647) ==32048== by 0x45E06E: dp_execute_cb (dpif-netdev.c:3842) ==32048== by 0x4820EA: odp_execute_actions (odp-execute.c:533) ==32048== by 0x45E94B: dp_netdev_execute_actions (dpif-netdev.c:3882) ==32048== by 0x45E94B: dpif_netdev_execute (dpif-netdev.c:2368) ==32048== by 0x45E94B: dpif_netdev_operate (dpif-netdev.c:2397) ==32048== by 0x46043B: dpif_operate (dpif.c:1228) ==32048== by 0x460B37: dpif_execute.part.14 (dpif.c:1193) ==32048== by 0x460C91: dpif_execute (dpif.c:1185) ==32048== by 0x460C91: dpif_execute_helper_cb (dpif.c:1132) ==32048== by 0x4820EA: odp_execute_actions (odp-execute.c:533) ==32048== by 0x4603C1: dpif_execute_with_help (dpif.c:1169) ==32048== by 0x4603C1: dpif_operate (dpif.c:1283) ==32048== by 0x460B37: dpif_execute.part.14 (dpif.c:1193) ==32048== by 0x428CE0: ofproto_dpif_execute_actions__ (ofproto-dpif.c:3718) ==32048== by 0x428DAA: ofproto_dpif_execute_actions (ofproto-dpif.c:3735) ==32048== by 0x428DAA: packet_out (ofproto-dpif.c:4385) ==32048== by 0x41C5E1: handle_packet_out (ofproto.c:3395) ==32048== by 0x420B0A: handle_openflow__ (ofproto.c:7219) ==32048== by 0x420B0A: handle_openflow (ofproto.c:7383) ==32048== by 0x444D22: ofconn_run (connmgr.c:1376) ==32048== by 0x444D22: connmgr_run (connmgr.c:320) Regards, William _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev