Make dnssec-signzone ThreadSanitizer clean
Currently, when compiled with -fsanitize=thread
the dnssec-signzone crashes with:
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Read of size 4 at 0x7b6800000388 by thread T2:
#0 isc_rwlock_lock rwlock.c:329 (dnssec-signzone:x86_64+0x1002020da)
#1 zone_findrdataset rbtdb.c:5449 (dnssec-signzone:x86_64+0x1000c13cc)
#2 dns_db_findrdataset db.c:700 (dnssec-signzone:x86_64+0x10003573c)
#3 is_delegation dnssec-signzone.c:1044 (dnssec-signzone:x86_64+0x10000990e)
#4 signname dnssec-signzone.c:1092 (dnssec-signzone:x86_64+0x10000b92a)
#5 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#6 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#7 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 4 at 0x7b6800000388 by thread T1 (mutexes: write M227):
#0 isc_rwlock_lock rwlock.c:343 (dnssec-signzone:x86_64+0x10020214c)
#1 zone_findrdataset rbtdb.c:5449 (dnssec-signzone:x86_64+0x1000c13cc)
#2 dns_db_findrdataset db.c:700 (dnssec-signzone:x86_64+0x10003573c)
#3 assignwork dnssec-signzone.c:1519 (dnssec-signzone:x86_64+0x10000dda4)
#4 startworker dnssec-signzone.c:1591 (dnssec-signzone:x86_64+0x1000085ed)
#5 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#6 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 1456 at 0x7b6800000000 allocated by main thread:
#0 malloc <null>:2646112 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 mem_getunlocked mem.c:478 (dnssec-signzone:x86_64+0x1001f69ad)
#3 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#4 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#5 dns_rbtdb_create rbtdb.c:8139 (dnssec-signzone:x86_64+0x1000a8477)
#6 dns_db_create db.c:118 (dnssec-signzone:x86_64+0x1000337fa)
#7 loadzone dnssec-signzone.c:2514 (dnssec-signzone:x86_64+0x100004560)
#8 main dnssec-signzone.c:3654 (dnssec-signzone:x86_64+0x100002459)
Mutex M227 (0x0001086f9a28) created at:
#0 pthread_mutex_init <null>:2645968 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2b153)
#1 isc__mutex_init mutex.c:286 (dnssec-signzone:x86_64+0x100221bb9)
#2 main dnssec-signzone.c:3848 (dnssec-signzone:x86_64+0x100002dc2)
Thread T2 (tid=18202920, running) created by main thread at:
#0 pthread_create <null>:2646160 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:2646160 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rwlock.c:329 in isc_rwlock_lock
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Read of size 4 at 0x7b6800000388 by thread T1 (mutexes: write M227):
#0 isc_rwlock_lock rwlock.c:329 (dnssec-signzone:x86_64+0x1002020da)
#1 zone_findrdataset rbtdb.c:5449 (dnssec-signzone:x86_64+0x1000c13cc)
#2 dns_db_findrdataset db.c:700 (dnssec-signzone:x86_64+0x10003573c)
#3 assignwork dnssec-signzone.c:1519 (dnssec-signzone:x86_64+0x10000dda4)
#4 startworker dnssec-signzone.c:1591 (dnssec-signzone:x86_64+0x1000085ed)
#5 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#6 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 4 at 0x7b6800000388 by thread T4:
#0 isc_rwlock_lock rwlock.c:343 (dnssec-signzone:x86_64+0x10020214c)
#1 detachnode rbtdb.c:5203 (dnssec-signzone:x86_64+0x1000ade3d)
#2 rdataset_disassociate rbtdb.c:8412 (dnssec-signzone:x86_64+0x1000b4f90)
#3 dns_rdataset_disassociate rdataset.c:118 (dnssec-signzone:x86_64+0x1001205b9)
#4 rdataset_to_sortedarray dnssec.c:132 (dnssec-signzone:x86_64+0x10004a116)
#5 dns_dnssec_sign dnssec.c:300 (dnssec-signzone:x86_64+0x10004995f)
#6 signwithkey dnssec-signzone.c:298 (dnssec-signzone:x86_64+0x10000d71b)
#7 signset dnssec-signzone.c (dnssec-signzone:x86_64+0x10000cd8f)
#8 signname dnssec-signzone.c:1127 (dnssec-signzone:x86_64+0x10000ba98)
#9 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#10 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#11 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 1456 at 0x7b6800000000 allocated by main thread:
#0 malloc <null>:1587552 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 mem_getunlocked mem.c:478 (dnssec-signzone:x86_64+0x1001f69ad)
#3 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#4 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#5 dns_rbtdb_create rbtdb.c:8139 (dnssec-signzone:x86_64+0x1000a8477)
#6 dns_db_create db.c:118 (dnssec-signzone:x86_64+0x1000337fa)
#7 loadzone dnssec-signzone.c:2514 (dnssec-signzone:x86_64+0x100004560)
#8 main dnssec-signzone.c:3654 (dnssec-signzone:x86_64+0x100002459)
Mutex M227 (0x0001086f9a28) created at:
#0 pthread_mutex_init <null>:1587408 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2b153)
#1 isc__mutex_init mutex.c:286 (dnssec-signzone:x86_64+0x100221bb9)
#2 main dnssec-signzone.c:3848 (dnssec-signzone:x86_64+0x100002dc2)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587600 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T4 (tid=18202922, running) created by main thread at:
#0 pthread_create <null>:1587600 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rwlock.c:329 in isc_rwlock_lock
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Read of size 4 at 0x00010b8c7190 by thread T5:
#0 isc_rwlock_lock rwlock.c:329 (dnssec-signzone:x86_64+0x1002020da)
#1 findnodeintree rbtdb.c:2725 (dnssec-signzone:x86_64+0x1000bd19b)
#2 findnsec3node rbtdb.c:2798 (dnssec-signzone:x86_64+0x1000c18bb)
#3 dns_db_findnsec3node db.c:485 (dnssec-signzone:x86_64+0x100034aa8)
#4 diff_apply diff.c:314 (dnssec-signzone:x86_64+0x100038a1a)
#5 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#6 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#7 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 4 at 0x00010b8c7190 by thread T4:
#0 isc_rwlock_lock rwlock.c:343 (dnssec-signzone:x86_64+0x10020214c)
#1 findnodeintree rbtdb.c:2725 (dnssec-signzone:x86_64+0x1000bd19b)
#2 findnsec3node rbtdb.c:2798 (dnssec-signzone:x86_64+0x1000c18bb)
#3 dns_db_findnsec3node db.c:485 (dnssec-signzone:x86_64+0x100034aa8)
#4 diff_apply diff.c:314 (dnssec-signzone:x86_64+0x100038a1a)
#5 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#6 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#7 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:5827264 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:5827312 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T4 (tid=18202922, running) created by main thread at:
#0 pthread_create <null>:5827312 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rwlock.c:329 in isc_rwlock_lock
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Read of size 4 at 0x00010b8c70c8 by thread T1:
#0 isc_rwlock_lock rwlock.c:329 (dnssec-signzone:x86_64+0x1002020da)
#1 add_changed rbtdb.c:1357 (dnssec-signzone:x86_64+0x1000b3e06)
#2 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#3 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#4 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#5 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#6 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#7 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#8 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 4 at 0x00010b8c70c8 by thread T4:
#0 isc_rwlock_lock rwlock.c:343 (dnssec-signzone:x86_64+0x10020214c)
#1 add_changed rbtdb.c:1357 (dnssec-signzone:x86_64+0x1000b3e06)
#2 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#3 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#4 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#5 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#6 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#7 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#8 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#9 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#10 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587376 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587424 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T4 (tid=18202922, running) created by main thread at:
#0 pthread_create <null>:1587424 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rwlock.c:329 in isc_rwlock_lock
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Write of size 4 at 0x00010b8c713c by thread T1:
#0 isc_rwlock_trylock rwlock.c:407 (dnssec-signzone:x86_64+0x10020270f)
#1 isc_rwlock_lock rwlock.c:341 (dnssec-signzone:x86_64+0x100202118)
#2 add_changed rbtdb.c:1357 (dnssec-signzone:x86_64+0x1000b3e06)
#3 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#4 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#5 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#6 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#7 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 4 at 0x00010b8c713c by thread T5:
#0 isc_rwlock_trylock rwlock.c:407 (dnssec-signzone:x86_64+0x10020270f)
#1 isc_rwlock_lock rwlock.c:341 (dnssec-signzone:x86_64+0x100202118)
#2 add_changed rbtdb.c:1357 (dnssec-signzone:x86_64+0x1000b3e06)
#3 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#4 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#5 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#6 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#7 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#8 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#9 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#10 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#11 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587312 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587360 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:1587360 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rwlock.c:407 in isc_rwlock_trylock
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Read of size 8 at 0x00010b8cc330 by thread T1:
#0 add_changed rbtdb.c:1365 (dnssec-signzone:x86_64+0x1000b3e6a)
#1 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#2 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#3 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#4 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#5 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#6 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#7 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 8 at 0x00010b8cc330 by thread T5:
#0 add_changed rbtdb.c:1365 (dnssec-signzone:x86_64+0x1000b3eba)
#1 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#2 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#3 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#4 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#5 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#6 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#7 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587440 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rbtdb.c:1365 in add_changed
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Write of size 8 at 0x00010b8c45b8 by thread T1:
#0 add_changed rbtdb.c:1365 (dnssec-signzone:x86_64+0x1000b3e82)
#1 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#2 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#3 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#4 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#5 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#6 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#7 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 8 at 0x00010b8c45b8 by thread T5:
#0 add_changed rbtdb.c:1365 (dnssec-signzone:x86_64+0x1000b3eaa)
#1 add32 rbtdb.c:5817 (dnssec-signzone:x86_64+0x1000b25e1)
#2 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#3 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#4 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#5 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#6 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#7 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587440 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rbtdb.c:1365 in add_changed
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Read of size 4 at 0x00010b8cc4b0 by thread T1:
#0 isc_rwlock_lock rwlock.c:329 (dnssec-signzone:x86_64+0x1002020da)
#1 add32 rbtdb.c:6214 (dnssec-signzone:x86_64+0x1000b3b8e)
#2 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#3 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#4 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#5 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#6 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#7 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 4 at 0x00010b8cc4b0 by thread T5:
#0 isc_rwlock_lock rwlock.c:343 (dnssec-signzone:x86_64+0x10020214c)
#1 add32 rbtdb.c:6293 (dnssec-signzone:x86_64+0x1000b2d79)
#2 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#3 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#4 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#5 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#6 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#7 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587440 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rwlock.c:329 in isc_rwlock_lock
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Write of size 4 at 0x00010b8cc524 by thread T1:
#0 isc_rwlock_trylock rwlock.c:407 (dnssec-signzone:x86_64+0x10020270f)
#1 isc_rwlock_lock rwlock.c:341 (dnssec-signzone:x86_64+0x100202118)
#2 add32 rbtdb.c:6214 (dnssec-signzone:x86_64+0x1000b3b8e)
#3 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#4 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#5 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#6 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#7 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#8 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 4 at 0x00010b8cc524 by thread T5:
#0 isc_rwlock_trylock rwlock.c:407 (dnssec-signzone:x86_64+0x10020270f)
#1 isc_rwlock_lock rwlock.c:341 (dnssec-signzone:x86_64+0x100202118)
#2 add32 rbtdb.c:6293 (dnssec-signzone:x86_64+0x1000b2d79)
#3 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#4 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#5 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#6 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#7 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#8 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#9 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#10 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587376 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587424 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:1587424 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rwlock.c:407 in isc_rwlock_trylock
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Read of size 8 at 0x00010b8cc530 by thread T1:
#0 update_recordsandbytes rbtdb.c (dnssec-signzone:x86_64+0x1000b4902)
#1 add32 rbtdb.c:6216 (dnssec-signzone:x86_64+0x1000b3ba3)
#2 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#3 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#4 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#5 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#6 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#7 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 8 at 0x00010b8cc530 by thread T5:
#0 update_recordsandbytes rbtdb.c:5767 (dnssec-signzone:x86_64+0x1000b4919)
#1 add32 rbtdb.c:6294 (dnssec-signzone:x86_64+0x1000b2d91)
#2 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#3 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#4 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#5 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#6 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#7 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587440 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rbtdb.c in update_recordsandbytes
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Write of size 8 at 0x00010b8cc538 by thread T1:
#0 update_recordsandbytes rbtdb.c (dnssec-signzone:x86_64+0x1000b4978)
#1 add32 rbtdb.c:6216 (dnssec-signzone:x86_64+0x1000b3ba3)
#2 deleterdataset rbtdb.c:6881 (dnssec-signzone:x86_64+0x1000b0693)
#3 dns_db_deleterdataset db.c:787 (dnssec-signzone:x86_64+0x100035dcb)
#4 cleannode dnssec-signzone.c:1403 (dnssec-signzone:x86_64+0x10000c093)
#5 writenode dnssec-signzone.c:1605 (dnssec-signzone:x86_64+0x10000e2fb)
#6 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#7 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Previous write of size 8 at 0x00010b8cc538 by thread T5:
#0 update_recordsandbytes rbtdb.c (dnssec-signzone:x86_64+0x1000b4978)
#1 add32 rbtdb.c:6294 (dnssec-signzone:x86_64+0x1000b2d91)
#2 addrdataset rbtdb.c:6616 (dnssec-signzone:x86_64+0x1000af8f9)
#3 dns_db_addrdataset db.c:744 (dnssec-signzone:x86_64+0x100035a3e)
#4 diff_apply diff.c:366 (dnssec-signzone:x86_64+0x100038b17)
#5 dns_diff_applysilently diff.c:459 (dnssec-signzone:x86_64+0x100038f0b)
#6 signname dnssec-signzone.c:1144 (dnssec-signzone:x86_64+0x10000bb1b)
#7 sign dnssec-signzone.c:1626 (dnssec-signzone:x86_64+0x10000e197)
#8 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#9 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is heap block of size 262144 at 0x00010b8c1000 allocated by main thread:
#0 malloc <null>:1587440 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4caea)
#1 default_memalloc mem.c:689 (dnssec-signzone:x86_64+0x1001f93ef)
#2 more_basic_blocks mem.c:375 (dnssec-signzone:x86_64+0x1001fadd8)
#3 more_frags mem.c:419 (dnssec-signzone:x86_64+0x1001fa9b0)
#4 mem_getunlocked mem.c:500 (dnssec-signzone:x86_64+0x1001f68a5)
#5 isc___mem_get mem.c:1033 (dnssec-signzone:x86_64+0x1001f9915)
#6 isc__mem_get mem.c:2386 (dnssec-signzone:x86_64+0x1001f578e)
#7 isc_logconfig_create log.c:324 (dnssec-signzone:x86_64+0x1001eed5b)
#8 isc_log_create log.c:289 (dnssec-signzone:x86_64+0x1001ee910)
#9 setup_logging dnssectool.c:143 (dnssec-signzone:x86_64+0x10000e83f)
#10 main dnssec-signzone.c:3556 (dnssec-signzone:x86_64+0x100001f5e)
Thread T1 (tid=18202919, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
Thread T5 (tid=18202923, running) created by main thread at:
#0 pthread_create <null>:1587488 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race rbtdb.c in update_recordsandbytes
==================
==================
WARNING: ThreadSanitizer: data race (pid=89734)
Write of size 1 at 0x0001086f9aa9 by main thread:
#0 main dnssec-signzone.c (dnssec-signzone:x86_64+0x100002ef3)
Previous read of size 1 at 0x0001086f9aa9 by thread T2:
#0 assignwork dnssec-signzone.c:1469 (dnssec-signzone:x86_64+0x10000db6b)
#1 writenode dnssec-signzone.c:1608 (dnssec-signzone:x86_64+0x10000e36c)
#2 dispatch task.c:1128 (dnssec-signzone:x86_64+0x100209745)
#3 run task.c:1295 (dnssec-signzone:x86_64+0x1002070c8)
Location is global 'shuttingdown' at 0x0001086f9aa9 (dnssec-signzone+0x00010026eaa9)
Thread T2 (tid=18202920, running) created by main thread at:
#0 pthread_create <null> (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a17d)
#1 isc_thread_create thread.c:63 (dnssec-signzone:x86_64+0x100221cb6)
#2 isc_taskmgr_create task.c:1380 (dnssec-signzone:x86_64+0x100206e70)
#3 main dnssec-signzone.c:3827 (dnssec-signzone:x86_64+0x100002c93)
SUMMARY: ThreadSanitizer: data race dnssec-signzone.c in main
==================
secure.managed.db.signed
ThreadSanitizer: reported 12 warnings
Abort trap: 6