You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/04/06 12:42:10 UTC
[GitHub] [arrow] paleolimbot commented on issue #34897: [R][Python] Segfault on session exit after materializing ALTREP character vectors imported from Python
paleolimbot commented on issue #34897:
URL: https://github.com/apache/arrow/issues/34897#issuecomment-1499007140
Weston pointed me at some code in the Python package that checks if Python is finalizing before attempting to do something that might modify reference counts:
https://github.com/apache/arrow/blob/main/python/pyarrow/src/arrow/python/udf.cc#L52-L58
From the R side, our external pointers have an option to not run the finalizer when the session shuts down ( https://github.com/r-lib/cpp11/blob/main/inst/include/cpp11/external_pointer.hpp#L58 ). We could/should pass `false` here since we aren't using the finalizers to do anything that will have an effect outside the process.
--
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