Skip to content

服务端分别在两个端口启动protobuf server和 thrift server后,访问任一端口的/vars/* coredump #2269

@muziandmuzi

Description

@muziandmuzi

Describe the bug (描述bug)

服务端分别在两个端口启动brpc server和 thrift server后,访问任一端口的/vars/* coredump

To Reproduce (复现方法)
1、主线程启动protobuf server;
2、另外创建一个线程,在新的端口启动thrift server;
3、curl 任一端口的 /vars/*

Expected behavior (期望行为)
1、正常返回brpc的统计信息

Versions (各种版本)
OS:
centos7.2
Compiler:
gcc 11
brpc:
0.9.6
protobuf:
3.8.0
thrift
0.16.0
Additional context/screenshots (更多上下文/截图)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugthe code does not work as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions