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

Too many releases in IPC writer when writing slices #29182

Closed
asfimport opened this issue Aug 2, 2021 · 1 comment
Closed

Too many releases in IPC writer when writing slices #29182

asfimport opened this issue Aug 2, 2021 · 1 comment
Assignees
Milestone

Comments

@asfimport
Copy link

https://github.com/apache/arrow/blob/master/go/arrow/ipc/writer.go#L441

In the *arrow.StringType case, in the needTruncate code path (happens when writing a record.NewSlice), a reference to data.buffers[2] is appended to the payload body. It gets Release'd here without any Retain.

The code for the FixedWidthType and BinaryType cases is similar.

The attached code reproduces the issue.

Reporter: Curt Hash
Assignee: Matthew Topol / @zeroshade

Original Issue Attachments:

PRs and other links:

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

@asfimport
Copy link
Author

Matthew Topol / @zeroshade:
Issue resolved by pull request 11270
#11270

@asfimport asfimport added this to the 6.0.0 milestone Jan 11, 2023
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