On Mon, 18 Aug 2025 10:20:40 -0700 Daniel Lakeland 
<[email protected]> wrote:
Package: nfs-ganesha
Version: 6.5-5
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I have NFS Ganesha installed on a machine that is one of a 2 part
gluster cluster. It has been working fine for years, but recently
upgraded to Trixie, and now there is breakage.

When I mount this nfs share to my machine (with krb5i security), and
work with it for a while, a few minutes, it eventually stops
responding and outputs the following backtrace in the logs. Once this
occurs it no longer is accessible and requires a restart. This is how
I mount /home directories to multiple machines, and therefore causes
breakage on all those machines. if i mount via glusterfs FUSE
filesystem it does work, so the problem appears to be ganesha
specific.

This bug reported from a different machine than the server, so the
versions of packages below found by reportbug are not relevant. The
server system is running a brand newly apt full-upgraded Trixie.

Hello,
I just tried to add manually some symbols to the given backtrace.
This results in below backtrace [1].

And further leads to some still open upstream issues [2],
where a patch got applied to upstream git [3].

Kind regards,
Bernhard


[1]
[0x7f5536288256] libganesha_nfsd.so.6.5(+0x88256)           || 
0x7ff3f4288251/0x7ff3f4288256 in gsh_backtrace at ./src/log/log_functions.c:2640
[0x7f553625f500] libganesha_nfsd.so.6.5(+0x5f500)           || 
0x7ff3f425f4fb/0x7ff3f425f500 in crash_handler at ./src/MainNFSD/nfs_init.c:493
[0x7f5536049df0] libc.so.6(+0x3fdf0)                        || 0x7ff3f4049df0 
<__restore_rt>
[0x7f553622d011] libganesha_nfsd.so.6.5(close_fsal_fd+0x41) || 0x7ff3f422d011 
in close_fsal_fd at ./src/FSAL/commonlib.c:2061
[0x7f5533916a79] libfsalgluster.so(+0xba79)                 || 
0x7ff3ec1bda74/0x7ff3ec1bda79 in handle_release at 
./src/FSAL/FSAL_GLUSTER/handle.c:72
[0x7f553634b7ed] libganesha_nfsd.so.6.5(+0x14b7ed)          || 
0x7ff3f434b7ea/0x7ff3f434b7ed in mdcache_new_entry at 
./src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:948
[0x7f553634db3c] libganesha_nfsd.so.6.5(+0x14db3c)          || 
0x7ff3f434db37/0x7ff3f434db3c in mdc_readdir_chunk_object at 
./src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:2187
[0x7f5533918275] libfsalgluster.so(+0xd275)                 || 
0x7ff3ec1bf273/0x7ff3ec1bf275 in read_dirents at 
./src/FSAL/FSAL_GLUSTER/handle.c:407
[0x7f5536348d7d] libganesha_nfsd.so.6.5(+0x148d7d)          || 
0x7ff3f4348d7a/0x7ff3f4348d7d in mdcache_populate_dir_chunk at 
./src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:2647
[0x7f5536349937] libganesha_nfsd.so.6.5(+0x149937)          || 
0x7ff3f4349932/0x7ff3f4349937 in mdcache_readdir_chunked at 
./src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:3002
[0x7f553623abac] libganesha_nfsd.so.6.5(fsal_readdir+0x14c) || 
0x7ff3f423aba9/0x7ff3f423abac in fsal_readdir at ./src/FSAL/fsal_helper.c:1409
[0x7f553630caa4] libganesha_nfsd.so.6.5(+0x10caa4)          || 
0x7ff3f430ca9f/0x7ff3f430caa4 in nfs4_op_readdir at 
./src/Protocols/NFS/nfs4_op_readdir.c:706
[0x7f55362f43af] libganesha_nfsd.so.6.5(+0xf43af)           || 
0x7ff3f42f43aa/0x7ff3f42f43af in process_one_op at 
./src/Protocols/NFS/nfs4_Compound.c:905
[0x7f55362f57a8] libganesha_nfsd.so.6.5(+0xf57a8)           || 
0x7ff3f42f57a3/0x7ff3f42f57a8 in nfs4_Compound at 
./src/Protocols/NFS/nfs4_Compound.c:1386
[0x7f5536259f83] libganesha_nfsd.so.6.5(+0x59f83)           || 
0x7ff3f4259f7f/0x7ff3f4259f83 in nfs_rpc_process_request at 
./src/MainNFSD/nfs_worker_thread.c:1479
[0x7f553644ac70] libntirpc.so.6.3(+0x24c70)                 || 
0x7ff3f3fe4c6d/0x7ff3f3fe4c70 in svc_request at ./src/svc_rqst.c:1229
[0x7f5536447f39] libntirpc.so.6.3(+0x21f39)                 || 
0x7ff3f3fe1f37/0x7ff3f3fe1f39 in svc_rqst_xprt_task_recv at 
./src/svc_rqst.c:1210
[0x7f55364489f9] libntirpc.so.6.3(+0x229f9)                 || 
0x7ff3f3fe29f3/0x7ff3f3fe29f9 in svc_rqst_epoll_loop at ./src/svc_rqst.c:1585
[0x7f55364551b9] libntirpc.so.6.3(+0x2f1b9)                 || 0x7ff3f3fef1b9 
in work_pool_thread at ./src/work_pool.c:188
[0x7f553609cb7b] libc.so.6(+0x92b7b)                        || 0x7ff3f409cb7b 
in start_thread at ./nptl/pthread_create.c:448
[0x7f553611a7b8] libc.so.6(+0x1107b8)                       || 0x7ff3f411a7b8 
in __GI___clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78


[2]
https://github.com/nfs-ganesha/nfs-ganesha/issues/1222
https://github.com/nfs-ganesha/nfs-ganesha/issues/1107


[3]
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1211209
https://github.com/ffilz/nfs-ganesha/commit/72565026ac69d40c586b9adc447339aea5eeeaff
https://github.com/nfs-ganesha/nfs-ganesha/commit/72565026ac69d40c586b9adc447339aea5eeeaff

Reply via email to