[Bugs] [Bug 1369518] New: segment fault while join thread recall_thr in fini()

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 23 15:44:09 UTC 2016


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

            Bug ID: 1369518
           Summary: segment fault while join thread recall_thr in fini()
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: ryan.ding at open-fs.com
                CC: bugs at gluster.org



Description of problem:

the function fini() in leases.c write:

        pthread_cond_broadcast (&priv->cond);
        pthread_join (priv->recall_thr, NULL);

        priv->inited_recall_thr = _gf_false;

but recall_thr may not be created according to the option 'leases'. if option
'leases' is not set, segment fault may happen.

-- 
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