[Bugs] [Bug 1181543] glusterd crashing with SIGABRT if rpc connection is failed in debug mode
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jan 21 06:34:09 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1181543
--- Comment #9 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9449 committed in master by Krishnan
Parthasarathi (kparthas at redhat.com)
------
commit f6a2f152aa9c8a66768e4ba0d1f66737c081639b
Author: Anand <anekkunt at redhat.com>
Date: Wed Jan 14 22:23:05 2015 +0530
glusterd: Added iov error checking in rpc callbacks.
Problem : glusterd was crashing with SIGABRT if rpc connection is failed in
debug mode.
Reason : It was happening due to iov is passing to assert() before
checking
rpc status in rpc call back function (rpc is calling callback function
with
setting rpc status as -1 and passing NULL to iov if connection is failed).
Fix : Error checking for iov added after checking the rpc status
verified
and error messages are added properly .
Change-Id: I35c05c438444d0454aadac4e45524565a7be68a8
BUG: 1181543
Signed-off-by: Anand <anekkunt at redhat.com>
Reviewed-on: http://review.gluster.org/9449
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=noM0dIurLy&a=cc_unsubscribe
More information about the Bugs
mailing list