leaf-potato opened a new issue, #2318:
URL: https://github.com/apache/brpc/issues/2318

   **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 (复现方法)**
   1. 拉取master版本最新代码&安装依赖
   2. `mkdir build && cd build && cmake -DBUILD_UNIT_TESTS=ON .. && make`
   
   
   **Expected behavior (期望行为)**
   正常运行单元测试
   
   
   **Versions (各种版本)**
   OS: Ubuntu 22.04
   Compiler: g++ 11.3.0
   brpc: master | 2729272ae5e
   protobuf: 3.12.4
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to