Project

General

Profile

Actions

Bug #75945

closed
CB CB

rocky 10: valgrind MismatchedFree false positives

Bug #75945: rocky 10: valgrind MismatchedFree false positives

Added by Casey Bodley 8 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

100%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-620-g7a6816df67
Released In:
v21.2.0~759
Upkeep Timestamp:
2026-10-24T01:44:11+00:00

Description

multiple false positives shown in https://qa-proxy.ceph.com/teuthology/ivancich-2026-04-08_21:03:48-rgw-main-distro-default-trial/140804/remote/trial051/log/valgrind/ceph.client.0.log.gz

<error>
  <unique>0x68b</unique>
  <tid>595</tid>
  <threadname>rgw_user_st_syn</threadname>
  <kind>MismatchedFree</kind>
  <what>Mismatched free() / delete / delete []</what>
  <stack>
    <frame>
      <ip>0x64275EC</ip>
      <obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator delete[](void*, unsigned long, std::align_val_t)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.25.1/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>1504</line>
    </frame>
    <frame>
      <ip>0x4AEE8D4</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>rgw::sal::RadosStore::meta_list_keys_complete(void*)</fn>
    </frame>
    <frame>
      <ip>0x4828CD5</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>RGWOwnerStatsCache::sync_all_owners(DoutPrefixProvider const*, std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)</fn>
    </frame>
    <frame>
      <ip>0x4828FD1</ip>
      <obj>/usr/bin/radosgw</obj>
    </frame>

<error>
  <unique>0x166d</unique>
  <tid>405</tid>
  <threadname>io_context_pool</threadname>
  <kind>MismatchedFree</kind>
  <what>Mismatched free() / delete / delete []</what>
  <stack>
    <frame>
      <ip>0x64275EC</ip>
      <obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator delete[](void*, unsigned long, std::align_val_t)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.25.1/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>1504</line>
    </frame>
    <frame>
      <ip>0x47F5B37</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>RGWPutObj::execute(optional_yield)</fn>
    </frame>
    <frame>
      <ip>0x466B6A3</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>rgw_process_authenticated(RGWHandler_REST*, RGWOp*&amp;, RGWRequest*, req_state*, optional_yield, rgw::sal::Driver*, bool)</fn>
    </frame>

<error>
  <unique>0x5592</unique>
  <tid>286</tid>
  <threadname>io_context_pool</threadname>
  <kind>MismatchedFree</kind>
  <what>Mismatched free() / delete / delete []</what>
  <stack>
    <frame>
      <ip>0x64275EC</ip>
      <obj>/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator delete[](void*, unsigned long, std::align_val_t)</fn>
      <dir>/builddir/build/BUILD/valgrind-3.25.1/coregrind/m_replacemalloc</dir>
      <file>vg_replace_malloc.c</file>
      <line>1504</line>
    </frame>
    <frame>
      <ip>0x4A369BE</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>rgw::putobj::RadosWriter::write_exclusive(ceph::buffer::v15_2_0::list const&amp;)</fn>
    </frame>
    <frame>
      <ip>0x4A3E4CA</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>rgw::putobj::MultipartObjectProcessor::process_first_chunk(ceph::buffer::v15_2_0::list&amp;&amp;, rgw::sal::DataProcessor**)</fn>
    </frame>

Subtasks 1 (0 open — 1 closed)

Bug #75714: qa/rgw/notifications: Valgrind MismatchedFree error during RGW shutdown on Rocky 10.1 (rgw/notifications tests)DuplicateYuval Lifshitz

Actions

Related issues 1 (0 open — 1 closed)

Related to RADOS - Bug #74604: Rocky10 - MismatchedFree delete coming from ceph-osd-classic codeResolvedNitzan Mordechai

Actions

CB Updated by Casey Bodley 8 months ago Actions #1

  • Related to Bug #74604: Rocky10 - MismatchedFree delete coming from ceph-osd-classic code added

CB Updated by Casey Bodley 8 months ago Actions #2

  • Assignee set to Casey Bodley

CB Updated by Casey Bodley 8 months ago Actions #3

  • Status changed from New to In Progress
  • Pull request ID set to 68289

YL Updated by Yuval Lifshitz 8 months ago Actions #4

  • Subtask #75714 added

CB Updated by Casey Bodley 8 months ago Actions #5

  • Status changed from In Progress to Resolved

UB Updated by Upkeep Bot 8 months ago Actions #6

  • Merge Commit set to 7a6816df679bd85867c9e9a535ef3bbaa8015ed0
  • Fixed In set to v21.0.0-620-g7a6816df67
  • Upkeep Timestamp set to 2026-04-16T20:20:35+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #7

  • Released In set to v21.2.0~759
  • Upkeep Timestamp changed from 2026-04-16T20:20:35+00:00 to 2026-10-24T01:44:11+00:00
Actions

Also available in: PDF Atom