Mark Andrews
ce5dc75e48
Move cleanup of queries to later in the shutdown sequence
to avoid TSAN report
WARNING: ThreadSanitizer: data race
Write of size 8 at 0x000000000001 by main thread:
#0 free <null>
#1 default_memfree lib/isc/mem.c:440
#2 mem_put lib/isc/mem.c:363
#3 isc__mem_free lib/isc/mem.c:1012
#4 main bin/tools/mdig.c:2231
Previous read of size 1 at 0x000000000005 by thread T1:
#0 dns_name_fromtext lib/dns/name.c:1121
#1 sendquery bin/tools/mdig.c:596
#2 sendqueries bin/tools/mdig.c:779
#3 dispatch lib/isc/task.c:1153
#4 run lib/isc/task.c:1345
#5 isc__trampoline_run lib/isc/trampoline.c:184
#6 <null> <null>
Thread T1 (running) created by main thread at:
#0 pthread_create <null>
#1 isc_thread_create pthreads/thread.c:79
#2 isc_taskmgr_create lib/isc/task.c:1435
#3 main bin/tools/mdig.c:2148
SUMMARY: ThreadSanitizer: data race in __interceptor_free
(cherry picked from commit 4015af02d8)
2021-03-04 15:02:07 +01:00
..
2020-12-09 10:46:16 +01:00
2018-05-16 09:54:35 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-30 11:34:42 +10:00
2021-01-12 15:37:47 +01:00
2021-02-16 12:08:21 +11:00
2021-03-04 15:02:07 +01:00
2021-01-12 15:35:14 +01:00
2021-03-04 11:21:26 +01:00
2021-03-03 19:19:50 -08:00
2021-02-16 12:08:21 +11:00
2021-01-12 15:35:14 +01:00
2020-09-14 16:50:58 -07:00
2021-01-12 15:35:14 +01:00
2020-09-14 16:50:58 -07:00
2021-01-12 15:35:14 +01:00