[ https://issues.apache.org/jira/browse/ARROW-4796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661818#comment-17661818 ]
Rok Mihevc commented on ARROW-4796: ----------------------------------- This issue has been migrated to [issue #21315|https://github.com/apache/arrow/issues/21315] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [Flight][Python] segfault in simple server implementation > --------------------------------------------------------- > > Key: ARROW-4796 > URL: https://issues.apache.org/jira/browse/ARROW-4796 > Project: Apache Arrow > Issue Type: Bug > Components: FlightRPC, Python > Reporter: David Li > Assignee: David Li > Priority: Major > Labels: flight, pull-request-available > Fix For: 0.13.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Python segfaults if you implement a Flight server that returns a data stream > but does not keep a reference to the underlying data source (the Table, > RecordBatch, etc). The Flight bindings themselves do not keep a reference to > the object, so the server will segfault as the memory has been reclaimed. -- This message was sent by Atlassian Jira (v8.20.10#820010)