kylebarron commented on issue #5067:
URL: https://github.com/apache/arrow-rs/issues/5067#issuecomment-1807225673
Well, I take that back, if I call `read_array` twice in a row on the same
pyarrow array, it segfaults.
```
>>> geoarrow.rust.rust.read_array(arr)
ArrayData { data_type: Int64, len: 4, offset: 0, buffers: [Buffer { data:
Bytes { ptr: 0x596540300c0, len: 32, data: [1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0,
0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0] }, ptr:
0x596540300c0, length: 32 }], child_data: [], nulls: None }
>>> geoarrow.rust.rust.read_array(arr)
[1] 9141 segmentation fault python
```
So clearly I'm doing something wrong with the ownership model
--
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]