Bug 1405775 - GlusterFS process crashed after add-brick
Summary: GlusterFS process crashed after add-brick
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Sanoj Unnikrishnan
QA Contact:
URL:
Whiteboard:
Depends On: 1404633
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-18 11:37 UTC by Sanoj Unnikrishnan
Modified: 2017-03-06 17:40 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.10.0
Clone Of: 1404633
Environment:
Last Closed: 2017-03-06 17:40:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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/


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