Skip to content

【rdma问题请教】Server收到Client通信后直接core #2683

@SimonCqk

Description

@SimonCqk

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 (更多上下文/截图)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions