Skip to content

test: suppress TSan data race in mimalloc metadata allocator - #7559

Merged
PastaPastaPasta merged 1 commit into
dashpay:developfrom
PastaPastaPasta:fix/mimalloc-tsan-suppression
Aug 7, 2026
Merged

PastaPastaPasta merged 1 commit into
dashpay:developfrom
PastaPastaPasta:fix/mimalloc-tsan-suppression

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Member

Issue being fixed or feature implemented

Fixes #7558.

Suppresses a ThreadSanitizer data race between _mi_meta_zalloc (memset) and _mi_heap_init (memcpy) in mimalloc during concurrent BLS worker thread execution in test_dash.

What was done?

Added race:_mi_meta_zalloc and race:_mi_heap_init suppressions to test/sanitizer_suppressions/tsan.

How Has This Been Tested?

Validated suppression syntax against test/sanitizer_suppressions/tsan and ran python3 test/lint/lint-whitespace.py.

Breaking Changes

None.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

This pull request was created by Codex.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@PastaPastaPasta, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 15 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c94c54c2-5b4c-4b9e-aacd-536d94a6e04f

📥 Commits

Reviewing files that changed from the base of the PR and between a660e1f and ac0b606.

📒 Files selected for processing (1)
  • test/sanitizer_suppressions/tsan

Comment @coderabbitai help to get the list of available commands.

@PastaPastaPasta

Copy link
Copy Markdown
Member Author

Merging; so that we have real fails if something else exists. this was flagged after a arm runner image update; I don't think it's a huge deal, I think it's a false positive

@PastaPastaPasta PastaPastaPasta added this to the 24 milestone Aug 7, 2026
@thepastaclaw

Copy link
Copy Markdown
Collaborator

🕓 Ready for review — 6 ahead in queue (commit ac0b606)
Queue position: 7/7

@PastaPastaPasta
PastaPastaPasta merged commit 4dfe036 into dashpay:develop Aug 7, 2026
10 checks passed
@PastaPastaPasta
PastaPastaPasta deleted the fix/mimalloc-tsan-suppression branch August 7, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TSan data race in mimalloc metadata allocator during BLS worker thread execution

2 participants