Bug 1607783

Summary: Segmentation fault while using gfapi while getting volume utilization
Product: [Community] GlusterFS Reporter: Mohit Agrawal <moagrawa>
Component: rpcAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, apaladug, bugs, dahorak, jthottan, moagrawa, rhinduja, rhs-bugs, sankarshan, sheggodu, shtripat, skoduri, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1600790 Environment:
Last Closed: 2018-10-23 15:15:30 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:
Bug Depends On:    
Bug Blocks: 1600092, 1600790    

Comment 1 Worker Ant 2018-07-24 09:24:58 UTC
REVIEW: https://review.gluster.org/20557 (rpc: rpc_clnt_connection_cleanup is crashed due to double free) posted (#1) for review on master by MOHIT AGRAWAL

Comment 2 Niels de Vos 2018-07-25 08:31:30 UTC
Please provide a public description of the issue. This is a Gluster Community bug report after all.

As this is a bugfix, it should also be backported to all maintained releases. Please clone this BZ once the public description is available.

Thanks!

Comment 3 Worker Ant 2018-07-25 12:58:10 UTC
COMMIT: https://review.gluster.org/20557 committed in master by "MOHIT AGRAWAL" <moagrawa> with a commit message- rpc: rpc_clnt_connection_cleanup is crashed due to double free

Problem: gfapi client is getting crashed in rpc_clnt_connection_cleanup
         at the time of destroying saved_frames

Solution: gfapi client is getting crashed because saved_frame ptr is
          already freed in rpc_clnt_destroy.To avoid the same update
          code in rpc_clnt_destroy

Change-Id: Id8cce102b49f26cfd86ef88257032ed98f43192b
fixes: bz#1607783
Signed-off-by: Mohit Agrawal <moagrawal>

Comment 4 Worker Ant 2018-07-26 11:00:22 UTC
REVIEW: https://review.gluster.org/20567 (gfapi: Upload a .t file to validate patch for        commit abd7b1393294d29eef6913e7f93ab76040c90428) posted (#1) for review on master by MOHIT AGRAWAL

Comment 5 Shyamsundar 2018-10-23 15:15:30 UTC
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/

Comment 6 Red Hat Bugzilla 2023-09-14 04:31:57 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days