Bug 1677557

Summary: gNFS crashed when processing "gluster v profile [vol] info nfs"
Product: [Community] GlusterFS Reporter: hujianfei <jefferymymy>
Component: nfsAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: atumball, bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-7.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-17 05:27:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hujianfei 2019-02-15 08:47:22 UTC
Description of problem:
when processing "gluster v profile [vol] info nfs" after gnfs start, gnfs will crash.

dump trace info:
/lib64/libglusterfs.so.0(_gf_msg_backtrace_nomem+0xc2)[0x7fcf5cb6a872]
/lib64/libglusterfs.so.0(gf_print_trace+0x324)[0x7fcf5cb743a4]
/lib64/libc.so.6(+0x35670)[0x7fcf5b1d5670]
/usr/sbin/glusterfs(glusterfs_handle_nfs_profile+0x114)[0x7fcf5d066474]
/lib64/libglusterfs.so.0(synctask_wrap+0x12)[0x7fcf5cba1502]
/lib64/libc.so.6(+0x47110)[0x7fcf5b1e7110]

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.create dht volume naming dht_vol,and start the vol
2.start volume profile
3.kill gnfs process
4.process cli "service glusterd restart;gluster volume profile dht_vol info nfs"

Actual results:


Expected results:


Additional info:

Comment 1 Amar Tumballi 2019-06-17 05:27:43 UTC
https://review.gluster.org/#/q/Id68edb3e4646c39544e0b4c90b5e0a9083b37b0d fixed the issue.