Bug 763666 (GLUSTER-1934)

Summary: Server segfault with 3.1 platform ISO during volume expansion
Product: [Community] GlusterFS Reporter: Harshavardhana <fharshav>
Component: coreAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: urgent    
Version: 3.1.0CC: anush, cww, fxmulder, gluster-bugs, jacob, vijay, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harshavardhana 2010-10-12 19:36:36 UTC
(gdb) bt
#0  0x00007ff6c80a5380 in strcmp () from /lib64/libc.so.6
#1  0x00007ff6c56041a9 in posix_getxattr (frame=0x7ff6c75b4774, this=0x19033f8, loc=0x7ff6c72e92f8, 
    name=0x0) at posix.c:3034
#2  0x00007ff6c8c111d2 in default_getxattr (frame=0x7ff6c75b46f0, this=0x1904828, 
    loc=0x7ff6c72e92f8, name=0x0) at defaults.c:1012
#3  0x00007ff6c8c111d2 in default_getxattr (frame=0x7ff6c75b466c, this=0x1905998, 
    loc=0x7ff6c72e92f8, name=0x0) at defaults.c:1012
#4  0x00007ff6c4fc4500 in iot_getxattr_wrapper (frame=0x7ff6c75b45e8, this=0x1906aa8, 
    loc=0x7ff6c72e92f8, name=0x0) at io-threads.c:1590
#5  0x00007ff6c8c233bb in call_resume_wind (stub=0x7ff6c72e92c0) at call-stub.c:2282
#6  0x00007ff6c8c29842 in call_resume (stub=0x7ff6c72e92c0) at call-stub.c:3870
#7  0x00007ff6c4fbaed9 in iot_worker (data=0x190be88) at io-threads.c:118
#8  0x00007ff6c839a85a in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff6c810422d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()
(gdb) p *loc->name
$3 = 116 't'
(gdb) p *loc->inode
$4 = {table = 0x1912388, gfid = "\327\4<\21\71uH\343\270\356|\33\231|\230\67", lock = 1, 
  nlookup = 7, ref = 5, ino = 20, ia_type = IA_IFREG, fd_list = {next = 0x7ff6bd78c4c0, 
    prev = 0x7ff6bd78c4c0}, dentry_list = {next = 0x7ff6bc8b6204, prev = 0x7ff6bc8b6204}, hash = {
    next = 0x7ff6bc84d398, prev = 0x7ff6bc84d398}, list = {next = 0x7ff6bd78c0ac, prev = 0x19123e8}, 
  _ctx = 0x1912778}
(gdb) p *frame
$5 = {root = 0x7ff6c738b150, parent = 0x7ff6c75b46f0, next = 0x7ff6c75b46f0, prev = 0x7ff6c738b1d8, 
  local = 0x0, this = 0x19033f8, ret = 0x7ff6c8c07fdf <default_getxattr_cbk>, ref_count = 0, 
  lock = 1, cookie = 0x7ff6c75b4774, complete = _gf_false, op = GF_FOP_NULL, begin = {tv_sec = 0, 
    tv_usec = 0}, end = {tv_sec = 0, tv_usec = 0}}

Comment 1 Amar Tumballi 2010-10-13 02:32:11 UTC
*** Bug 1939 has been marked as a duplicate of this bug. ***

Comment 2 Vijay Bellur 2010-10-19 10:30:36 UTC
PATCH: http://patches.gluster.com/patch/5488 in master (glusterd-rebalance: if file is open, don't do rebalance)

Comment 3 Amar Tumballi 2010-10-20 03:36:33 UTC
Committed patch (ie, git head as of now) fixes the crash.