Skip to content

brpc使用clang编译时,运行example/streaming_echo_c++会出现core dump #2781

Description

@liangjiawei1110

Describe the bug (描述bug)
brpc使用clang编译时,运行example/streaming_echo_c++会出现core dump

To Reproduce (复现方法)
编译brpc:
mkdir build && cd build export CXX=clang++ cmake .. -G Ninja && ninja
编译/example/streaming_echo_c++
mkdir build && cd build cmake .. -G Ninja && ninja

Expected behavior (期望行为)
程序正常运行

Versions (各种版本)
OS: ubuntu
Compiler: Ubuntu clang version 15.0.7
brpc: 1.10.0及以上版本
protobuf:

Additional context/screenshots (更多上下文/截图)
image

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