Skip to content

TimerThread 没有正常初始卡在butil::PlatformThread::SetName("brpc_timer") #3104

Description

@chentingkai00301

Describe the bug
TimerThread初始化时, 长时间处于这种状态(额外有两个线程无法gdb看栈信息,bt就直接退出),卡住时的栈图如下,

Image

To Reproduce

Expected behavior

Versions
OS: centos8/ubuntu22.04
Compiler:
brpc: release-1.9
protobuf: 3.5.0-15

Additional context/screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions