Bug 1369518 - segment fault while join thread recall_thr in fini()
Summary: segment fault while join thread recall_thr in fini()
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: locks
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ryan Ding
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-23 15:44 UTC by Ryan Ding
Modified: 2018-08-29 03:37 UTC (History)
1 user (show)

Fixed In Version: glusterfs-4.1.3 (or later)
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-29 03:37:32 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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.


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