pingcap / pingcap/tiflash

Potential unaligned memory access causes bus error on ARM

Open
#10,782 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects-6.1 affects-6.5 affects-7.1 affects-7.5 affects-8.1 affects-8.5 affects-9.0 component/compute severity/major type/bug
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the referenced locations in dbms/src/Columns/ColumnString.h, dbms/src/Columns/ColumnArray.cpp, and dbms/src/Interpreters/Aggregator.h, starting with the raw pointer reads at the cited lines. Validate the behavior on a strict-alignment ARM system; done means those reads no longer risk bus errors from non-aligned addresses.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.