jorisvandenbossche opened a new issue, #38328:
URL: https://github.com/apache/arrow/issues/38328
This crashes:
```
In [1]: pa.set_memory_pool(pa.logging_memory_pool(pa.default_memory_pool()))
In [2]: pa.array([1, 2, 3])
Segmentation fault (core dumped)
```
while passing it as an argument to the function allocating the data works
fine:
```
In [1]: pa.array([1, 2, 3],
memory_pool=pa.logging_memory_pool(pa.default_memory_pool()))
Allocate: size = 256, alignment = 64
Allocate: size = 64, alignment = 64
Reallocate: old_size = 256, new_size = 64, alignment = 64
Free: size = 64, alignment = 64
Out[1]:
<pyarrow.lib.Int64Array object at 0x7f365b0568c0>
[
1,
2,
3
]
```
--
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]