Bug 1405775

Summary: GlusterFS process crashed after add-brick
Product: [Community] GlusterFS Reporter: Sanoj Unnikrishnan <sunnikri>
Component: quotaAssignee: Sanoj Unnikrishnan <sunnikri>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, ashah, bugs, moagrawa, rcyriac, rhinduja, rhs-bugs, sarumuga, storage-qa-internal, tdesala
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1404633 Environment:
Last Closed: 2017-03-06 17:40:20 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:
Bug Depends On: 1404633    
Bug Blocks:    

Comment 1 Worker Ant 2016-12-19 06:27:06 UTC
REVIEW: http://review.gluster.org/16192 (Fixes GlusterFS process crashes on deep directory hierarchy) posted (#1) for review on master by sanoj-unnikrishnan (sunnikri)

Comment 2 Worker Ant 2016-12-19 09:18:20 UTC
REVIEW: http://review.gluster.org/16192 (Fixes GlusterFS process crashes on deep directory hierarchy) posted (#2) for review on master by sanoj-unnikrishnan (sunnikri)

Comment 3 Worker Ant 2016-12-21 05:38:39 UTC
REVIEW: http://review.gluster.org/16192 (Fixes GlusterFS process crashes on deep directory hierarchy) posted (#3) for review on master by sanoj-unnikrishnan (sunnikri)

Comment 4 Worker Ant 2016-12-22 06:42:34 UTC
COMMIT: http://review.gluster.org/16192 committed in master by Atin Mukherjee (amukherj) 
------
commit 253c43596b9dcf57832a0369b6c4dc01598bd442
Author: Sanoj Unnikrishnan <sunnikri>
Date:   Sun Dec 18 17:29:47 2016 +0530

    Fixes GlusterFS process crashes on deep directory hierarchy
    
    alloca() calls to recusive function posix_make_ancestryfromgfid
    consumes the entire stack leading to segfault.
    Changed the function to  iterative and reused the same linkname
    buffer across iterations.
    
    Change-Id: If065c8b9f7f85219bdd2d23259a115fe66f5f60d
    BUG: 1405775
    Signed-off-by: Sanoj Unnikrishnan <sunnikri>
    Reviewed-on: http://review.gluster.org/16192
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Raghavendra G <rgowdapp>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 5 Shyamsundar 2017-03-06 17:40:20 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report.

glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/