-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
EVDNS_LOCK(ns->base); in nameserver_probe_callback is deadlocked.
My program is a C++ program running in the Android environment. Recently, I suddenly found that this problem occurs when reconnecting to a domain name
#0 0x000000740907f7a0 in syscall () from target:/apex/com.android.runtime/lib64/bionic/libc.so
#1 0x00000074090841b8 in __futex_wait_ex(void volatile*, bool, int, bool, timespec const*) () from
target:/apex/com.android.runtime/lib64/bionic/libc.so
#2 0x00000074090ec640 [PAC] in NonPI::MutexLockWithTimeout(pthread_mutex_internal_t*, bool, timespec const*) ()
from target:/apex/com.android.runtime/lib64/bionic/libc.so
#3 0x00000074090ec344 [PAC] in pthread_mutex_lock () from target:/apex/com.android.runtime/lib64/bionic/libc.so
#4 0x00000055770f1b08 [PAC] in evthread_posix_lock ()
#5 0x00000055770e11dc in nameserver_probe_callback ()
#6 0x00000055770dc33c in reply_run_callback ()
#7 0x00000055770c7c34 in event_process_active_single_queue ()
#8 0x00000055770c80d8 in event_process_active ()
#9 0x00000055770c888c in event_base_loop ()
I want to know how to solve this problem