Skip to content

Fix memory bugs in the PBC passes#2918

Merged
dime10 merged 3 commits into
mainfrom
fix-asan-errors
Jun 5, 2026
Merged

Fix memory bugs in the PBC passes#2918
dime10 merged 3 commits into
mainfrom
fix-asan-errors

Conversation

@dime10
Copy link
Copy Markdown
Contributor

@dime10 dime10 commented Jun 4, 2026

Primarily, iterator invalidation (mutation while iterating). Also one instance of using an object after deletion.
These issues are hard to surface through unit testing, but are reported by the address sanitizer.

@dime10 dime10 requested review from lazypanda10117 and sengthai June 4, 2026 19:15
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md on your branch with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

Copy link
Copy Markdown
Member

@paul0403 paul0403 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, the classic!

Copy link
Copy Markdown
Member

@lazypanda10117 lazypanda10117 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dime10!

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.90%. Comparing base (6ace49f) to head (f22dfd2).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2918      +/-   ##
==========================================
- Coverage   96.90%   96.90%   -0.01%     
==========================================
  Files         166      166              
  Lines       19012    19008       -4     
  Branches     1760     1760              
==========================================
- Hits        18424    18420       -4     
  Misses        433      433              
  Partials      155      155              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dime10 dime10 merged commit 969cd3f into main Jun 5, 2026
10 of 13 checks passed
@dime10 dime10 deleted the fix-asan-errors branch June 5, 2026 18: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.

3 participants