【rdma问题请教】Server收到Client通信后直接core
- Dominant language
- C++
- Stars
- 17.6k
- Forks
- 4.1k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 69
Description
**Describe the bug (描述bug)**
在我的应用场景中,集成了brpc的多种操作,通过request_attachment或response_attachment收发,包含append、append_with_user_data、swap等多个动作,现尝试启用rdma,但还没有端到端跑通(brpc内置的rdma example已经跑通)
**To Reproduce (复现方法)**
同时在日志中,存在:
W0706 14:41:19.870314 12521 rdma_endpoint.cpp:567] Fail to read Hello Message from client:Socket{id=102 fd=1057 addr=33.99.77.245:38992:19733} (0x0x7f0c83d23cc0) 33.99.77.245:38992
**疑问**
1. global initialize确认生效,尝试了在所有append_user_data的地方都register memeory,没有明显效果;
2. 后面将所有append_user_data直接改成了append,直接copy,也还是会core;
3. 可能导致core的原因有哪些?目前阻塞住了
**Versions (各种版本)**
OS:
Compiler:
brpc: 1.8.0
protobuf:
**Additional context/screenshots (更多上下文/截图)**
Contributor guide
Research direction
Start with rdma_endpoint.cpp:567 and the logged "Fail to read Hello Message" path, then compare the application setup with brpc's built-in RDMA example. Reproduce the core with complete OS, compiler, protobuf, stack trace, and application details; done means identifying a reproducible cause and documenting or fixing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100