Skip to content

[Python] MemoryPool bytes_allocated causes seg #19001

@asfimport

Description

@asfimport

Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 18:21:58)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import pyarrow as pa

mp = pa.MemoryPool()
arr = pa.array([1,2,3], memory_pool=mp)
mp.bytes_allocated()

Segmentation fault (core dumped)

I'll dig into this further, but should bytes_alloacted be returning anything when called like this? Or should it raise NotImplemented?

Reporter: Alex Hagerman / @n0mn0m
Assignee: Wes McKinney / @wesm

PRs and other links:

Note: This issue was originally created as ARROW-2601. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions