Bug 763322 (GLUSTER-1590) - Stack overflow during self-heal
Summary: Stack overflow during self-heal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1590
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Pavan Vilas Sondur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-13 07:50 UTC by Anush Shetty
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: fuse
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anush Shetty 2010-09-13 07:50:14 UTC
While trying to perform self-heal, the subvolume which was brought up exited during the self-heal process. This was a 2 subvolume replica setup

#0  0x00007f9529a3b488 in ac_setattr (frame=0x0, this=0x0, loc=0x0, buf=0x0, valid=0) at access-control.c:1682
#1  0x00007f952ce4a8dc in default_setattr (frame=0x7f952b838e38, this=0x7f95240086e8, loc=0x219ab18, stbuf=0x219b3b0, valid=48) at defaults.c:1295
#2  0x00007f952939ae2f in afr_setattr_wind (frame=0x7f952b5fc410, this=0x7f952400ac58) at afr-inode-write.c:910
#3  0x00007f95293a3005 in afr_changelog_pre_op_cbk (frame=0x7f952b5fc410, cookie=0x0, this=0x7f952400ac58, op_ret=0, op_errno=22, xattr=0x7f95240dd3a8)
    at afr-transaction.c:718
#4  0x00007f952ce475c3 in default_xattrop_cbk (frame=0x7f952b83a3b8, cookie=0x7f952b8258b8, this=0x7f95240086e8, op_ret=0, op_errno=22, dict=0x7f95240dd3a8)
    at defaults.c:889
#5  0x00007f952ce475c3 in default_xattrop_cbk (frame=0x7f952b8258b8, cookie=0x7f952b838db8, this=0x7f9524007478, op_ret=0, op_errno=22, dict=0x7f95240dd3a8)
    at defaults.c:889
#6  0x00007f9529c55f46 in do_xattrop (frame=0x7f952b838db8, this=0x7f9524006168, loc=0x219ab18, fd=0x0, optype=GF_XATTROP_ADD_ARRAY, xattr=0x7f95240dd3a8)
    at posix.c:3728
#7  0x00007f9529c55fbb in posix_xattrop (frame=0x7f952b838db8, this=0x7f9524006168, loc=0x219ab18, optype=GF_XATTROP_ADD_ARRAY, xattr=0x7f95240dd3a8)
    at posix.c:3737
#8  0x00007f952ce4782c in default_xattrop (frame=0x7f952b8258b8, this=0x7f9524007478, loc=0x219ab18, flags=GF_XATTROP_ADD_ARRAY, dict=0x7f95240dd3a8)
    at defaults.c:900
#9  0x00007f952ce4782c in default_xattrop (frame=0x7f952b83a3b8, this=0x7f95240086e8, loc=0x219ab18, flags=GF_XATTROP_ADD_ARRAY, dict=0x7f95240dd3a8)
    at defaults.c:900
#10 0x00007f95293a38d4 in afr_changelog_pre_op (frame=0x7f952b5fc410, this=0x7f952400ac58) at afr-transaction.c:795
#11 0x00007f95293a4c03 in afr_internal_lock_finish (frame=0x7f952b5fc410, this=0x7f952400ac58) at afr-transaction.c:1090
#12 0x00007f95293a4492 in afr_post_blocking_inodelk_cbk (frame=0x7f952b5fc410, this=0x7f952400ac58) at afr-transaction.c:888
#13 0x00007f95293c221e in afr_lock_blocking (frame=0x7f952b5fc410, this=0x7f952400ac58, child_index=2) at afr-lk-common.c:994
#14 0x00007f95293c1684 in afr_lock_cbk (frame=0x7f952b5fc410, cookie=0x0, this=0x7f952400ac58, op_ret=0, op_errno=0) at afr-lk-common.c:757
#15 0x00007f95293c16f7 in afr_blocking_inodelk_cbk (frame=0x7f952b5fc410, cookie=0x0, this=0x7f952400ac58, op_ret=0, op_errno=0) at afr-lk-common.c:771
#16 0x00007f95298281c1 in grant_blocked_inode_locks (this=0x7f95240086e8, pl_inode=0x7f9524019028, dom=0x2131af8) at inodelk.c:361
#17 0x00007f9529828a31 in pl_inode_setlk (this=0x7f95240086e8, pl_inode=0x7f9524019028, lock=0x7f95240dd3a8, can_block=0, dom=0x2131af8) at inodelk.c:502
#18 0x00007f952982901a in pl_common_inodelk (frame=0x7f952b83a338, this=0x7f95240086e8, volume=0x7f952400a1e8 "1215_13_09-pump", inode=0x7f9521a54038, 
    cmd=6, flock=0x7f9520144a70, loc=0x2198aa8, fd=0x0) at inodelk.c:616
#19 0x00007f9529829350 in pl_inodelk (frame=0x7f952b83a338, this=0x7f95240086e8, volume=0x7f952400a1e8 "1215_13_09-pump", loc=0x2198aa8, cmd=6, 
    flock=0x7f9520144a70) at inodelk.c:659
#20 0x00007f95293c0f87 in afr_unlock_inodelk (frame=0x7f952b5fc300, this=0x7f952400ac58) at afr-lk-common.c:626
#21 0x00007f95293c58e9 in afr_unlock (frame=0x7f952b5fc300, this=0x7f952400ac58) at afr-lk-common.c:1670
#22 0x00007f95293a16c4 in afr_changelog_post_op_cbk (frame=0x7f952b5fc300, cookie=0x7f952b811b38, this=0x7f952400ac58, op_ret=0, op_errno=22, 
    xattr=0x7f9524060d98) at afr-transaction.c:499

Comment 1 Vijay Bellur 2010-09-16 08:23:04 UTC
PATCH: http://patches.gluster.com/patch/4826 in master (cluster/pump: introduce another flag to enable pump functionality)


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