[Bugs] [Bug 1374015] Ganesha crashes while removing files from clients.

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 16 06:18:17 UTC 2016


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



--- Comment #2 from Shashank Raj <sraj at redhat.com> ---
With the private build:

[root at dhcp43-116 ~]# rpm -qa|grep ganesha
glusterfs-ganesha-3.8.3-0.6.git7956718.el7.centos.x86_64
nfs-ganesha-gluster-2.4-0.rc4.el7.centos.x86_64
nfs-ganesha-debuginfo-2.4-0.rc4.el7.centos.x86_64
nfs-ganesha-2.4-0.rc4.el7.centos.x86_64

ganesha crashes with Segfault with below bt while removing files from 2 mount
points:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fe9d6f8d700 (LWP 8977)]
0x00007fea3ed2dc5f in __inode_ctx_free (inode=inode at entry=0x7fea1dbd022c)
    at inode.c:332
332                                    xl->cbks->forget (xl, inode);
(gdb) bt
#0  0x00007fea3ed2dc5f in __inode_ctx_free (inode=inode at entry=0x7fea1dbd022c)
    at inode.c:332
#1  0x00007fea3ed2ee42 in __inode_destroy (inode=0x7fea1dbd022c) at inode.c:353
#2  inode_table_prune (table=table at entry=0x7fea24002890) at inode.c:1543
#3  0x00007fea3ed2f124 in inode_unref (inode=0x7fea1dbd022c) at inode.c:524
#4  0x00007fea3ed1e222 in loc_wipe (loc=loc at entry=0x7fe9d6f8b210) at
xlator.c:695
#5  0x00007fea3f001b4b in glfs_resolve_component (fs=fs at entry=0x1d60e90, 
    subvol=subvol at entry=0x7fea2402aa40, parent=parent at entry=0x7fea1d77906c, 
    component=component at entry=0x7fea100028c0 "def70703", 
    iatt=iatt at entry=0x7fe9d6f8b3d0, force_lookup=<optimized out>)
    at glfs-resolve.c:368
#6  0x00007fea3f002133 in priv_glfs_resolve_at (fs=fs at entry=0x1d60e90, 
    subvol=subvol at entry=0x7fea2402aa40, at=at at entry=0x7fea1d77906c, 
    origpath=origpath at entry=0x7fe91e53bccc "def70703", 
    loc=loc at entry=0x7fe9d6f8b4d0, iatt=iatt at entry=0x7fe9d6f8b510, 
    follow=follow at entry=0, reval=reval at entry=0) at glfs-resolve.c:417
#7  0x00007fea3f003a78 in pub_glfs_h_lookupat (fs=0x1d60e90, 
    parent=<optimized out>, path=0x7fe91e53bccc "def70703",
stat=0x7fe9d6f8b630, 
    follow=0) at glfs-handleops.c:102
#8  0x00007fea3f41e02c in lookup (parent=0x1e32e28, 
---Type <return> to continue, or q <return> to quit---
    path=0x7fe91e53bccc "def70703", handle=0x7fe9d6f8b840, 
    attrs_out=0x7fe9d6f8b760)
    at
/usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/FSAL/FSAL_GLUSTER/handle.c:112
#9  0x0000000000537358 in mdc_lookup_uncached (mdc_parent=0x1e2f340, 
    name=0x7fe91e53bccc "def70703", new_entry=0x7fe9d6f8b8d8, attrs_out=0x0)
    at
/usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:968
#10 0x000000000052dd26 in mdcache_readdir (dir_hdl=0x1e2f378, 
    whence=0x7fe9d6f8b970, dir_state=0x7fe9d6f8b980, 
    cb=0x43184b <populate_dirent>, attrmask=0, eod_met=0x7fe9d6f8be7b)
    at
/usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c:626
#11 0x00000000004320b9 in fsal_readdir (directory=0x1e2f378, 
    cookie=52889545390524074, nbfound=0x7fe9d6f8be7c, eod_met=0x7fe9d6f8be7b, 
    attrmask=0, cb=0x48ff13 <nfs3_readdir_callback>, opaque=0x7fe9d6f8be30)
    at /usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/FSAL/fsal_helper.c:1457
#12 0x000000000048fcfa in nfs3_readdir (arg=0x7fe978001468, req=0x7fe9780012a8, 
    res=0x7fea10002dd0)
    at
/usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/Protocols/NFS/nfs3_readdir.c---Type
<return> to continue, or q <return> to quit---
:295
#13 0x000000000044ad6b in nfs_rpc_execute (reqdata=0x7fe978001280)
    at
/usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/MainNFSD/nfs_worker_thread.c:1281
#14 0x000000000044b625 in worker_run (ctx=0x1e7d560)
    at
/usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/MainNFSD/nfs_worker_thread.c:1548
#15 0x000000000050079f in fridgethr_start_routine (arg=0x1e7d560)
    at /usr/src/debug/nfs-ganesha-2.4-rc4-0.1.1-Source/support/fridgethr.c:550
#16 0x00007fea41d9edc5 in start_thread () from /lib64/libpthread.so.0
#17 0x00007fea4145e1cd in clone () from /lib64/libc.so.6
(gdb)

-- 
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