Project

General

Profile

Actions

Bug #11762

closed

Memory leak in Mutex.cc, pthread_mutexattr_init without pthread_mutexattr_destroy

Added by Ketor D almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
common
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
hammer, firefly
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Leak in function Mutex::Mutex

in "else if (lockdep)" statement,
there is pthread_mutexattr_init(&attr) and without pthread_mutexattr_destroy(&attr).

So obviously it caused memory leak.


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #12393: Memory leak in Mutex.cc, pthread_mutexattr_init without pthread_mutexattr_destroyResolvedKetor D05/26/2015Actions
Copied to Ceph - Backport #12394: Memory leak in Mutex.cc, pthread_mutexattr_init without pthread_mutexattr_destroyResolvedLoïc Dachary05/26/2015Actions
Actions #1

Updated by Kefu Chai almost 9 years ago

  • Status changed from New to Fix Under Review
  • Assignee changed from Kefu Chai to Ketor D
  • Source changed from other to Community (dev)
  • Backport set to hammer, firefly
Actions #2

Updated by Kefu Chai almost 9 years ago

  • Priority changed from Normal to Urgent
Actions #3

Updated by Samuel Just almost 9 years ago

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

Updated by Nathan Cutler over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF