glusterfs encounter a SIGSEGV in __gf_free called from glusterfs_volfile_fetch_on
The glusterfs(fuse client) is showing a below stacktrace
Program terminated with signal 11, Segmentation fault. 326 if (!num_allocs) {
(gdb) bt
at ../../libglusterfs/src/glusterfs/stack.h:199
at glusterfsd-mgmt.c:2269
at glusterfsd-mgmt.c:2293
at ../sysdeps/unix/sysv/linux/makedev.c:37
(gdb)
Solution: Avoid frame cleanup in case of error return by mgmt_submit_request.
glusterfs encounter a SIGSEGV in __gf_free called from glusterfs_volfile_fetch_on
The glusterfs(fuse client) is showing a below stacktrace
Program terminated with signal 11, Segmentation fault. 326 if (!num_allocs) { (gdb) bt at ../../libglusterfs/src/glusterfs/stack.h:199 at glusterfsd-mgmt.c:2269 at glusterfsd-mgmt.c:2293 at ../sysdeps/unix/sysv/linux/makedev.c:37 (gdb)
Solution: Avoid frame cleanup in case of error return by mgmt_submit_request.
Fixes: #4190 Change-Id: I49602280e857108cfe2db7a548818a81d6c605e0 Fixes: #4190