Bug 798919

Summary: nfs mount to a volume crashed nfs server
Product: [Community] GlusterFS Reporter: Shwetha Panduranga <shwetha.h.panduranga>
Component: nfsAssignee: Vinayaga Raman <vraman>
Status: CLOSED DUPLICATE QA Contact:
Severity: urgent Docs Contact:
Priority: high    
Version: mainlineCC: amarts, gluster-bugs, rwheeler
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-06 05:16:58 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Shwetha Panduranga 2012-03-01 04:35:38 EST
Description of problem:
Core was generated by `/usr/local/sbin/glusterfs -f /etc/glusterd/nfs/nfs-server.vol -p /etc/glusterd/'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000003af1a87f40 in memcpy () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.25.el6_1.3.x86_64 libgcc-4.4.6-3.el6.x86_64
(gdb) bt
#0  0x0000003af1a87f40 in memcpy () from /lib64/libc.so.6
#1  0x00007ff5e5f605cd in nlm_copy_lkowner (dst=0x7fffe501fbfc, src=0x7ff5e43e9094) at nlm4.c:182
#2  0x00007ff5e5f61995 in nlm4_lock_to_gf_flock (flock=0x7fffe501fbe0, lock=0x7ff5e43e907c, excl=0) at nlm4.c:606
#3  0x00007ff5e5f642e1 in nlm4_unlock_fd_resume (carg=0x7ff5e43e8b94) at nlm4.c:1427
#4  0x00007ff5e5f64579 in nlm4_cancel_resume (carg=0x7ff5e43e8b94) at nlm4.c:1470
#5  0x00007ff5e5f5e474 in nfs3_fh_resolve_inode_done (cs=0x7ff5e43e8b94, inode=0x7ff5e4f29208) at nfs3-helpers.c:3545
#6  0x00007ff5e5f5f951 in nfs3_fh_resolve_inode (cs=0x7ff5e43e8b94) at nfs3-helpers.c:3971
#7  0x00007ff5e5f5f9e5 in nfs3_fh_resolve_resume (cs=0x7ff5e43e8b94) at nfs3-helpers.c:4003
#8  0x00007ff5e5f5fc10 in nfs3_fh_resolve_root (cs=0x7ff5e43e8b94) at nfs3-helpers.c:4057
#9  0x00007ff5e5f5fe50 in nfs3_fh_resolve_and_resume (cs=0x7ff5e43e8b94, fh=0x7fffe5020a60, entry=0x0, resum_fn=0x7ff5e5f6440c <nlm4_cancel_resume>)
    at nfs3-helpers.c:4104
#10 0x00007ff5e5f64abd in nlm4svc_cancel (req=0x7ff5e5bde930) at nlm4.c:1524
#11 0x00007ff5e9b9d0a9 in rpcsvc_handle_rpc_call (svc=0x16cb190, trans=0x178efd0, msg=0x17883e0) at rpcsvc.c:514
#12 0x00007ff5e9b9d44c in rpcsvc_notify (trans=0x178efd0, mydata=0x16cb190, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x17883e0) at rpcsvc.c:610
#13 0x00007ff5e9ba2da8 in rpc_transport_notify (this=0x178efd0, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x17883e0) at rpc-transport.c:498
#14 0x00007ff5e44b0270 in socket_event_poll_in (this=0x178efd0) at socket.c:1686
#15 0x00007ff5e44b07f4 in socket_event_handler (fd=18, idx=9, data=0x178efd0, poll_in=1, poll_out=0, poll_err=0) at socket.c:1801
#16 0x00007ff5e9dfd030 in event_dispatch_epoll_handler (event_pool=0x16b6370, events=0x1787750, i=0) at event.c:794
#17 0x00007ff5e9dfd253 in event_dispatch_epoll (event_pool=0x16b6370) at event.c:856
#18 0x00007ff5e9dfd5de in event_dispatch (event_pool=0x16b6370) at event.c:956
#19 0x0000000000407dcc in main (argc=7, argv=0x7fffe5020ff8) at glusterfsd.c:1612
(gdb) bt full
#0  0x0000003af1a87f40 in memcpy () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007ff5e5f605cd in nlm_copy_lkowner (dst=0x7fffe501fbfc, src=0x7ff5e43e9094) at nlm4.c:182
No locals.
#2  0x00007ff5e5f61995 in nlm4_lock_to_gf_flock (flock=0x7fffe501fbe0, lock=0x7ff5e43e907c, excl=0) at nlm4.c:606
No locals.
#3  0x00007ff5e5f642e1 in nlm4_unlock_fd_resume (carg=0x7ff5e43e8b94) at nlm4.c:1427
        stat = nlm4_denied
        ret = -14
        nfu = {uid = 0, gids = {0 <repeats 17 times>}, ngrps = 2, lk_owner = {len = 0, data = '\000' <repeats 1023 times>}}
        cs = 0x7ff5e43e8b94
        flock = {l_type = 0, l_whence = 0, l_start = 0, l_len = 0, l_pid = -465661748, l_owner = {len = -452851104, data = '\000' <repeats 1023 times>}}
        __FUNCTION__ = "nlm4_unlock_fd_resume"
#4  0x00007ff5e5f64579 in nlm4_cancel_resume (carg=0x7ff5e43e8b94) at nlm4.c:1470
        stat = nlm4_failed
        ret = -1
        cs = 0x7ff5e43e8b94
        nlmclnt = 0x178f2c0
        __FUNCTION__ = "nlm4_cancel_resume"
#5  0x00007ff5e5f5e474 in nfs3_fh_resolve_inode_done (cs=0x7ff5e43e8b94, inode=0x7ff5e4f29208) at nfs3-helpers.c:3545
        ret = 0
        __FUNCTION__ = "nfs3_fh_resolve_inode_done"
#6  0x00007ff5e5f5f951 in nfs3_fh_resolve_inode (cs=0x7ff5e43e8b94) at nfs3-helpers.c:3971
        inode = 0x7ff5e4f29208
        ret = -14
        __FUNCTION__ = "nfs3_fh_resolve_inode"
#7  0x00007ff5e5f5f9e5 in nfs3_fh_resolve_resume (cs=0x7ff5e43e8b94) at nfs3-helpers.c:4003
        ret = -14
#8  0x00007ff5e5f5fc10 in nfs3_fh_resolve_root (cs=0x7ff5e43e8b94) at nfs3-helpers.c:4057
        ret = -14
        nfu = {uid = 0, gids = {0 <repeats 17 times>}, ngrps = 0, lk_owner = {len = 0, data = '\000' <repeats 1023 times>}}
        __FUNCTION__ = "nfs3_fh_resolve_root"
#9  0x00007ff5e5f5fe50 in nfs3_fh_resolve_and_resume (cs=0x7ff5e43e8b94, fh=0x7fffe5020a60, entry=0x0, resum_fn=0x7ff5e5f6440c <nlm4_cancel_resume>)
    at nfs3-helpers.c:4104
        ret = -14
#10 0x00007ff5e5f64abd in nlm4svc_cancel (req=0x7ff5e5bde930) at nlm4.c:1524
---Type <return> to continue, or q <return> to quit---
        vol = 0x16c74b0
        stat = nlm4_failed
        nfs = 0x16bb190
        nfs3 = 0x16e6e40
        cs = 0x7ff5e43e8b94
        ret = -1
        fh = {ident = ":O", exportid = "?\217[\373\254(B˫\216\064\321E\021\334", <incomplete sequence \375>, gfid = "\n\vB\001e\005D\271\235\342i\026yh}\276", 
          hashcount = 1, entryhash = {257, 0 <repeats 13 times>}}
        __FUNCTION__ = "nlm4svc_cancel"
#11 0x00007ff5e9b9d0a9 in rpcsvc_handle_rpc_call (svc=0x16cb190, trans=0x178efd0, msg=0x17883e0) at rpcsvc.c:514
        actor = 0x7ff5e6179d78
        req = 0x7ff5e5bde930
        ret = -1
        port = 932
        is_unix = _gf_false
        unprivileged = _gf_false
        __FUNCTION__ = "rpcsvc_handle_rpc_call"
#12 0x00007ff5e9b9d44c in rpcsvc_notify (trans=0x178efd0, mydata=0x16cb190, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x17883e0) at rpcsvc.c:610
        ret = -1
        msg = 0x17883e0
        new_trans = 0x0
        svc = 0x16cb190
        listener = 0x0
        __FUNCTION__ = "rpcsvc_notify"
#13 0x00007ff5e9ba2da8 in rpc_transport_notify (this=0x178efd0, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x17883e0) at rpc-transport.c:498
        ret = -1
        __FUNCTION__ = "rpc_transport_notify"
#14 0x00007ff5e44b0270 in socket_event_poll_in (this=0x178efd0) at socket.c:1686
        ret = 0
        pollin = 0x17883e0
#15 0x00007ff5e44b07f4 in socket_event_handler (fd=18, idx=9, data=0x178efd0, poll_in=1, poll_out=0, poll_err=0) at socket.c:1801
        this = 0x178efd0
        priv = 0x178d5b0
        ret = 0
        __FUNCTION__ = "socket_event_handler"
#16 0x00007ff5e9dfd030 in event_dispatch_epoll_handler (event_pool=0x16b6370, events=0x1787750, i=0) at event.c:794
---Type <return> to continue, or q <return> to quit---
        event_data = 0x1787754
        handler = 0x7ff5e44b05d7 <socket_event_handler>
        data = 0x178efd0
        idx = 9
        ret = -1
        __FUNCTION__ = "event_dispatch_epoll_handler"
#17 0x00007ff5e9dfd253 in event_dispatch_epoll (event_pool=0x16b6370) at event.c:856
        events = 0x1787750
        size = 1
        i = 0
        ret = 1
        __FUNCTION__ = "event_dispatch_epoll"
#18 0x00007ff5e9dfd5de in event_dispatch (event_pool=0x16b6370) at event.c:956
        ret = -1
        __FUNCTION__ = "event_dispatch"
#19 0x0000000000407dcc in main (argc=7, argv=0x7fffe5020ff8) at glusterfsd.c:1612
        ctx = 0x169e010
        ret = 0
        __FUNCTION__ = "main"


Version-Release number of selected component (if applicable):
mainline
Comment 1 Amar Tumballi 2012-03-01 23:18:11 EST
seems very similar to bug 798222, kris have a look on these please.
Comment 2 Krishna Srinivas 2012-03-06 05:16:58 EST

*** This bug has been marked as a duplicate of bug 798222 ***