You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/12/01 16:29:00 UTC

[jira] [Commented] (ARROW-10780) segfault in R

    [ https://issues.apache.org/jira/browse/ARROW-10780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241677#comment-17241677 ] 

Neal Richardson commented on ARROW-10780:
-----------------------------------------

Thanks for the report. There are some issues on CentOS 7 that we haven't quite nailed down; see https://arrow.apache.org/docs/r/articles/install.html#known-installation-issues-1 and https://issues.apache.org/jira/browse/ARROW-9776 for example. 

Since you ran with {{ARROW_R_DEV=TRUE}}, you should have some verbose compilation output on your terminal--can you please share that?

Also, I'm curious, you installed with {{use_system=FALSE}} but also reported the versions of the Arrow system packages. What happens with {{use_system=TRUE}} (or omitting the argument since true is the default)?

My guess is that there's a mismatch between the compiler/version that was used to compile the system packages and that was used to compile the R package, or something like that. 

> 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
>            Priority: Major
>
> 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)