Skip to content

[C++] parquet-encoding-benchmark makes invalid accesses if repetitions > 1 #42140

Closed

Description

@pitrou

Describe the bug, including details regarding any error messages, version, and platform.

When looking at some continuous benchmarking failures on macOS ARM, I came to the conclusion that parquet-encoding-benchmark can crash if more than one benchmark repetition is requested.

I managed to reproduce the issue locally on x86 (Ubuntu 22.04) using this command line:

$ ARROW_DEFAULT_MEMORY_POOL=system  valgrind <build dir>/relwithdebinfo/parquet-encoding-benchmark --benchmark_repetitions=6 --benchmark_min_time=0.050000s --benchmark_filter=BM_ArrowBinaryPlain.EncodeLowLevel

Component(s)

C++

Activity

  1. self-assigned this
    on Jun 13, 2024
  2. added a commit that references this issue on Jun 13, 2024
  3. added a commit that references this issue on Jun 13, 2024
  4. added this to the 17.0.0 milestone on Jun 13, 2024
  5. pitrou commented on Jun 13, 2024

    @pitrou
    MemberAuthor

    Issue resolved by pull request 42141
    #42141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions