ThreadSanitizer: data race message.c:{443-508} in msgresetnames
Binary: nsupdate
Commit: c5b6f215
Tests: autosign, case, catz, checknames, masterformat, notify, nsupdate
WARNING: ThreadSanitizer: data race (pid=38820)
Read of size 8 at 0x7b5000010228 by main thread:
#0 msgresetnames message.c:443 (libdns.1503.dylib:x86_64+0x76c18)
#1 msgreset message.c:538 (libdns.1503.dylib:x86_64+0x70f89)
#2 dns_message_destroy message.c:809 (libdns.1503.dylib:x86_64+0x723b7)
#3 main nsupdate.c:3171 (nsupdate:x86_64+0x100002a93)
Previous write of size 8 at 0x7b5000010228 by thread T3:
#0 dns_message_parse message.c:1055 (libdns.1503.dylib:x86_64+0x72bde)
#1 dns_request_getresponse request.c:1183 (libdns.1503.dylib:x86_64+0x1295cf)
#2 update_completed nsupdate.c:2318 (nsupdate:x86_64+0x100009abd)
#3 run task.c:1134 (libisc.1503.dylib:x86_64+0x2c9e1)
Location is heap block of size 481 at 0x7b5000010200 allocated by thread T3:
#0 malloc <null> (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4e65a)
#1 default_memalloc mem.c:685 (libisc.1503.dylib:x86_64+0x17ae1)
#2 update_completed nsupdate.c:2316 (nsupdate:x86_64+0x100009a95)
#3 run task.c:1134 (libisc.1503.dylib:x86_64+0x2c9e1)
Thread T3 (tid=4967195, running) created by main thread at:
#0 pthread_create <null> (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a9cd)
#1 isc_thread_create thread.c:75 (libisc.1503.dylib:x86_64+0x46d1c)
#2 main nsupdate.c:909 (nsupdate:x86_64+0x10000222c)
SUMMARY: ThreadSanitizer: data race message.c:443 in msgresetnames
WARNING: ThreadSanitizer: data race (pid=38820)
Read of size 8 at 0x7b1800005fe8 by main thread:
#0 msgresetnames message.c:451 (libdns.1503.dylib:x86_64+0x76ddb)
#1 msgreset message.c:538 (libdns.1503.dylib:x86_64+0x70f89)
#2 dns_message_destroy message.c:809 (libdns.1503.dylib:x86_64+0x723b7)
#3 main nsupdate.c:3171 (nsupdate:x86_64+0x100002a93)
Previous write of size 8 at 0x7b1800005fe8 by thread T3:
#0 dns_message_parse message.c:1126 (libdns.1503.dylib:x86_64+0x72e8a)
#1 dns_request_getresponse request.c:1183 (libdns.1503.dylib:x86_64+0x1295cf)
#2 update_completed nsupdate.c:2318 (nsupdate:x86_64+0x100009abd)
#3 run task.c:1134 (libisc.1503.dylib:x86_64+0x2c9e1)
Location is heap block of size 81 at 0x7b1800005fa0 allocated by thread T3:
#0 malloc <null> (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x4e65a)
#1 default_memalloc mem.c:685 (libisc.1503.dylib:x86_64+0x17ae1)
#2 dns_request_getresponse request.c:1183 (libdns.1503.dylib:x86_64+0x1295cf)
#3 update_completed nsupdate.c:2318 (nsupdate:x86_64+0x100009abd)
#4 run task.c:1134 (libisc.1503.dylib:x86_64+0x2c9e1)
Thread T3 (tid=4967195, running) created by main thread at:
#0 pthread_create <null> (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a9cd)
#1 isc_thread_create thread.c:75 (libisc.1503.dylib:x86_64+0x46d1c)
#2 main nsupdate.c:909 (nsupdate:x86_64+0x10000222c)
SUMMARY: ThreadSanitizer: data race message.c:451 in msgresetnames
and more ...