Describe the bug (描述bug)
在aarch64架构下运行brpc_grpc_protocol_unittest报错bthread=4294968320 sched_to itself!并异常退出,具体日志信息如下:
[==========] Running 7 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 7 tests from GrpcTest
[ RUN ] GrpcTest.percent_encode
I0716 16:53:28.192583 1732065 /home/leaf-potato/Open-Source/brpc/src/brpc/server.cpp:1127] Server[(anonymous namespace)::MyGrpcService] is serving on port=8011.
I0716 16:53:28.337017 1732065 /home/leaf-potato/Open-Source/brpc/src/brpc/server.cpp:1130] Check out http://dev-ubuntu:8011 in web browser.
I0716 16:53:28.337832 1732065 /home/leaf-potato/Open-Source/brpc/src/brpc/server.cpp:1187] Server[(anonymous namespace)::MyGrpcService] is going to quit
F0716 16:53:28.338519 1732076 /home/leaf-potato/Open-Source/brpc/src/bthread/task_group.cpp:623] bthread=4294968320 sched_to itself!
[ OK ] GrpcTest.percent_encode (177 ms)
[ RUN ] GrpcTest.percent_decode
[2] 1732065 abort ./brpc_grpc_protocol_unittest
To Reproduce (复现方法)
- 拉取master版本最新代码&安装依赖
mkdir build && cd build && cmake -DBUILD_UNIT_TESTS=ON .. && make
Expected behavior (期望行为)
正常运行单元测试
Versions (各种版本)
OS: Ubuntu 22.04 | aarch64
Compiler: g++ 11.3.0
brpc: master | 2729272
protobuf: 3.12.4
Additional context/screenshots (更多上下文/截图)
Describe the bug (描述bug)
在aarch64架构下运行
brpc_grpc_protocol_unittest报错bthread=4294968320 sched_to itself!并异常退出,具体日志信息如下:To Reproduce (复现方法)
mkdir build && cd build && cmake -DBUILD_UNIT_TESTS=ON .. && makeExpected behavior (期望行为)
正常运行单元测试
Versions (各种版本)
OS: Ubuntu 22.04 | aarch64
Compiler: g++ 11.3.0
brpc: master | 2729272
protobuf: 3.12.4
Additional context/screenshots (更多上下文/截图)