Bug 1369518

Summary: segment fault while join thread recall_thr in fini()
Product: [Community] GlusterFS Reporter: Ryan Ding <ryan.ding>
Component: locksAssignee: Ryan Ding <ryan.ding>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.1.3 (or later) Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:37:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan Ding 2016-08-23 15:44:09 UTC
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.

Comment 1 Worker Ant 2016-08-23 15:49:25 UTC
REVIEW: http://review.gluster.org/15295 (features/leases: segment fault while join thread recall_thr in fini()) posted (#1) for review on master by Anonymous Coward

Comment 2 Amar Tumballi 2018-08-29 03:37:32 UTC
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.