[Bugs] [Bug 1467313] New: cthon04 can cause segfault in gNFS/NLM

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 3 11:14:02 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1467313

            Bug ID: 1467313
           Summary: cthon04 can cause segfault in gNFS/NLM
           Product: GlusterFS
           Version: mainline
         Component: nfs
          Keywords: Triaged
          Severity: urgent
          Priority: medium
          Assignee: ndevos at redhat.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org
        Depends On: 1381970
            Blocks: 1411344



Description of problem:
While running cthon04 tests against Gluster/NFS, the following crash was
observed (RHGS backports gnfs/nlm fixes to 3.8.4):

ify?! [Invalid argument]
[2017-06-19 13:08:46.117375] W [socket.c:595:__socket_rwv] 0-NLM-client: readv
on 10.70.37.142:34033 failed (No data available)
[2017-06-19 13:08:46.117529] W [socket.c:595:__socket_rwv] 0-NLM-client: readv
on 10.70.37.142:34033 failed (No data available)
pending frames:
frame : type(0) op(0)
frame : type(0) op(0)
patchset: git://git.gluster.com/glusterfs.git
signal received: 11
time of crash: 
2017-06-19 13:08:48
configuration details:
argp 1
backtrace 1
dlfcn 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.8.4
/lib64/libglusterfs.so.0(_gf_msg_backtrace_nomem+0xc2)[0x7f6ec83b54b2]
/lib64/libglusterfs.so.0(gf_print_trace+0x324)[0x7f6ec83befe4]
/lib64/libc.so.6(+0x35270)[0x7f6ec6a1e270]
/lib64/libc.so.6(+0x165921)[0x7f6ec6b4e921]
/usr/lib64/glusterfs/3.8.4/xlator/nfs/server.so(+0x3f9aa)[0x7f6eba13a9aa]
/usr/lib64/glusterfs/3.8.4/xlator/nfs/server.so(+0x42349)[0x7f6eba13d349]
/lib64/libgfrpc.so.0(rpc_clnt_notify+0x214)[0x7f6ec817eb54]
/lib64/libgfrpc.so.0(rpc_transport_notify+0x23)[0x7f6ec817a9e3]
/usr/lib64/glusterfs/3.8.4/rpc-transport/socket.so(+0x51d7)[0x7f6ebcfa71d7]
/usr/lib64/glusterfs/3.8.4/rpc-transport/socket.so(+0x9918)[0x7f6ebcfab918]
/lib64/libglusterfs.so.0(+0x849d6)[0x7f6ec840f9d6]
/lib64/libpthread.so.0(+0x7e25)[0x7f6ec7214e25]
/lib64/libc.so.6(clone+0x6d)[0x7f6ec6ae134d]


Version-Release number of selected component (if applicable):
mainline (reported against RHGS with glusterfs-3.8.4 w/ backports)

How reproducible:
Run cthon04 tests against Gluster/NFS. When using EC volumes the problem
hit-ration is highest.

Steps to Reproduce:
1. configure a Gluster volume
2. on a nfs-client (nor part of the TSP)
   1. git clone git://git.linux-nfs.org/projects/steved/cthon04.git
   2. compile the tests and make sure dependencies are installed
   3. run like
      # mount -t nfs -o vers=3 vm015.example.com:/one-brick /mnt/nfsv3
      # ./server -a -p /one-brick -m /mnt/nfsv3 vm015.example.com

Actual results:
Occasional, but regularly segfaults of Gluster/NFS.

Expected results:
No segfaults (duh!) and passing of the crhon04 tests.

Additional info:


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1381970
[Bug 1381970] GlusterFS Daemon stops working after a longer runtime and
higher file workload due to design flaws?
https://bugzilla.redhat.com/show_bug.cgi?id=1411344
[Bug 1411344] [GNFS] GNFS crashed while taking lock on a file from 2
different clients having same volume mounted from 2 different servers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ANbkcz80QE&a=cc_unsubscribe


More information about the Bugs mailing list