Project

General

Profile

Actions

Bug #40936

closed

tools/cephfs: memory leak in cephfs/Resetter.cc

Added by guodong xiao almost 5 years ago. Updated almost 4 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

there is a memory leak in cephfs/Resetter.cc:
LogEvent *le = new EResetJournal;

forget using 'delete' to release the memory *le point to.


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #41099: nautilus: tools/cephfs: memory leak in cephfs/Resetter.ccResolvedPrashant DActions
Copied to CephFS - Backport #41100: mimic: tools/cephfs: memory leak in cephfs/Resetter.ccResolvedPrashant DActions
Copied to CephFS - Backport #41101: luminous: tools/cephfs: memory leak in cephfs/Resetter.ccRejectedActions
Actions #1

Updated by guodong xiao almost 5 years ago

function -- Resetter::_write_reset_event(Journaler *journaler)

Actions #2

Updated by Patrick Donnelly almost 5 years ago

  • Subject changed from memory leak in cephfs/Resetter.cc to tools/cephfs: memory leak in cephfs/Resetter.cc
  • Status changed from New to Fix Under Review
  • Assignee set to guodong xiao
  • Target version set to v15.0.0
  • Start date deleted (07/25/2019)
  • Source set to Community (dev)
  • Backport set to nautilus,mimic,luminous
  • Pull request ID set to 29302
Actions #3

Updated by Patrick Donnelly almost 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Patrick Donnelly almost 5 years ago

  • Copied to Backport #41099: nautilus: tools/cephfs: memory leak in cephfs/Resetter.cc added
Actions #5

Updated by Patrick Donnelly almost 5 years ago

  • Copied to Backport #41100: mimic: tools/cephfs: memory leak in cephfs/Resetter.cc added
Actions #6

Updated by Patrick Donnelly almost 5 years ago

  • Copied to Backport #41101: luminous: tools/cephfs: memory leak in cephfs/Resetter.cc added
Actions #7

Updated by Nathan Cutler almost 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF