You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/03/25 14:59:00 UTC
[jira] [Updated] (ARROW-12077) [C++] Out-of-bounds write in
ListArray::FromArrays
[ https://issues.apache.org/jira/browse/ARROW-12077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Li updated ARROW-12077:
-----------------------------
Summary: [C++] Out-of-bounds write in ListArray::FromArrays (was: [C++] Random test record batch crashes on free with mimalloc in Windows/release mode)
> [C++] Out-of-bounds write in ListArray::FromArrays
> --------------------------------------------------
>
> Key: ARROW-12077
> URL: https://issues.apache.org/jira/browse/ARROW-12077
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 4.0.0
> Reporter: David Li
> Assignee: David Li
> Priority: Major
>
> This crashes when the batch is dropped with the error {{mimalloc: error: buffer overflow in heap block 0000040000001A00 of size 512: write after 512 bytes}}
> {code:java}
> auto batch_schema = schema({field("list", list(float64()), true), field("f64", float64())});
> auto batch = random::GenerateBatch(batch_schema->fields(), /*batch_size=*/4096, /*seed=*/0);
> {code}
> Notably all the following are required:
> * The list column must be nullable
> * The float column must be present
> * The batch size must be at least 4096
> * Must be release mode (RelWithDebInfo does not crash)
> * Must be built in a similar way as AppVeyor (i.e. following [http://arrow.apache.org/docs/developers/cpp/windows.html#replicating-appveyor-builds])
--
This message was sent by Atlassian Jira
(v8.3.4#803005)