v9_11 task_test tsan errors
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Write of size 4 at 0x7ffe2b028258 by thread T15 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:9 (task_test+0x4ba9f0)
#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 4 at 0x7ffe2b028258 by main thread:
#0 all_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:195:10 (task_test+0x4b804c)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f258)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T15 'isc-worker0000' (tid=1651, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:131:9 in set
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Write of size 4 at 0x7ffe2b02825c by thread T15 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:9 (task_test+0x4ba9f0)
#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 4 at 0x7ffe2b02825c by main thread:
#0 all_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:195:20 (task_test+0x4b805d)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f25c)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T15 'isc-worker0000' (tid=1651, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:131:9 in set
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Write of size 4 at 0x7ffe2b028234 by thread T2 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:9 (task_test+0x4ba9f0)
#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 4 at 0x7ffe2b028234 by main thread:
#0 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:292:10 (task_test+0x4b860e)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f234)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T2 'isc-worker0001' (tid=1667, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:131:9 in set
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Write of size 4 at 0x7ffe2b028240 by thread T2 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:9 (task_test+0x4ba9f0)
#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 4 at 0x7ffe2b028240 by main thread:
#0 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:292:20 (task_test+0x4b861f)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f240)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T2 'isc-worker0001' (tid=1667, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:131:9 in set
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 4 at 0x7ffe2b028244 by main thread:
#0 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:292:30 (task_test+0x4b862d)
#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 0x7ffe2b028244 by thread T2 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:9 (task_test+0x4ba9f0)
#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> (task_test+0x42863d)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:206:2 (task_test+0x4bcbd1)
#2 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:297:3 (task_test+0x4b8606)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f244)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T2 'isc-worker0001' (tid=1667, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:292:30 in privileged_events
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 4 at 0x7ffe2b028248 by main thread:
#0 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:292:40 (task_test+0x4b863c)
#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 0x7ffe2b028248 by thread T2 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:9 (task_test+0x4ba9f0)
#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> (task_test+0x42863d)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:206:2 (task_test+0x4bcbd1)
#2 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:297:3 (task_test+0x4b8606)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f248)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T2 'isc-worker0001' (tid=1667, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:292:40 in privileged_events
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 4 at 0x7ffe2b02824c by main thread:
#0 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:292:50 (task_test+0x4b864b)
#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 0x7ffe2b02824c by thread T2 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:9 (task_test+0x4ba9f0)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f24c)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T2 'isc-worker0001' (tid=1667, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:292:50 in privileged_events
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 4 at 0x000000f1e620 by main thread:
#0 privileged_events /builds/isc-projects/bind9/lib/isc/tests/task_test.c:313:2 (task_test+0x4b86c6)
#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 0x000000f1e620 by thread T2 (mutexes: write M12):
#0 set /builds/isc-projects/bind9/lib/isc/tests/task_test.c:131:18 (task_test+0x4ba9e5)
#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)
Location is global 'counter' of size 4 at 0x000000f1e620 (task_test+0x000000f1e620)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T2 'isc-worker0001' (tid=1667, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:313:2 in privileged_events
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 4 at 0x7ffe2b028250 by main thread:
#0 privilege_drop /builds/isc-projects/bind9/lib/isc/tests/task_test.c:411:32 (task_test+0x4b8f1e)
#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 0x7ffe2b028250 by thread T15 (mutexes: write M12):
#0 set_and_drop /builds/isc-projects/bind9/lib/isc/tests/task_test.c:143:9 (task_test+0x4baacb)
#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> (task_test+0x42863d)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:206:2 (task_test+0x4bcbd1)
#2 privilege_drop /builds/isc-projects/bind9/lib/isc/tests/task_test.c:417:3 (task_test+0x4b8ef6)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f250)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T15 'isc-worker0002' (tid=1682, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:411:32 in privilege_drop
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 4 at 0x7ffe2b028254 by main thread:
#0 privilege_drop /builds/isc-projects/bind9/lib/isc/tests/task_test.c:411:43 (task_test+0x4b8f2d)
#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 0x7ffe2b028254 by thread T15 (mutexes: write M12):
#0 set_and_drop /builds/isc-projects/bind9/lib/isc/tests/task_test.c:143:9 (task_test+0x4baacb)
#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> (task_test+0x42863d)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:206:2 (task_test+0x4bcbd1)
#2 privilege_drop /builds/isc-projects/bind9/lib/isc/tests/task_test.c:417:3 (task_test+0x4b8ef6)
#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)
Location is stack of main thread.
Location is global '??' at 0x7ffe2b009000 ([stack]+0x00000001f254)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T15 'isc-worker0002' (tid=1682, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:69:11 (task_test+0x4b7e08)
#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/task_test.c:411:43 in privilege_drop
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 1 at 0x000000f1e680 by thread T3:
#0 exclusive_cb /builds/isc-projects/bind9/lib/isc/tests/task_test.c:638:6 (task_test+0x4bad81)
#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 write of size 1 at 0x000000f1e680 by thread T5:
#0 exclusive_cb /builds/isc-projects/bind9/lib/isc/tests/task_test.c:627:8 (task_test+0x4bad49)
#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)
Location is global 'done' of size 1 at 0x000000f1e680 (task_test+0x000000f1e680)
Thread T3 'isc-worker0000' (tid=1698, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup4 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:107:11 (task_test+0x4b9a9b)
#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)
Thread T5 'isc-worker0002' (tid=1700, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup4 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:107:11 (task_test+0x4b9a9b)
#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/task_test.c:638:6 in exclusive_cb
==================
==================
WARNING: ThreadSanitizer: double lock of a mutex (pid=1622)
#0 pthread_mutex_lock <null> (task_test+0x4481b6)
#1 sd_event1 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:822:2 (task_test+0x4bb08e)
#2 dispatch /builds/isc-projects/bind9/lib/isc/task.c:1157:7 (libisc.so.1105+0x50785)
#3 run /builds/isc-projects/bind9/lib/isc/task.c:1331:2 (libisc.so.1105+0x4d6d9)
Location is global 'lock' of size 40 at 0x000000f1e628 (task_test+0x000000f1e628)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
SUMMARY: ThreadSanitizer: double lock of a mutex (/builds/isc-projects/bind9/lib/isc/tests/.libs/task_test+0x4481b6) in pthread_mutex_lock
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 1 at 0x000000f1e624 by thread T30 (mutexes: write M12):
#0 sd_event1 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:823:10 (task_test+0x4bb0b7)
#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 write of size 1 at 0x000000f1e624 by main thread (mutexes: write M12):
#0 shutdown /builds/isc-projects/bind9/lib/isc/tests/task_test.c:900:8 (task_test+0x4b9f3d)
#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)
Location is global 'ready' of size 1 at 0x000000f1e624 (task_test+0x000000f1e624)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T30 'isc-worker0000' (tid=1708, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup4 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:107:11 (task_test+0x4b9a9b)
#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/task_test.c:823:10 in sd_event1
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Write of size 1 at 0x000000f1e625 by thread T30:
#0 sd_sde1 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:800:11 (task_test+0x4bb2a3)
#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 0x000000f1e625 by main thread (mutexes: write M12):
#0 shutdown /builds/isc-projects/bind9/lib/isc/tests/task_test.c:904:10 (task_test+0x4b9f87)
#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)
Location is global 'all_done' of size 1 at 0x000000f1e625 (task_test+0x000000f1e625)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T30 'isc-worker0000' (tid=1708, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup4 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:107:11 (task_test+0x4b9a9b)
#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/task_test.c:800:11 in sd_sde1
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Read of size 4 at 0x000000f1e684 by main thread (mutexes: write M12):
#0 shutdown /builds/isc-projects/bind9/lib/isc/tests/task_test.c:908:2 (task_test+0x4b9fa4)
#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 0x000000f1e684 by thread T30:
#0 sd_sde1 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:792:2 (task_test+0x4bb262)
#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> (task_test+0x42863d)
#1 isc_test_nap /builds/isc-projects/bind9/lib/isc/tests/isctest.c:206:2 (task_test+0x4bcbd1)
#2 shutdown /builds/isc-projects/bind9/lib/isc/tests/task_test.c:905:3 (task_test+0x4b9f96)
#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)
Location is global 'nsdevents' of size 4 at 0x000000f1e684 (task_test+0x000000f1e684)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T30 'isc-worker0000' (tid=1708, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup4 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:107:11 (task_test+0x4b9a9b)
#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/task_test.c:908:2 in shutdown
==================
==================
WARNING: ThreadSanitizer: data race (pid=1622)
Write of size 1 at 0x000000f1e626 by main thread (mutexes: write M12):
#0 test_purge /builds/isc-projects/bind9/lib/isc/tests/task_test.c:1184:10 (task_test+0x4bb96c)
#1 purge /builds/isc-projects/bind9/lib/isc/tests/task_test.c:1227:2 (task_test+0x4ba3c9)
#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 read of size 1 at 0x000000f1e626 by thread T21 (mutexes: write M12):
#0 pg_event1 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:1006:10 (task_test+0x4bbcf7)
#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)
Location is global 'started' of size 1 at 0x000000f1e626 (task_test+0x000000f1e626)
Mutex M12 (0x000000f1e628) created at:
#0 pthread_mutex_init <null> (task_test+0x42c36d)
#1 isc__mutex_init /builds/isc-projects/bind9/lib/isc/pthreads/mutex.c:287:8 (libisc.so.1105+0x72317)
#2 _setup /builds/isc-projects/bind9/lib/isc/tests/task_test.c:63:11 (task_test+0x4b7de4)
#3 <null> <null> (libcmocka.so.0+0x51e2)
#4 __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16 (libc.so.6+0x2409a)
Thread T21 'isc-worker0000' (tid=1718, running) created by main thread at:
#0 pthread_create <null> (task_test+0x42adeb)
#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:96:2 (task_test+0x4bc930)
#5 isc_test_begin /builds/isc-projects/bind9/lib/isc/tests/isctest.c:157:3 (task_test+0x4bc85b)
#6 _setup2 /builds/isc-projects/bind9/lib/isc/tests/task_test.c:88:11 (task_test+0x4b981b)
#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/task_test.c:1184:10 in test_purge
==================
ThreadSanitizer: reported 16 warnings