Package: nfs-ganesha-gluster
Version: 6.5-5

[**Start of detailed description**]
I encountered a crash in nfs-ganesha-gluster when do some file operations
at NFS mount point. The ganesha log will show the crash backtrace:

```
13/10/2025 13:39:01 : epoch 68ec8f41 : rain-laptop-01 :
ganesha.nfsd-3034457[svc_14] gsh_backtrace :NFS STARTUP :MAJ :stack
backtrace follows:
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x88256) [0x7f3cc0888256]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x5f500) [0x7f3cc085f500]
/lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) [0x7f3cc0649df0]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(close_fsal_fd+0x41) [0x7f3cc082d011]
/usr/lib/x86_64-linux-gnu/ganesha/libfsalgluster.so(+0xba79)
[0x7f3cbdfe6a79]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x14b7ed) [0x7f3cc094b7ed]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x14db3c) [0x7f3cc094db3c]
/usr/lib/x86_64-linux-gnu/ganesha/libfsalgluster.so(+0xd275)
[0x7f3cbdfe8275]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x148d7d) [0x7f3cc0948d7d]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x149937) [0x7f3cc0949937]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(fsal_readdir+0x14c) [0x7f3cc083abac]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x10caa4) [0x7f3cc090caa4]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0xf43af) [0x7f3cc08f43af]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0xf57a8) [0x7f3cc08f57a8]
/usr/lib/ganesha/libganesha_nfsd.so.6.5(+0x59f83) [0x7f3cc0859f83]
/lib/x86_64-linux-gnu/libntirpc.so.6.3(+0x24c70) [0x7f3cc0aedc70]
/lib/x86_64-linux-gnu/libntirpc.so.6.3(+0x21f39) [0x7f3cc0aeaf39]
/lib/x86_64-linux-gnu/libntirpc.so.6.3(+0x229f9) [0x7f3cc0aeb9f9]
/lib/x86_64-linux-gnu/libntirpc.so.6.3(+0x2f1b9) [0x7f3cc0af81b9]
/lib/x86_64-linux-gnu/libc.so.6(+0x92b7b) [0x7f3cc069cb7b]
/lib/x86_64-linux-gnu/libc.so.6(+0x1107b8) [0x7f3cc071a7b8]
```

[**Steps to Reproduce:**]
1. Install glusterfs-server, nfs-ganesha and nfs-ganesha-gluster
2. Configure a gluster volume
3. Configure nfs-ganesha configuration file with gluster FSAL export. It
can reference by nfs-ganesha's wiki
4. Start glusterfs volume and then start nfs-ganesha
5. Mount nfs on client server and then do  some file operations like
`touch` , `ls` or `echo >`.
6. tail  the ganesha log will see the backtrace when client side hang.

[**Comments**]
After dig with this issue I found the origin ISSUE from github: (
https://github.com/nfs-ganesha/nfs-ganesha/issues/1222) and there's a patch
(https://github.com/nfs-ganesha/nfs-ganesha/issues/1107) can fix that.
After I manually build the 6.5 release code with this patch the nfs-ganesha
not crash for a long time. I think the solution is apply this patch.

My system is running Debian ["Trixie/13"].

-- 
-Rain

Reply via email to