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

[C++] Array Take may dereference absent null bitmap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0
    • C++, Python
    • macOS, ubuntu

    Description

      Sorting a non-chunked array has some sort of reference problem. Some operations on the resulting indices array crash.

      import pyarrow as pa, pyarrow.compute as pc
      
      array = pa.array(list("abcba"))
      assert pc.sort_indices(pa.chunked_array([array])).take([0])
      assert pc.array_sort_indices(pa.chunked_array([array])).take([0])
      pc.sort_indices(array).take([0])  # crash
      pc.array_sort_indices(array).take([0])  # crash
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              coady A. Coady
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m