You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "amirgon (via GitHub)" <gi...@apache.org> on 2024/07/03 08:29:55 UTC
[I] [C++][ArrowFlight] Crash due to UCS thread mode [arrow]
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][ArrowFlight] Crash due to UCS thread mode [arrow]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #43130:
URL: https://github.com/apache/arrow/issues/43130#issuecomment-2210172592
Issue resolved by pull request 43120
https://github.com/apache/arrow/pull/43120
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][ArrowFlight] Crash due to UCS thread mode [arrow]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #43130: [C++][ArrowFlight] Crash due to UCS thread mode
URL: https://github.com/apache/arrow/issues/43130
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org