+
Skip to content

nameserver_probe_callback is deadlocked #1799

@wanzhao

Description

@wanzhao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载