Bug 763695 (GLUSTER-1963)

Summary: NFS server segfault during access_cbk
Product: [Community] GlusterFS Reporter: Harshavardhana <fharshav>
Component: nfsAssignee: Shehjar Tikoo <shehjart>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: nfs-betaCC: amarts, cww, gluster-bugs
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: ---

Description Amar Tumballi 2010-10-14 22:42:44 EDT
Harsha, Any particular reason why still using rc15? This particular crash is fixed in 3.1 branch
Comment 1 Harshavardhana 2010-10-14 22:46:32 EDT
(In reply to comment #1)
> Harsha, Any particular reason why still using rc15? This particular crash is
> fixed in 3.1 branch

I just needed a confirmation, now i have we can close this bug.
Comment 2 Harshavardhana 2010-10-15 00:24:07 EDT
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs nfs_beta_rc15_6bf8d6d0
/lib64/libc.so.6[0x7f6c928b92f0]
/usr/lib64/glusterfs/nfs_beta_rc15_6bf8d6d0/xlator/nfs/server.so(nfs3svc_access_cbk+0x42)[0x7f6c91a1b1c2]
/usr/lib64/glusterfs/nfs_beta_rc15_6bf8d6d0/xlator/nfs/server.so(nfs_fop_stat_cbk+0x3f)[0x7f6c91a098bf]
/usr/lib64/glusterfs/nfs_beta_rc15_6bf8d6d0/xlator/cluster/distribute.so(dht_attr_cbk+0x195)[0x7f6c91c49775]
/usr/lib64/glusterfs/nfs_beta_rc15_6bf8d6d0/xlator/protocol/client.so(client_stat_cbk+0xc8)[0x7f6c91e65f38]
/usr/lib64/glusterfs/nfs_beta_rc15_6bf8d6d0/xlator/protocol/client.so(protocol_client_pollin+0xca)[0x7f6c91e6870a]
/usr/lib64/glusterfs/nfs_beta_rc15_6bf8d6d0/xlator/protocol/client.so(notify+0xe8)[0x7f6c91e6ed28]
/usr/lib64/libglusterfs.so.0(xlator_notify+0x43)[0x7f6c93028903]
/usr/lib64/glusterfs/nfs_beta_rc15_6bf8d6d0/transport/socket.so(socket_event_handler+0xc8)[0x7f6c90b6d1d8]
/usr/lib64/libglusterfs.so.0[0x7f6c930444fd]
/usr/sbin/glusterfs(main+0x892)[0x404272]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f6c928a4a4d]
/usr/sbin/glusterfs[0x4027e9]
---------

(gdb) bt
#0  0x00007f6c91a1b1c2 in nfs3svc_access_cbk (frame=0x2430958, cookie=0x1ea0fc0, this=0x1ea29b0, 
    op_ret=<value optimized out>, op_errno=117, buf=0x2431cb8) at nfs3.c:1218
#1  0x00007f6c91a098bf in nfs_fop_stat_cbk (frame=0x2430958, cookie=0x7f6c91a2c5fa, this=0x0, 
    op_ret=117, op_errno=117, buf=0x2431cb8) at nfs-fops.c:309
#2  0x00007f6c91c49775 in dht_attr_cbk (frame=0x2429480, cookie=<value optimized out>, 
    this=<value optimized out>, op_ret=<value optimized out>, op_errno=<value optimized out>, 
    stbuf=<value optimized out>) at dht-common.c:1007
#3  0x00007f6c91e65f38 in client_stat_cbk (frame=0x242e3f0, hdr=<value optimized out>, 
    hdrlen=<value optimized out>, iobuf=<value optimized out>) at client-protocol.c:3893
#4  0x00007f6c91e6870a in protocol_client_pollin (this=0x1e9c650, trans=0x1ea9290)
    at client-protocol.c:6435
#5  0x00007f6c91e6ed28 in notify (this=0x2430958, event=<value optimized out>, data=0x1ea9290)
    at client-protocol.c:6554
#6  0x00007f6c93028903 in xlator_notify (xl=0x1e9c650, event=2, data=0x1ea9290) at xlator.c:919
#7  0x00007f6c90b6d1d8 in socket_event_handler (fd=<value optimized out>, idx=26, data=0x1ea9290, 
    poll_in=1, poll_out=0, poll_err=<value optimized out>) at socket.c:831
#8  0x00007f6c930444fd in event_dispatch_epoll_handler (i=<value optimized out>, 
    events=<value optimized out>, event_pool=<value optimized out>) at event.c:804
#9  event_dispatch_epoll (i=<value optimized out>, events=<value optimized out>, 
    event_pool=<value optimized out>) at event.c:867
#10 0x0000000000404272 in main (argc=<value optimized out>, argv=<value optimized out>)
    at glusterfsd.c:1494
(gdb) fr 0
#0  0x00007f6c91a1b1c2 in nfs3svc_access_cbk (frame=0x2430958, cookie=0x1ea0fc0, this=0x1ea29b0, 
    op_ret=<value optimized out>, op_errno=117, buf=0x2431cb8) at nfs3.c:1218
1218            nfs3_log_common_res (rpcsvc_request_xid (cs->req), "ACCESS", status,
(gdb) fr 1
#1  0x00007f6c91a098bf in nfs_fop_stat_cbk (frame=0x2430958, cookie=0x7f6c91a2c5fa, this=0x0, 
    op_ret=117, op_errno=117, buf=0x2431cb8) at nfs-fops.c:309
309                     progcbk (frame, cookie, this, op_ret, op_errno, buf);
(gdb)