Hi All,
I just got the following feedback from the robot, but it does not look like any
of the code this patchset is touching:
==17733==ERROR: AddressSanitizer: heap-use-after-free on address 0x614000000c50
at pc 0x000000536627 bp 0x7f96d7ffd990 sp 0x7f96d7ffd988
READ of size 8 at 0x614000000c50 thread T3 (urcu3)
#0 0x536626 in free_meter_id
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto-dpif.c:6782:37
#1 0x7358c0 in ovsrcu_call_postponed
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/ovs-rcu.c:346:13
#2 0x735d11 in ovsrcu_postpone_thread
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/ovs-rcu.c:362:14
#3 0x73a4fc in ovsthread_wrapper
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/ovs-thread.c:422:12
#4 0x7f96ddbad6da in start_thread
(/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
#5 0x7f96dd12c61e in clone (/lib/x86_64-linux-gnu/libc.so.6+0x12161e)
0x614000000c50 is located 16 bytes inside of 400-byte region
[0x614000000c40,0x614000000dd0)
freed by thread T0 here:
#0 0x49640d in free
(/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/vswitchd/ovs-vswitchd+0x49640d)
#1 0x517d78 in destruct
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto-dpif.c:1851:5
#2 0x4f0b47 in ofproto_destroy
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto.c:1773:5
#3 0x4c71d0 in bridge_destroy
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/bridge.c:3608:9
#4 0x4c6f3a in bridge_exit
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/bridge.c:553:9
#5 0x4e100a in main
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/ovs-vswitchd.c:146:5
#6 0x7f96dd02cc86 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
previously allocated by thread T0 here:
#0 0x49668d in malloc
(/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/vswitchd/ovs-vswitchd+0x49668d)
#1 0x7af834 in xmalloc__
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/util.c:137:15
#2 0x52942d in open_dpif_backer
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto-dpif.c:770:14
#3 0x51738b in construct
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto-dpif.c:1668:13
#4 0x4ec6f9 in ofproto_create
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto.c:554:13
#5 0x4c7f87 in bridge_reconfigure
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/bridge.c:882:21
#6 0x4c74b5 in bridge_run
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/bridge.c:3331:9
#7 0x4e0f21 in main
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/ovs-vswitchd.c:129:9
#8 0x7f96dd02cc86 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
Thread T3 (urcu3) created by T2 (ct_clean1) here:
#0 0x480e1a in pthread_create
(/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/vswitchd/ovs-vswitchd+0x480e1a)
#1 0x73a117 in ovs_thread_create
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/ovs-thread.c:486:13
#2 0x73525a in ovsrcu_quiesced
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/ovs-rcu.c:121:13
#3 0x79d333 in time_poll
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/timeval.c:321:17
#4 0x767e17 in poll_block
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/poll-loop.c:364:14
#5 0x8a9bac in clean_thread_main
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/conntrack.c:1616:9
#6 0x73a4fc in ovsthread_wrapper
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/ovs-thread.c:422:12
#7 0x7f96ddbad6da in start_thread
(/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
Thread T2 (ct_clean1) created by T0 here:
#0 0x480e1a in pthread_create
(/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/vswitchd/ovs-vswitchd+0x480e1a)
#1 0x73a117 in ovs_thread_create
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/ovs-thread.c:486:13
#2 0x8a99bd in conntrack_init
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/conntrack.c:323:24
#3 0x5d5bad in create_dp_netdev
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/dpif-netdev.c:1837:21
#4 0x5cdbce in dpif_netdev_open
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/dpif-netdev.c:1895:26
#5 0x5fbc31 in do_open
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/dpif.c:348:13
#6 0x5fc008 in dpif_create_and_open
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../lib/dpif.c:417:13
#7 0x529447 in open_dpif_backer
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto-dpif.c:772:13
#8 0x51738b in construct
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto-dpif.c:1668:13
#9 0x4ec6f9 in ofproto_create
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../ofproto/ofproto.c:554:13
#10 0x4c7f87 in bridge_reconfigure
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/bridge.c:882:21
#11 0x4c74b5 in bridge_run
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/bridge.c:3331:9
#12 0x4e0f21 in main
/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub/../../vswitchd/ovs-vswitchd.c:129:9
#13 0x7f96dd02cc86 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
Did anyone see this, or something related?
//Eelco
On 28 Apr 2022, at 12:39, 0-day Robot wrote:
> From: [email protected]
>
> Test-Label: github-robot: Build and Test
> Test-Status: fail
> http://patchwork.ozlabs.org/api/patches/1623514/
>
> _github build: failed_
> Build URL: https://github.com/ovsrobot/ovs/actions/runs/2238439165
> Build Logs:
> -----------------------Summary of failed steps-----------------------
> "linux clang test 3.16 asan" failed at step build
> ----------------------End summary of failed steps--------------------
>
> -------------------------------BEGIN LOGS----------------------------
> ####################################################################################
> #### [Begin job log] "linux clang test 3.16 asan" at step build
> ####################################################################################
>
> Please send `tests/testsuite.log' and all information you think might help:
>
> To: <[email protected]>
> Subject: [openvswitch 2.17.90] testsuite: 1261 failed
>
> You may investigate any problem if you feel able to do so, in which
> case the test suite provides a good starting point. Its output may
> be found below `tests/testsuite.dir'.
>
> Makefile:6047: recipe for target 'check-local' failed
> make[4]: Leaving directory
> '/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub'
> make[4]: *** [check-local] Error 1
> Makefile:5476: recipe for target 'check-am' failed
> make[3]: Leaving directory
> '/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub'
> make[3]: *** [check-am] Error 2
> Makefile:5185: recipe for target 'check-recursive' failed
> make[2]: Leaving directory
> '/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub'
> make[2]: *** [check-recursive] Error 1
> Makefile:5479: recipe for target 'check' failed
> make[1]: Leaving directory
> '/home/runner/work/ovs/ovs/openvswitch-2.17.90/_build/sub'
> Makefile:5394: recipe for target 'distcheck' failed
> make[1]: *** [check] Error 2
> make: *** [distcheck] Error 1
> ##[error]Process completed with exit code 2.
> ####################################################################################
> #### [End job log] "linux clang test 3.16 asan" at step build
> ####################################################################################
> --------------------------------END LOGS-----------------------------
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev