Hide Forgot
Passing invalid argument to xdr_serialize_mountlist.
What do you mean "invalid argument"? Elaborate.
xdr_serialize_mountlist (struct iovec outmsg, mountlist *ml); so here argument ml should be mountboby **. But in mnt3svc_dump we are just pasing mountbody * as argument to mnt3svc_submit_reply which then call xdr_serialize_mountlist.
gaurav@gaurav-Vostro-3400:~/new_gluster$ sudo showmount -a rpc mount dump: RPC: Unable to receive; errno = Connection reset by peer gaurav@gaurav-Vostro-3400:~/new_gluster$ sudo showmount -a clnt_create: RPC: Program not registered patchset: git://git.gluster.com/glusterfs.git signal received: 11 time of crash: 2011-04-08 11:10:02 configuration details: argp 1 backtrace 1 dlfcn 1 fdatasync 1 libpthread 1 llistxattr 1 setfsid 1 spinlock 1 epoll.h 1 xattr.h 1 st_atim.tv_nsec 1 package-string: glusterfs 3.1.0git /lib/libc.so.6(+0x33c20)[0x7f56b2961c20] /lib/libc.so.6(+0x82e52)[0x7f56b29b0e52] /lib/libc.so.6(xdr_string+0x37)[0x7f56b2a446d7] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(xdr_name+0xe)[0x7f56b0104a4e] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(xdr_mountbody+0x19)[0x7f56b0104b49] /lib/libc.so.6(xdr_reference+0x30)[0x7f56b2a45d30] /lib/libc.so.6(xdr_pointer+0x81)[0x7f56b2a45cf1] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(xdr_mountlist+0x15)[0x7f56b0104965] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(nfs_xdr_serialize_generic+0x70)[0x7f56b00fd940] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(mnt3svc_submit_reply+0x7a)[0x7f56b00e527a] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(mnt3svc_dump+0x53)[0x7f56b00e5833] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(nfs_rpcsvc_handle_rpc_call+0x9c)[0x7f56b01026bc] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(nfs_rpcsvc_record_update_state+0x15d)[0x7f56b0102ecd] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(nfs_rpcsvc_conn_data_handler+0x68)[0x7f56b0103218] /usr/local/lib/libglusterfs.so.0(+0x3c254)[0x7f56b353a254] /usr/local/lib/glusterfs/3.1.0git/xlator/nfs/server.so(nfs_rpcsvc_stage_proc+0x12)[0x7f56b0104812] /lib/libpthread.so.0(+0x7971)[0x7f56b2cb8971] /lib/libc.so.6(clone+0x6d)[0x7f56b2a1492d] ---------
its not resolved after discussion with dev.
PATCH: http://patches.gluster.com/patch/7565 in master (NFS : Pass valid argument in mnt3svc_dump.)
It is reproducible in release-3.1. But fixed in release-3.2 and in mainline.
Still it is to be fixed in release-3.1
patch pushed to release-3.1 from http://review.gluster.com/363