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:11:00 UTC

[jira] [Commented] (ARROW-12077) [C++] Random test record batch crashes on free with mimalloc in Windows/release mode

    [ https://issues.apache.org/jira/browse/ARROW-12077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308706#comment-17308706 ] 

David Li commented on ARROW-12077:
----------------------------------

It turns out this also occurs on Linux with mimalloc enabled, this time thankfully in debug mode.

> [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
>            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)