You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/25 16:41:17 UTC

[GitHub] [arrow-rs] jyericlin commented on issue #2874: Pointer freed error when deallocating ArrayData with shared memory buffer

jyericlin commented on issue #2874:
URL: https://github.com/apache/arrow-rs/issues/2874#issuecomment-1290848880

   Thank you very much @tustvold for the suggestions. I appreciate it. The `Buffer::from_custom_allocation` works well. The only thing I had to modify is to create a dummy object as the allocation instead of `Arc::new(shmem)` as the shmem contains a `*mut u8` which can not be sent between threads safely. Then I can manage the shared memory (creation and free) manually. 


-- 
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