Bug 1292360 - mem leak when pthread is not detached [NEEDINFO]
mem leak when pthread is not detached
Status: NEW
Product: GlusterFS
Classification: Community
Component: core (Show other bugs)
mainline
All All
medium Severity high
: ---
: ---
Assigned To: ankit
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-17 03:19 EST by Yu.Changcai
Modified: 2017-09-04 11:30 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
nbalacha: needinfo? (einstcrazy)


Attachments (Terms of Use)

  None (edit)
Description Yu.Changcai 2015-12-17 03:19:57 EST
Description of problem:
gluster use pthread_create in some where with default attribute, which means the attr is PTHREAD_CREATE_JOINABLE, when the thread exit without any other thread to join it. It comes to mem leak of the thread resources which are kept allocated.

Version-Release number of selected component (if applicable):
mainline

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
mem leak

Expected results:
mem keep in his state

Additional info:
Comment 1 Nithya Balachandran 2017-09-04 11:30:51 EDT
Plese provide information on where this is seen (code ).

Note You need to log in before you can comment on or make changes to this bug.