amirgon opened a new issue, #43130: URL: https://github.com/apache/arrow/issues/43130
### Describe the bug, including details regarding any error messages, version, and platform. ArrowFlight UCX transport sets `UCS_THREAD_MODE_SERIALIZED` mode: https://github.com/apache/arrow/blob/fd6bf5a532245ae80908d52b90d5462f9b2f9882/cpp/src/arrow/flight/transport/ucx/ucx_client.cc#L100 This can cause UCX to crash (mpool corruption). This happens when buffer is deallocated on a different thread. In such case two threads access UCX memory pool simultaneously. To fix that, need to change thread mode to `UCS_THREAD_MODE_MULTI`. See discussion on UCX forum: https://github.com/openucx/ucx/discussions/9987 Opened a PR: https://github.com/apache/arrow/pull/43120 ### Component(s) C++, FlightRPC -- 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]
