Bug 1413502 - [Ganesha] : Ganesha crashes on all nodes when Ganesha service is stopped
Summary: [Ganesha] : Ganesha crashes on all nodes when Ganesha service is stopped
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.2.0
Assignee: Jiffin
QA Contact: Ambarish
URL:
Whiteboard:
Depends On:
Blocks: 1351528
TreeView+ depends on / blocked
 
Reported: 2017-01-16 08:38 UTC by Ambarish
Modified: 2017-03-28 06:50 UTC (History)
14 users (show)

Fixed In Version: nfs-ganesha-2.4.1-6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 06:28:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0493 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.2.0 nfs-ganesha bug fix and enhancement update 2017-03-23 09:19:13 UTC

Description Ambarish 2017-01-16 08:38:16 UTC
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 3 Daniel 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 7 Daniel Gryniewicz 2017-01-16 15:26:02 UTC
Proposed fix: https://review.gerrithub.io/343263

Comment 10 Ambarish 2017-01-20 07:50:15 UTC
The reported issue was not reproducible on Ganesha 2.4.1-6,Gluster 3.8.4-12.

Verified.

Comment 12 errata-xmlrpc 2017-03-23 06:28:52 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


Note You need to log in before you can comment on or make changes to this bug.