himotoyoshi opened a new issue, #54687: URL: https://github.com/apache/arrow/issues/54687
### Describe the bug, including details regarding any error messages, version, and platform. The GLib::Bytes returned by Arrow::Buffer#data reads freed memory once the array is garbage collected, although the Bytes object is still referenced. ``` require "arrow" bytes = Arrow::StringArray.new(["hello world, a long-ish string"]).data_buffer.data GC.start p bytes.to_s # => "\x80\x00_AN\x02\x00\x00rld, a long-ish string" ``` Environment: red-arrow 25.0.1, apache-arrow-glib 25.0.1 (Homebrew), Ruby 3.4.1, macOS 15.4.1 (arm64) ### Component(s) Ruby -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
