[ 
https://issues.apache.org/jira/browse/ARROW-14667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicola Crane updated ARROW-14667:
---------------------------------
    Component/s:     (was: C++)

> [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
>          Components: R
>            Reporter: Bryce Mecum
>            Assignee: Jonathan Keane
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: R-2021-11-10-124053.txt, session_info.txt
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to