View::to_arrow_*() crashes when called from python #2597
Closed
Description
Bug Report
Steps to Reproduce:
- call View.to_arrow() from python
Expected Result:
it should work
Actual Result:
crash. when ran with debug-malloc python clearly states there were allocations attempted without GIL
Environment:
2.8.0/2.10.0, python 3.11/3.12, windows 10
Additional Context:
there is a bunch of methods that releases GIL to do stuff in C++ but does not grab it back before creating py::bytes object to return. See https://github.com/finos/perspective/compare/master...abalabin-bamfunds:perspective:fix-gil-unlocking?expand=1