[Bugs] [Bug 1775495] New: [GNFS] showmout -a <IP> cause gnfs crash

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 22 05:58:17 UTC 2019


            Bug ID: 1775495
           Summary: [GNFS]  showmout -a <IP> cause gnfs crash
           Product: GlusterFS
           Version: 7
            Status: NEW
         Component: nfs
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: amarts at gmail.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community

This bug was initially created as a copy of Bug #1727248

I am copying this bug because: it would be good to have the bugfix in release-7

Description of problem:

showmout -a <IP> cause gnfs crash:

#0  0x00007febb92af207 in raise () from /lib64/libc.so.6
#1  0x00007febb92b08f8 in abort () from /lib64/libc.so.6
#2  0x00007febb92f1cc7 in __libc_message () from /lib64/libc.so.6
#3  0x00007febb92fbc16 in _int_malloc () from /lib64/libc.so.6
#4  0x00007febb92fe7dc in malloc () from /lib64/libc.so.6
#5  0x00007febb9390f87 in __vasprintf_chk () from /lib64/libc.so.6
#6  0x00007febbad161fc in vasprintf (__ap=0x7feba824e2b0, __fmt=0x7feba76309a0
"mount entry: dir: %s, host: %s", __ptr=0x7feba824e298) at
#7  _gf_msg (domain=domain at entry=0x7feba762fc4a "nfs-mount",
file=file at entry=0x7feba762fc41 "mount3.c",
function=function at entry=0x7feba7631120 <__FUNCTION__.23648>
"__build_mountlist", line=line at entry=2343,
    level=level at entry=GF_LOG_DEBUG, errnum=errnum at entry=0, trace=trace at entry=0,
msgid=msgid at entry=0, fmt=fmt at entry=0x7feba76309a0 "mount entry: dir: %s, host:
%s") at logging.c:1972
#8  0x00007feba75fd963 in __build_mountlist (ms=ms at entry=0x7feba802b530,
count=count at entry=0x7feba824e488) at mount3.c:2342
#9  0x00007feba75fdb84 in mnt3svc_build_mountlist (ms=0x7feba802b530,
count=count at entry=0x7feba824e488) at mount3.c:2371
#10 0x00007feba75fdc18 in mnt3svc_dump (req=0x7feba804d4a8) at mount3.c:2398
#11 0x00007febbad53da0 in synctask_wrap () at syncop.c:272
#12 0x00007febb92c0fc0 in ?? () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Version-Release number of selected component (if applicable):

only test on master branch

How reproducible:

1. start gnfs
2. mount gnfs export directory
3. for i in $(seq 3333); do showmount -a; done
Then, nfs client will hung 

Steps to Reproduce:

Actual results:

gnfs crash and nfs client will hung

Expected results:

no hung, gnfs works well.

Additional info:

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

More information about the Bugs mailing list