Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flight][Python] segfault in simple server implementation #21315

Closed
asfimport opened this issue Mar 7, 2019 · 2 comments
Closed

[Flight][Python] segfault in simple server implementation #21315

asfimport opened this issue Mar 7, 2019 · 2 comments

Comments

@asfimport
Copy link

asfimport commented Mar 7, 2019

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.

Reporter: David Li / @lidavidm
Assignee: David Li / @lidavidm

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-4796. Please see the migration documentation for further details.

@asfimport
Copy link
Author

David Li / @lidavidm:
I'll put up a fix shortly.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 3834
#3834

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants