apache / apache/brpc

brpc client 开启dummy server 程序core掉

Open
#2,896 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

**Describe the bug (描述bug)**
程序使用brpc client 访问 server端,当访问contention时

![Image](https://github.com/user-attachments/assets/68a33dd1-063b-4d15-ae80-5d7f190962a5) 会导致程序出core 。gdb查看是这里的问题

![Image](https://github.com/user-attachments/assets/c7d33272-8972-4d42-8972-1ad7a7c6f755)

**To Reproduce (复现方法)**
只要有下载请求 访问contention必现

**Versions (各种版本)**
OS: centos 7.9
gcc:11
Compiler:
brpc:v1.0.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the crash with a brpc client making a download request while accessing contention, using brpc v1.0.0 on CentOS 7.9 with GCC 11. Inspect the GDB locations shown in the issue and compare the failure with and without the dummy server. Done means identifying and fixing the core-producing condition and confirming the reproduction no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.