-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
Component: C++Component: FlightRPCCritical FixBugfixes for security vulnerabilities, crashes, or invalid data.Bugfixes for security vulnerabilities, crashes, or invalid data.Type: bug
Milestone
Description
Describe the bug, including details regarding any error messages, version, and platform.
ArrowFlight UCX transport sets UCS_THREAD_MODE_SERIALIZED mode:
| worker_params.thread_mode = UCS_THREAD_MODE_SERIALIZED; |
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: openucx/ucx#9987
Opened a PR: #43120
Component(s)
C++, FlightRPC
Metadata
Metadata
Assignees
Labels
Component: C++Component: FlightRPCCritical FixBugfixes for security vulnerabilities, crashes, or invalid data.Bugfixes for security vulnerabilities, crashes, or invalid data.Type: bug