Matt Pollock created ARROW-10780:
------------------------------------

             Summary: segfault in R
                 Key: ARROW-10780
                 URL: https://issues.apache.org/jira/browse/ARROW-10780
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
    Affects Versions: 2.0.0
            Reporter: Matt Pollock


Hello, I installed arrow using

{code:java}
  Sys.setenv(ARROW_R_DEV=TRUE)
  
source("https://raw.githubusercontent.com/apache/arrow/master/r/R/install-arrow.R";)
  install_arrow(binary = FALSE, use_system = FALSE)
{code}

It shouldn't matter, but I also checked that the system 
parquet-devel/arrow-devel are both on version 2.0.0 (I'm on CentOS 7). I'm 
using R 4.0.3. However using any arrow function causes a segfault, for example:

{code:java}
> library(arrow)

Attaching package: ‘arrow’

The following object is masked from ‘package:utils’:

    timestamp

> arrow_available()
[1] TRUE
> write_parquet(iris, "~/iris4")

 *** 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: write_parquet(iris, "~/iris4")
{code}

I have tried various installation methods (source/binary, system packages or 
not, even the nightly build). The only thing I've gotten to work is to revert 
to the 1.0.1 version of arrow. Any advice is appreciated.

Thanks in advance.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to