[Bugs] [Bug 1449232] New: race condition between client_ctx_get and client_ctx_set

bugzilla at redhat.com bugzilla at redhat.com
Tue May 9 13:08:01 UTC 2017


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

            Bug ID: 1449232
           Summary: race condition between client_ctx_get and
                    client_ctx_set
           Product: GlusterFS
           Version: mainline
         Component: coreutils
          Assignee: bugs at gluster.org
          Reporter: johnzzpcrystal at gmail.com
                CC: bugs at gluster.org



Description of problem:
There are problems as follow:

        1.thread1 client_ctx_get return NULL
        2.thread 2 client_ctx_set ctx1 ok
        3.thread1 client_ctx_set ctx2 ok

threaad1 use ctx1, thread2 use ctx2 and ctx1 will leak
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


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