1
0
mirror of https://github.com/gluster/glusterfs.git synced 2026-02-07 03:48:44 +01:00
Files
mohit84 977c8329c9 core: glusterfs encounter a SIGSEGV in __gf_free (#4250)
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
> Credits: Xavi Hernandez <xhernandez@gmail.com>
> Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
> (Reviwed on upstream link https://github.com/gluster/glusterfs/pull/4191)

Fixes: #4190
Change-Id: I49602280e857108cfe2db7a548818a81d6c605e0
Fixes: #4190

Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>Fixes: #4190
2023-10-27 11:32:50 +05:30
..
2019-04-15 14:59:37 +05:30