Project

General

Profile

Actions

Bug #20779

closed

rgw: usage logging on tenated buckets causes invalid memory reads

Added by Radoslaw Zarzynski almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
kraken,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Valgrind reports:

<error>
  <unique>0x0</unique>
  <tid>70</tid>
  <threadname>civetweb-worker</threadname>
  <kind>InvalidRead</kind>
  <what>Invalid read of size 1</what>
  <stack>
    <frame>
      <ip>0x5D21D11</ip>
      <obj>/usr/lib/ceph/libceph-common.so.0</obj>
      <fn>check_utf8</fn>
    </frame>
    <frame>
      <ip>0x369CDB</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>rgw_log_op(RGWRados*, RGWREST*, req_state*, std::string const&amp;, OpsLogSocket*)</fn>
    </frame>
    <frame>
      <ip>0x3D981B</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>process_request(RGWRados*, RGWREST*, RGWRequest*, std::string const&amp;, rgw::auth::StrategyRegistry const&amp;, RGWRestfulIO*, OpsLogSocket*)</fn>
    </frame>
    <frame>
      <ip>0x2C3C76</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>RGWCivetWebFrontend::process(mg_connection*)</fn>
    </frame>
  ...
  </stack>
  ..
</error>


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #20812: kraken: rgw: usage logging on tenated buckets causes invalid memory readsRejectedActions
Copied to rgw - Backport #20813: jewel: rgw: usage logging on tenated buckets causes invalid memory readsResolvedNathan CutlerActions
Actions

Also available in: Atom PDF