9.11 socket_test tsan errors
==================
WARNING: ThreadSanitizer: data race (pid=1436)
Write of size 1 at 0x7fff2c18b4e8 by thread T1:
#0 event_done /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:137:19 (socket_test+0x4b9b6c)
#1 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#2 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
Previous read of size 1 at 0x7fff2c18b4e8 by main thread:
#0 waitfor /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:144:22 (socket_test+0x4b9bca)
#1 udp_sendto_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:235:2 (socket_test+0x4b6e5e)
#2 <null> <null> (libcmocka.so.0+0x50d8)
#3 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Location is stack of main thread.
Location is global '??' at 0x7fff2c16c000 ([stack]+0x00000001f4e8)
Thread T1 'isc-worker0000' (tid=1451, running) created by main thread at:
#0 pthread_create <null> (socket_test+0x429d5b)
#1 isc_thread_create /builds/isc-projects/bind9/lib/isc/pthreads/thread.c:60:8 (libisc.so.1105+0x72488)
#2 isc__taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:1468:7 (libisc.so.1105+0x4d5e5)
#3 isc_taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:2109:11 (libisc.so.1105+0x4f537)
#4 create_managers /builds/isc-projects/bind9/lib/isc/tests/isctest.c:95:2 (socket_test+0x4ba050)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:154:3 (socket_test+0x4b9f89)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:54:11 (socket_test+0x4b70ea)
#7 <null> <null> (libcmocka.so.0+0x51e2)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: data race /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:137:19 in event_done
==================
==================
WARNING: ThreadSanitizer: data race (pid=1436)
Read of size 1 at 0x7fff2c18b4c0 by main thread:
#0 waitfor2 /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:179:27 (socket_test+0x4b9ce5)
#1 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:546:2 (socket_test+0x4b7a4c)
#2 <null> <null> (libcmocka.so.0+0x50d8)
#3 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Previous write of size 1 at 0x7fff2c18b4c0 by thread T1:
#0 accept_done /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:102:19 (socket_test+0x4b9c61)
#1 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#2 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
As if synchronized via sleep:
#0 nanosleep <null> (socket_test+0x4275ad)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:203:2 (socket_test+0x4ba2f1)
#2 waitbody /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:172:3 (socket_test+0x4b9d26)
#3 waitfor2 /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:180:3 (socket_test+0x4b9ccf)
#4 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:546:2 (socket_test+0x4b7a4c)
#5 <null> <null> (libcmocka.so.0+0x50d8)
#6 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Location is stack of main thread.
Location is global '??' at 0x7fff2c16c000 ([stack]+0x00000001f4c0)
Thread T1 'isc-worker0000' (tid=1480, running) created by main thread at:
#0 pthread_create <null> (socket_test+0x429d5b)
#1 isc_thread_create /builds/isc-projects/bind9/lib/isc/pthreads/thread.c:60:8 (libisc.so.1105+0x72488)
#2 isc__taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:1468:7 (libisc.so.1105+0x4d5e5)
#3 isc_taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:2109:11 (libisc.so.1105+0x4f537)
#4 create_managers /builds/isc-projects/bind9/lib/isc/tests/isctest.c:95:2 (socket_test+0x4ba050)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:154:3 (socket_test+0x4b9f89)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:54:11 (socket_test+0x4b70ea)
#7 <null> <null> (libcmocka.so.0+0x51e2)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: data race /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:179:27 in waitfor2
==================
==================
WARNING: ThreadSanitizer: data race (pid=1436)
Read of size 2 at 0x7b5400000730 by main thread:
#0 isc__socket_sendto /builds/isc-projects/bind9/lib/isc/unix/socket.c:5288:2 (libisc.so.1105+0x657f0)
#1 isc_socket_sendto /builds/isc-projects/bind9/lib/isc/unix/./../socket_api.c:155:11 (libisc.so.1105+0x6a803)
#2 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:563:11 (socket_test+0x4b7b4e)
#3 <null> <null> (libcmocka.so.0+0x50d8)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Previous write of size 2 at 0x7b5400000730 by thread T1 (mutexes: write M3132):
#0 internal_connect /builds/isc-projects/bind9/lib/isc/unix/socket.c:6050:19 (libisc.so.1105+0x6e783)
#1 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#2 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
As if synchronized via sleep:
#0 nanosleep <null> (socket_test+0x4275ad)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:203:2 (socket_test+0x4ba2f1)
#2 waitbody /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:172:3 (socket_test+0x4b9d26)
#3 waitfor2 /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:180:3 (socket_test+0x4b9ccf)
#4 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:546:2 (socket_test+0x4b7a4c)
#5 <null> <null> (libcmocka.so.0+0x50d8)
#6 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Location is heap block of size 609 at 0x7b5400000500 allocated by main thread:
#0 malloc <null> (socket_test+0x428494)
#1 internal_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:887:8 (libisc.so.1105+0x37e38)
#2 mem_get /builds/isc-projects/bind9/lib/isc/mem.c:792:8 (libisc.so.1105+0x32c2c)
#3 isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1310:9 (libisc.so.1105+0x325d7)
#4 isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:3012:11 (libisc.so.1105+0x34f80)
#5 allocate_socket /builds/isc-projects/bind9/lib/isc/unix/socket.c:2336:9 (libisc.so.1105+0x62138)
#6 socket_create /builds/isc-projects/bind9/lib/isc/unix/socket.c:2963:11 (libisc.so.1105+0x60620)
#7 isc__socket_create /builds/isc-projects/bind9/lib/isc/unix/socket.c:3043:10 (libisc.so.1105+0x60583)
#8 isc_socket_create /builds/isc-projects/bind9/lib/isc/unix/./../socket_api.c:105:11 (libisc.so.1105+0x6a4a0)
#9 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:532:11 (socket_test+0x4b7989)
#10 <null> <null> (libcmocka.so.0+0x50d8)
#11 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Mutex M3132 (0x7b5400000518) created at:
#0 pthread_mutex_init <null> (socket_test+0x42b2dd)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 allocate_socket /builds/isc-projects/bind9/lib/isc/unix/socket.c:2380:11 (libisc.so.1105+0x62273)
#3 socket_create /builds/isc-projects/bind9/lib/isc/unix/socket.c:2963:11 (libisc.so.1105+0x60620)
#4 isc__socket_create /builds/isc-projects/bind9/lib/isc/unix/socket.c:3043:10 (libisc.so.1105+0x60583)
#5 isc_socket_create /builds/isc-projects/bind9/lib/isc/unix/./../socket_api.c:105:11 (libisc.so.1105+0x6a4a0)
#6 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:532:11 (socket_test+0x4b7989)
#7 <null> <null> (libcmocka.so.0+0x50d8)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T1 'isc-worker0000' (tid=1480, running) created by main thread at:
#0 pthread_create <null> (socket_test+0x429d5b)
#1 isc_thread_create /builds/isc-projects/bind9/lib/isc/pthreads/thread.c:60:8 (libisc.so.1105+0x72488)
#2 isc__taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:1468:7 (libisc.so.1105+0x4d5e5)
#3 isc_taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:2109:11 (libisc.so.1105+0x4f537)
#4 create_managers /builds/isc-projects/bind9/lib/isc/tests/isctest.c:95:2 (socket_test+0x4ba050)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:154:3 (socket_test+0x4b9f89)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:54:11 (socket_test+0x4b70ea)
#7 <null> <null> (libcmocka.so.0+0x51e2)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: data race /builds/isc-projects/bind9/lib/isc/unix/socket.c:5288:2 in isc__socket_sendto
==================
==================
WARNING: ThreadSanitizer: data race (pid=1436)
Read of size 1 at 0x000000f1b5b8 by main thread:
#0 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c (socket_test+0x4b7c34)
#1 <null> <null> (libcmocka.so.0+0x50d8)
#2 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Previous write of size 1 at 0x000000f1b5b8 by thread T3:
#0 event_done /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:126:14 (socket_test+0x4b9aeb)
#1 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#2 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
As if synchronized via sleep:
#0 nanosleep <null> (socket_test+0x4275ad)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:203:2 (socket_test+0x4ba2f1)
#2 waitfor /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:149:3 (socket_test+0x4b9be9)
#3 tcp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:575:2 (socket_test+0x4b7be4)
#4 <null> <null> (libcmocka.so.0+0x50d8)
#5 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Location is global 'recv_dscp' of size 1 at 0x000000f1b5b8 (socket_test+0x000000f1b5b8)
Thread T3 'isc-worker0002' (tid=1482, running) created by main thread at:
#0 pthread_create <null> (socket_test+0x429d5b)
#1 isc_thread_create /builds/isc-projects/bind9/lib/isc/pthreads/thread.c:60:8 (libisc.so.1105+0x72488)
#2 isc__taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:1468:7 (libisc.so.1105+0x4d5e5)
#3 isc_taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:2109:11 (libisc.so.1105+0x4f537)
#4 create_managers /builds/isc-projects/bind9/lib/isc/tests/isctest.c:95:2 (socket_test+0x4ba050)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:154:3 (socket_test+0x4b9f89)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:54:11 (socket_test+0x4b70ea)
#7 <null> <null> (libcmocka.so.0+0x51e2)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: data race /builds/isc-projects/bind9/lib/isc/tests/socket_test.c in tcp_dscp_v4_test
==================
==================
WARNING: ThreadSanitizer: data race (pid=1436)
Read of size 1 at 0x7fff2c18b4c8 by main thread:
#0 waitfor2 /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:179:27 (socket_test+0x4b9ce5)
#1 tcp_dscp_v6_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:636:2 (socket_test+0x4b809b)
#2 <null> <null> (libcmocka.so.0+0x50d8)
#3 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Previous write of size 1 at 0x7fff2c18b4c8 by thread T14:
#0 accept_done /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:102:19 (socket_test+0x4b9c61)
#1 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#2 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
As if synchronized via sleep:
#0 nanosleep <null> (socket_test+0x4275ad)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:203:2 (socket_test+0x4ba2f1)
#2 waitbody /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:172:3 (socket_test+0x4b9d26)
#3 waitfor2 /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:180:3 (socket_test+0x4b9ccf)
#4 tcp_dscp_v6_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:636:2 (socket_test+0x4b809b)
#5 <null> <null> (libcmocka.so.0+0x50d8)
#6 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Location is stack of main thread.
Location is global '??' at 0x7fff2c16c000 ([stack]+0x00000001f4c8)
Thread T14 'isc-worker0000' (tid=1494, running) created by main thread at:
#0 pthread_create <null> (socket_test+0x429d5b)
#1 isc_thread_create /builds/isc-projects/bind9/lib/isc/pthreads/thread.c:60:8 (libisc.so.1105+0x72488)
#2 isc__taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:1468:7 (libisc.so.1105+0x4d5e5)
#3 isc_taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:2109:11 (libisc.so.1105+0x4f537)
#4 create_managers /builds/isc-projects/bind9/lib/isc/tests/isctest.c:95:2 (socket_test+0x4ba050)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:154:3 (socket_test+0x4b9f89)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:54:11 (socket_test+0x4b70ea)
#7 <null> <null> (libcmocka.so.0+0x51e2)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: data race /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:179:27 in waitfor2
==================
==================
WARNING: ThreadSanitizer: data race (pid=1436)
Read of size 4 at 0x000000f1b5bc by main thread:
#0 udp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:411:3 (socket_test+0x4b894e)
#1 <null> <null> (libcmocka.so.0+0x50d8)
#2 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Previous write of size 4 at 0x000000f1b5bc by thread T27:
#0 event_done /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:124:20 (socket_test+0x4b9b45)
#1 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#2 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
As if synchronized via sleep:
#0 nanosleep <null> (socket_test+0x4275ad)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:203:2 (socket_test+0x4ba2f1)
#2 waitfor /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:149:3 (socket_test+0x4b9be9)
#3 udp_dscp_v4_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:404:2 (socket_test+0x4b88bc)
#4 <null> <null> (libcmocka.so.0+0x50d8)
#5 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Location is global 'recv_dscp_value' of size 4 at 0x000000f1b5bc (socket_test+0x000000f1b5bc)
Thread T27 'isc-worker0001' (tid=1509, running) created by main thread at:
#0 pthread_create <null> (socket_test+0x429d5b)
#1 isc_thread_create /builds/isc-projects/bind9/lib/isc/pthreads/thread.c:60:8 (libisc.so.1105+0x72488)
#2 isc__taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:1468:7 (libisc.so.1105+0x4d5e5)
#3 isc_taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:2109:11 (libisc.so.1105+0x4f537)
#4 create_managers /builds/isc-projects/bind9/lib/isc/tests/isctest.c:95:2 (socket_test+0x4ba050)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:154:3 (socket_test+0x4b9f89)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:54:11 (socket_test+0x4b70ea)
#7 <null> <null> (libcmocka.so.0+0x51e2)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: data race /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:411:3 in udp_dscp_v4_test
==================
==================
WARNING: ThreadSanitizer: data race (pid=1436)
Write of size 1 at 0x000000f1b5c0 by main thread:
#0 udp_trunc_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:776:13 (socket_test+0x4b94e0)
#1 <null> <null> (libcmocka.so.0+0x50d8)
#2 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Previous write of size 1 at 0x000000f1b5c0 by thread T12:
#0 event_done /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:128:14 (socket_test+0x4b9b5e)
#1 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#2 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
As if synchronized via sleep:
#0 nanosleep <null> (socket_test+0x4275ad)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:203:2 (socket_test+0x4ba2f1)
#2 waitfor /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:149:3 (socket_test+0x4b9be9)
#3 udp_trunc_test /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:769:2 (socket_test+0x4b9498)
#4 <null> <null> (libcmocka.so.0+0x50d8)
#5 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Location is global 'recv_trunc' of size 1 at 0x000000f1b5c0 (socket_test+0x000000f1b5c0)
Thread T12 'isc-worker0000' (tid=1550, running) created by main thread at:
#0 pthread_create <null> (socket_test+0x429d5b)
#1 isc_thread_create /builds/isc-projects/bind9/lib/isc/pthreads/thread.c:60:8 (libisc.so.1105+0x72488)
#2 isc__taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:1468:7 (libisc.so.1105+0x4d5e5)
#3 isc_taskmgr_create /builds/isc-projects/bind9/lib/isc/task.c:2109:11 (libisc.so.1105+0x4f537)
#4 create_managers /builds/isc-projects/bind9/lib/isc/tests/isctest.c:95:2 (socket_test+0x4ba050)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:154:3 (socket_test+0x4b9f89)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:54:11 (socket_test+0x4b70ea)
#7 <null> <null> (libcmocka.so.0+0x51e2)
#8 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: data race /builds/isc-projects/bind9/lib/isc/tests/socket_test.c:776:13 in udp_trunc_test
==================
ThreadSanitizer: reported 7 warnings