[PR #535] [MERGED] [TransferEngine] fix segfault when create cq failed #1633

Closed
opened 2026-10-29 21:29:04 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/Mooncake/pull/535
Author: @doujiang24
Created: 6/20/2025
Status: ✅ Merged
Merged: 6/27/2025
Merged by: @alogfans

Base: main ← Head: fix-cq-destory-segfault


📝 Commits (1)

  • f4c4f73 [TransferEngine] fix segfault when create cq failed.

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 mooncake-transfer-engine/src/transport/rdma_transport/rdma_context.cpp (+2 -0)

📄 Description

got such error message when rdma nic broken:

E0620 17:20:15.656373   293 rdma_context.cpp:116] Failed to create completion queue: Cannot allocate memory [12]
W0620 17:20:15.657889   293 rdma_transport.cpp:423] Disable device mlx5_bond_3
Fatal Python error: Segmentation fault

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/Mooncake/pull/535 **Author:** [@doujiang24](https://github.com/doujiang24) **Created:** 6/20/2025 **Status:** ✅ Merged **Merged:** 6/27/2025 **Merged by:** [@alogfans](https://github.com/alogfans) **Base:** `main` ← **Head:** `fix-cq-destory-segfault` --- ### 📝 Commits (1) - [`f4c4f73`](https://github.com/kvcache-ai/Mooncake/commit/f4c4f73e032bee6a85b4ef7f5184a5baba7d877a) [TransferEngine] fix segfault when create cq failed. ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `mooncake-transfer-engine/src/transport/rdma_transport/rdma_context.cpp` (+2 -0) </details> ### 📄 Description got such error message when rdma nic broken: ``` E0620 17:20:15.656373 293 rdma_context.cpp:116] Failed to create completion queue: Cannot allocate memory [12] W0620 17:20:15.657889 293 rdma_transport.cpp:423] Disable device mlx5_bond_3 Fatal Python error: Segmentation fault ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:29:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/Mooncake#1633
No description provided.