Skip to content

tentacle: qa: suppress false positive delete map mismatch errors - #68431

Merged
batrick merged 4 commits into
ceph:tentaclefrom
cbodley:wip-75642-tentacle
Apr 27, 2026
Merged

batrick merged 4 commits into
ceph:tentaclefrom
cbodley:wip-75642-tentacle

Conversation

Valgrind reports "Mismatched free() / delete / delete []" errors during
OSD startup.

Standard library containers (like std::map) correctly call delete, but
Valgrind falsely interprets this as a call to delete[] because GCC 14
folds the identical aligned delete operators into a single symbol. This
causes Valgrind to flag a mismatch against the non-array allocation.

Fixes: https://tracker.ceph.com/issues/74604
Signed-off-by: Nitzan Mordechai <[email protected]>
(cherry picked from commit ae9ae03)
@cbodley cbodley added this to the tentacle milestone Apr 16, 2026
@cbodley cbodley added the tests label Apr 16, 2026
NitzanMordhai and others added 3 commits April 16, 2026 16:22
the rgw suite is showing a handful of these false positives, and i
really don't want to micromanage suppressions for every little thing
that shows up here

so i chose to generalize the existing suppressions from
https://tracker.ceph.com/issues/74604 so that a single suppression would
cover this entire class of MismatchedFree warnings

Fixes: https://tracker.ceph.com/issues/75945

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 1b6578e)
combine the various MismatchedFree suppressions into unconditional ones
for each function

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 542f175)

@idryomov idryomov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would have skipped explicitly backporting #67230 that is then entirely undone, but it's a matter of preference.

@batrick

batrick commented Apr 21, 2026

Copy link
Copy Markdown
Member

@amathuria

Copy link
Copy Markdown
Contributor

@batrick
batrick merged commit 0771c3d into ceph:tentacle Apr 27, 2026
8 checks passed
@NitzanMordhai

Copy link
Copy Markdown
Contributor

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants