apache / apache/arrow

[C++] Test for alignment issues

Open
#33,933 8 comments 1 reaction 0 assignees View on GitHub
Component: C++ Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 18h
Merged PRs (30d)
91

Description

### Describe the enhancement requested

#14488 / #33336 are about an issue where we fail to handle unaligned buffers properly. We should see if we can test for these kinds of issues more systematically. For example: maybe we could run tests under an allocator that intentionally misaligns allocations.

### Component(s)

C++

Contributor guide

Open the contributing guide

Research direction

Start by reading issues #14488 and #33336 to understand the unaligned-buffer failures and the expected coverage. Then identify the existing C++ allocation and test infrastructure; done means tests systematically detect incorrect handling of intentionally misaligned buffers, with the scope and allocator approach agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.