Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2601

[Python] MemoryPool bytes_allocated causes seg

    XMLWordPrintableJSON

    Details

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wesm Wes McKinney
                Reporter:
                alexhagerman Alex Hagerman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h