David Li created ARROW-12077:
--------------------------------
Summary: [C++] Random test record batch crashes on free with
mimalloc in Windows/release mode
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
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)