apache / brpc

brpc is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc. "brpc" means "better RPC".
https://brpc.apache.org
Apache License 2.0
16.56k stars 3.98k forks source link

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

Open liangjiawei1110 opened 1 month ago

liangjiawei1110 commented 1 month ago

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