Description of problem:
------------------------
Ganesha crashed on service nfs-ganesha stop on all the nodes and dumped the following core :
#0 0x00007f77480c6740 in mdc_cur_export ()
at /usr/src/debug/nfs-ganesha-2.4.1/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h:384
#1 mdcache_lru_clean (entry=0x7f7749af35c0)
at /usr/src/debug/nfs-ganesha-2.4.1/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c:421
#2 mdcache_lru_unref (entry=entry@entry=0x7f7749af35c0, flags=flags@entry=0)
at /usr/src/debug/nfs-ganesha-2.4.1/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c:1464
#3 0x00007f77480d5289 in cih_remove_checked (entry=0x7f7749af35c0)
at /usr/src/debug/nfs-ganesha-2.4.1/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_hash.h:407
#4 _mdcache_kill_entry (entry=0x7f7749af35c0, file=<optimized out>, line=<optimized out>, function=<optimized out>)
at /usr/src/debug/nfs-ganesha-2.4.1/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:1676
#5 0x00007f77480021d6 in shutdown_handles (fsal=0x7f7748341ea0 <MDCACHE>)
at /usr/src/debug/nfs-ganesha-2.4.1/src/FSAL/fsal_destroyer.c:66
#6 destroy_fsals () at /usr/src/debug/nfs-ganesha-2.4.1/src/FSAL/fsal_destroyer.c:180
#7 0x00007f774802a28f in do_shutdown () at /usr/src/debug/nfs-ganesha-2.4.1/src/MainNFSD/nfs_admin_thread.c:446
#8 admin_thread (UnusedArg=<optimized out>) at /usr/src/debug/nfs-ganesha-2.4.1/src/MainNFSD/nfs_admin_thread.c:466
#9 0x00007f7746588dc5 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7745c5773d in clone () from /lib64/libc.so.6
Version-Release number of selected component (if applicable):
--------------------------------------------------------------
nfs-ganesha-2.4.1-5.el7rhgs.x86_64
nfs-ganesha-debuginfo-2.4.1-5.el7rhgs.x86_64
nfs-ganesha-gluster-2.4.1-5.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-11.el7rhgs.x86_64
How reproducible:
------------------
Every time
Steps to Reproduce:
--------------------
Restart/Stop Ganesha service post setting up the cluster.
Actual results:
---------------
Ganesha crashes and dumps core.
Expected results:
-----------------
No crash.
Additional info:
-----------------
*Client and Server OS* : RHEL 7.3
Comment 3Daniel Gryniewicz
2017-01-16 13:57:31 UTC
This is a case of an extra ref taken or a failure to deref. Where is the source that corresponds to nfs-ganesha-2.4.1-5.el7rhgs? What is the workload that is being run?
Comment 7Daniel Gryniewicz
2017-01-16 15:26:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHEA-2017-0493.html