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

[R] Improve cmake detection in Linux build

    XMLWordPrintableJSON

Details

    Description

       

      > arrow::write_parquet(iris, "~/iris") 
      *** caught segfault ***
      address (nil), cause 'memory not mapped' Traceback: 1: Table__from_dots(dots, schema) 2: shared_ptr_is_null(xp) 3: shared_ptr(Table, Table__from_dots(dots, schema)) 4: Table$create(x) 5: arrow::write_parquet(iris, "~/iris")
      
      

      The segfault is easy to generate trying to write iris data to parquet. I have tried R 4.0.0 and R 4.0.2, I've installed the arrow (R) package from CRAN, source, nightly build, both with and without using the system arrow C++ installation. When using system arrow the installed version is:

      Installed Packages 
      Name        : arrow-devel 
      Arch        : x86_64 
      Version     : 1.0.0 
      Release     : 1.el7 
      Size        : 32 M 
      Repo        : installed 
      From repo   : apache-arrow 
      Summary     : Libraries and header files for Apache Arrow C++ 
      URL         : https://arrow.apache.org/ 
      License     : Apache-2.0 
      Description : Libraries and header files for Apache Arrow C++.
      
      

       I realize that this is so basic that it seems improbable that your CI didn't catch something (i.e., that the issue has to do with my local environment) but would appreciate verification that version 1.0 works for others on centOS7

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              mpollock Matt Pollock
              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 - 1h 10m
                  1h 10m