[ https://issues.apache.org/jira/browse/ARROW-15677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493218#comment-17493218 ]
Nicola Crane commented on ARROW-15677: -------------------------------------- Also [~qtmaicw66] if you're curious about use-cases, you might find the cookbook helpful; it's written from a task-oriented point-of-view and can be found here: https://arrow.apache.org/cookbook/r/ > [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: 1h 20m > 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)