You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Bryce Mecum (Jira)" <ji...@apache.org> on 2021/11/10 22:09:00 UTC

[jira] [Created] (ARROW-14667) [R] segfault on calls to arrow::S3FileSystem$create

Bryce Mecum created ARROW-14667:
-----------------------------------

             Summary: [R] segfault on calls to arrow::S3FileSystem$create
                 Key: ARROW-14667
                 URL: https://issues.apache.org/jira/browse/ARROW-14667
             Project: Apache Arrow
          Issue Type: Bug
            Reporter: Bryce Mecum
         Attachments: R-2021-11-10-124053.txt, session_info.txt

I was trying out a colleague's example code today and ended up with a segfault. Their code was:

{code:r}
library(arrow)

minio <- S3FileSystem$create(
  access_key = "",
  secret_key = "",
  scheme = "http",
  endpoint_override = "data.ecoforecast.org"
)
{code}

Though I'm able to reproduce the segfault with a more minimal example like:

{code:r}
library(arrow)
S3FileSystem$create()
{code}

The output I get immediately in the R console is:


{code:r}
> S3FileSystem$create()

 *** caught segfault ***
address 0x1a0, cause 'memory not mapped'

Traceback:
 1: (function (anonymous, access_key, secret_key, session_token,     role_arn, session_name, external_id, load_frequency, region,     endpoint_override, scheme, background_writes) {    .Call(`_arrow_fs___S3FileSystem__create`, anonymous, access_key,         secret_key, session_token, role_arn, session_name, external_id,         load_frequency, region, endpoint_override, scheme, background_writes)})(access_key = "", secret_key = "", session_token = "", role_arn = "",     session_name = "", external_id = "", load_frequency = 900L,     region = "", endpoint_override = "", scheme = "", background_writes = TRUE,     anonymous = FALSE)
 2: exec(fs___S3FileSystem__create, !!!args)
 3: S3FileSystem$create()
{code}

I've attached detailed info about my environment and a full core dump to the issue but the high level stuff is:

- OS: macOS 12.0.1
- R: 4.1.2
- R arrow version: 6.0.0.2



 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)