[
https://issues.apache.org/jira/browse/ARROW-15677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicola Crane resolved ARROW-15677.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 12430
[https://github.com/apache/arrow/pull/12430]
> [R] calling invalidate() method on ArrowObjects causes subsequent segfault
> --------------------------------------------------------------------------
>
> Key: ARROW-15677
> URL: https://issues.apache.org/jira/browse/ARROW-15677
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Affects Versions: 7.0.0
> Reporter: qtmaicw66
> Assignee: Nicola Crane
> Priority: Minor
> Labels: pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Trying to access invalidated dataset results in segfaults on OSX.
>
> library(arrow, warn.conflicts = FALSE)
> my_array <- Array$create(array((1:100000) + 1L, rep(100, 3)))
> my_array$invalidate()
> my_array$length()
>
> Results:
> *** caught segfault ***
> address 0xffff01000008, cause 'invalid permissions'
> Traceback:
> 1: Array__length(self)
> 2: my_array$length()
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
--
This message was sent by Atlassian Jira
(v8.20.1#820001)