Segfault because resarray_val == 0 with status = NFS4ERR_RETRY_UNCACHED_REP
( Not mdcache this time ☺ )
Thanks,
Vandana
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `bin/ganesha.nfsd -f etc/ganesha/ganesha.conf -p var/run/ganesha.pid -F'.
Program terminated with signal 11, Segmentation fault.
#0
0x000000000044b87d in xdr_enum (xdrs=0xaa693f0, ep=0x0) at /src/src/libntirpc/ntirpc/rpc/xdr_inline.h:405
405
/src/src/libntirpc/ntirpc/rpc/xdr_inline.h: No such file or directory.
Missing separate debuginfos, use: debuginfo-install sgw-nfs-ganesha-2.0.108.0-1.x86_64
(gdb) bt
#0
0x000000000044b87d in xdr_enum (xdrs=0xaa693f0, ep=0x0) at /src/src/libntirpc/ntirpc/rpc/xdr_inline.h:405
#1
0x0000000000453b5a in xdr_nfs_opnum4 (xdrs=0xaa693f0, objp=0x0) at /src/src/include/nfsv41.h:8065
#2
0x0000000000454bbb in xdr_nfs_resop4 (xdrs=0xaa693f0, objp=0x0) at /src/src/include/nfsv41.h:8433
#3
0x000000000044c1ba in xdr_array_encode (xdrs=0xaa693f0, cpp=0x17d9d6a0, sizep=0x17d9d698, maxsize=1024, selem=160, xdr_elem=0x454b98 <xdr_nfs_resop4>)
at /src/src/libntirpc/ntirpc/rpc/xdr_inline.h:851
#4
0x000000000044c33b in xdr_array (xdrs=0xaa693f0, cpp=0x17d9d6a0, sizep=0x17d9d698, maxsize=1024, selem=160, xdr_elem=0x454b98 <xdr_nfs_resop4>)
at /src/src/libntirpc/ntirpc/rpc/xdr_inline.h:894
#5
0x0000000000455c1a in xdr_COMPOUND4res (xdrs=0xaa693f0, objp=0x17d9d680) at /src/src/include/nfsv41.h:8779
#6
0x00007fd34e041e78 in svcauth_none_wrap (req=0x78bde5f0, xdrs=0xaa693f0) at /src/src/libntirpc/src/svc_auth_none.c:45
#7
0x00007fd34e04a234 in svc_vc_reply (req=0x78bde5f0) at /src/src/libntirpc/src/svc_vc.c:889
#8
0x00007fd34e041468 in svc_sendreply (req=0x78bde5f0) at /src/src/libntirpc/src/svc.c:501
#9
0x0000000000458016 in nfs_rpc_process_request (reqdata=0x78bde5f0) at /src/src/MainNFSD/nfs_worker_thread.c:1384
#10 0x000000000045859d in nfs_rpc_valid_NFS (req=0x78bde5f0) at /src/src/MainNFSD/nfs_worker_thread.c:1538
#11 0x00007fd34e04a034 in svc_vc_decode (req=0x78bde5f0) at /src/src/libntirpc/src/svc_vc.c:829
#12 0x000000000044b005 in nfs_rpc_decode_request (xprt=0x7aa0ac20, xdrs=0x442a6340) at /src/src/MainNFSD/nfs_rpc_dispatcher_thread.c:1345
#13 0x00007fd34e049f45 in svc_vc_recv (xprt=0x7aa0ac20) at /src/src/libntirpc/src/svc_vc.c:802
#14 0x00007fd34e046689 in svc_rqst_xprt_task (wpe=0x7aa0ae38) at /src/src/libntirpc/src/svc_rqst.c:769
#15 0x00007fd34e046ae6 in svc_rqst_epoll_events (sr_rec=0x1f2e4f0, n_events=1) at /src/src/libntirpc/src/svc_rqst.c:941
#16 0x00007fd34e046d7b in svc_rqst_epoll_loop (sr_rec=0x1f2e4f0) at /src/src/libntirpc/src/svc_rqst.c:1014
#17 0x00007fd34e046e2e in svc_rqst_run_task (wpe=0x1f2e4f0) at /src/src/libntirpc/src/svc_rqst.c:1050
#18 0x00007fd34e04f7f6 in work_pool_thread (arg=0x7af1a1b0) at /src/src/libntirpc/src/work_pool.c:181
#19 0x00007fd34d06dde5 in start_thread () from /lib64/libpthread.so.0
#20 0x00007fd34c974f1d in clone () from /lib64/libc.so.6
(gdb) select-frame 5
(gdb) print objp
$1 = (COMPOUND4res *) 0x17d9d680
(gdb) print *objp
$2 = {status = NFS4ERR_RETRY_UNCACHED_REP, tag = {utf8string_len = 0, utf8string_val = 0x0}, resarray = {resarray_len = 2, resarray_val = 0x0}}
(gdb)