Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14667

[R] segfault on calls to arrow::S3FileSystem$create

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 7.0.0
    • R

    Description

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

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

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

      library(arrow)
      S3FileSystem$create()
      

      The output I get immediately in the R console is:

      > 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()
      

      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

       

      Attachments

        1. R-2021-11-10-124053.txt
          23 kB
          Bryce Mecum
        2. session_info.txt
          3 kB
          Bryce Mecum

        Activity

          People

            jonkeane Jonathan Keane
            brycemecum Bryce Mecum
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 10m
                3h 10m