Description of problem: Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fdd79460fb5 in frame_fill_groups (frame=frame@entry=0x7fdd5800d880) at fuse-helpers.c:175 175 ngroups = gf_getgrouplist (result->pw_name, frame->root->gid, (gdb) bt #0 0x00007fdd79460fb5 in frame_fill_groups (frame=frame@entry=0x7fdd5800d880) at fuse-helpers.c:175 #1 0x00007fdd7946140e in get_groups (frame=0x7fdd5800d880, priv=0x1b98340) at Version-Release number of selected component (if applicable): It segfaults if there is no matching password record for uid and getpwuid_r returns 0 and set result to NULL.
REVIEW: https://review.gluster.org/20499 (add check if no matching password record was found with getpwuid_r(uid)) posted (#1) for review on master by Vitaly Lipatov
COMMIT: https://review.gluster.org/20499 committed in master by "Amar Tumballi" <amarts> with a commit message- add check if no matching password record was found with getpwuid_r(uid) Change-Id: Iae712828ee656008faf5fe2bc4e6f96fa12ea4cb fixes: bz#1600687 Signed-off-by: Vitaly Lipatov <lav>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-5.0, please open a new bug report. glusterfs-5.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2018-October/000115.html [2] https://www.gluster.org/pipermail/gluster-users/