You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Matt Pollock (Jira)" <ji...@apache.org> on 2020/08/03 14:23:00 UTC
[jira] [Commented] (ARROW-9602) [R] segfault on Table$create(iris)
[ https://issues.apache.org/jira/browse/ARROW-9602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170064#comment-17170064 ]
Matt Pollock commented on ARROW-9602:
-------------------------------------
I don't think I can provide a docker image. I _think_ that this has to do with using devtoolset-8 in my R Makeconf, specifically for CXX11 and CXX14. I tried the suggestion in the installation vignette under known installation issues
{code:java}
CC=/usr/bin/gcc
CXX=/usr/bin/g++
{code}
and did see a change when installing the R package with arrow included (in that mode without those settings {{arrow_available() == FALSE}} but with the above it changed to true). However I'm still getting the sefgault.
> [R] segfault on Table$create(iris)
> ----------------------------------
>
> Key: ARROW-9602
> URL: https://issues.apache.org/jira/browse/ARROW-9602
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Affects Versions: 1.0.0
> Reporter: Matt Pollock
> Priority: Major
>
>
> {code:java}
> > 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")
> {code}
> 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:
> {noformat}
> 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++.
> {noformat}
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)