You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/11/05 20:16:00 UTC
[jira] [Resolved] (ARROW-10499) [C++][Java] Fix ORC Java JNI Crash
[ https://issues.apache.org/jira/browse/ARROW-10499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou resolved ARROW-10499.
----------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 8595
[https://github.com/apache/arrow/pull/8595]
> [C++][Java] Fix ORC Java JNI Crash
> ----------------------------------
>
> Key: ARROW-10499
> URL: https://issues.apache.org/jira/browse/ARROW-10499
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Java
> Reporter: Terence Honles
> Assignee: Terence Honles
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {{OrcStripeReaderJniWrapper::getSchema}} previously used {{nullptr}} for the memory pool parameter to {{arrow::ipc::SerializeSchema}} to implicitly call {{arrow::default_memory_pool()}}. As part of https://issues.apache.org/jira/browse/ARROW-10080 a check was placed to fail on {{nullptr}} being provided. This change removes the check, but also explicitly calls {{arrow::default_memory_pool()}} which is used elsewhere in the JNI wrapper.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)