[Bugs] [Bug 1292360] New: mem leak when pthread is not detached

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 17 08:19:57 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1292360

            Bug ID: 1292360
           Summary: mem leak when pthread is not detached
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: einstcrazy at gmail.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



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:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list