lidavidm opened a new pull request, #33865:
URL: https://github.com/apache/arrow/pull/33865

   ### Rationale for this change
   
   Converting cgo.Handle to unsafe.Pointer is not allowed as per the docs. 
Doing so appears to cause occasional panics at runtime, possibly because 
something corrupts or collects the handle unexpectedly.
   
   ### What changes are included in this PR?
   
   Heap-allocate the Handle to preserve it.
   
   ### Are these changes tested?
   
   We were unable to reproduce this outside of an integration test.
   
   ### Are there any user-facing changes?
   
   No user-facing changes.


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

Reply via email to