bind9/lib/isc
Mark Andrews c4edcaf140 It appears that you can't change what you are polling for while connecting.
WARNING: ThreadSanitizer: data race
    Read of size 8 at 0x000000000001 by thread T1 (mutexes: write M1):
    #0 epoll_ctl <null>
    #1 watch_fd lib/isc/unix/socket.c:704:8
    #2 wakeup_socket lib/isc/unix/socket.c:897:11
    #3 process_ctlfd lib/isc/unix/socket.c:3362:3
    #4 process_fds lib/isc/unix/socket.c:3275:10
    #5 netthread lib/isc/unix/socket.c:3516:10

    Previous write of size 8 at 0x000000000001 by thread T2 (mutexes: write M2):
    #0 connect <null>
    #1 isc_socket_connect lib/isc/unix/socket.c:4737:7
    #2 resquery_send lib/dns/resolver.c:2892:13
    #3 fctx_query lib/dns/resolver.c:2202:12
    #4 fctx_try lib/dns/resolver.c:4300:11
    #5 resquery_connected lib/dns/resolver.c:3130:4
    #6 dispatch lib/isc/task.c:1152:7
    #7 run lib/isc/task.c:1344:2

    Location is file descriptor 513 created by thread T2 at:
    #0 connect <null>
    #1 isc_socket_connect lib/isc/unix/socket.c:4737:7
    #2 resquery_send lib/dns/resolver.c:2892:13
    #3 fctx_query lib/dns/resolver.c:2202:12
    #4 fctx_try lib/dns/resolver.c:4300:11
    #5 resquery_connected lib/dns/resolver.c:3130:4
    #6 dispatch lib/isc/task.c:1152:7
    #7 run lib/isc/task.c:1344:2

    Mutex M1 (0x000000000016) created at:
    #0 pthread_mutex_init <null>
    #1 isc__mutex_init lib/isc/pthreads/mutex.c:288:8
    #2 setup_thread lib/isc/unix/socket.c:3584:3
    #3 isc_socketmgr_create2 lib/isc/unix/socket.c:3825:3
    #4 create_managers bin/named/main.c:932:11
    #5 setup bin/named/main.c:1223:11
    #6 main bin/named/main.c:1523:2

    Mutex M2 is already destroyed.

    Thread T1 'isc-socket-1' (running) created by main thread at:
    #0 pthread_create <null>
    #1 isc_thread_create lib/isc/pthreads/thread.c:73:8
    #2 isc_socketmgr_create2 lib/isc/unix/socket.c:3826:3
    #3 create_managers bin/named/main.c:932:11
    #4 setup bin/named/main.c:1223:11
    #5 main bin/named/main.c:1523:2

    Thread T2 (running) created by main thread at:
    #0 pthread_create <null>
    #1 isc_thread_create lib/isc/pthreads/thread.c:73:8
    #2 isc_taskmgr_create lib/isc/task.c:1434:3
    #3 create_managers bin/named/main.c:915:11
    #4 setup bin/named/main.c:1223:11
    #5 main bin/named/main.c:1523:2

    SUMMARY: ThreadSanitizer: data race in epoll_ctl

(cherry picked from commit c37b251eb9)
2020-09-23 14:22:15 +10:00
..
include update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
netmgr update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pthreads update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
tests update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
unix It appears that you can't change what you are polling for while connecting. 2020-09-23 14:22:15 +10:00
win32 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
aes.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
api prep 9.16.7 2020-09-16 22:50:38 +02:00
app.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
assertions.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
astack.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
backtrace-emptytbl.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
backtrace.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
base32.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
base64.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
bind9.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
buffer.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
bufferlist.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
commandline.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
counter.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
crc64.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
entropy.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
entropy_private.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
error.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
event.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
fsaccess.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hash.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
heap.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hex.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hmac.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hp.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
ht.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
httpd.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
iterated_hash.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lex.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
lfsr.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
lib.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
log.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
Makefile.in Report Extended DNS Error codes 2020-05-13 10:26:39 +10:00
md.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
mem.c Exclude isc_mem_isovermem from ThreadSanitizer 2020-09-17 17:35:58 +02:00
mem_p.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
mutexblock.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
netaddr.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
netscope.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
nonce.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
openssl_shim.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
openssl_shim.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
parseint.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pk11.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pk11_result.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pool.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
portset.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
queue.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
quota.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
radix.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
random.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
ratelimiter.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
regex.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
region.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
result.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
rwlock.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
safe.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
serial.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
siphash.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
sockaddr.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
stats.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
string.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
symtab.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
task.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
task_p.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
taskpool.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
timer.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
timer_p.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
tm.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
utf8.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
version.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
xoshiro128starstar.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00