[Bugs] [Bug 1583734] New: rpc_transport_unref() called for an unregistered socket fd

bugzilla at redhat.com bugzilla at redhat.com
Tue May 29 14:54:25 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1583734

            Bug ID: 1583734
           Summary: rpc_transport_unref() called for an unregistered
                    socket fd
           Product: GlusterFS
           Version: 4.1
         Component: rpc
          Assignee: bugs at gluster.org
          Reporter: srangana at redhat.com
                CC: bugs at gluster.org, mchangir at redhat.com
        Depends On: 1582704
            Blocks: 1582286



+++ This bug was initially created as a clone of Bug #1582704 +++

Description of problem:
socket_server_event_handler() may call rpc_transport_unref() for a socket which
may fail registration with the event sub-system. This causes an assert to fail
in event_unregister_epoll_common()

--- Additional comment from Worker Ant on 2018-05-29 00:14:26 EDT ---

COMMIT: https://review.gluster.org/20091 committed in master by "Raghavendra G"
<rgowdapp at redhat.com> with a commit message- rpc: conditionally cleanup event
slot

Problem:
socket_server_event_handler() may call rpc_transport_unref() for a
socket which may fail registration with the event sub-system.
This causes an assert to fail in event_unregister_epoll_common()

Solution:
Conditionally cleanup event slot only if slot index >= 0

Change-Id: I6ca7c133712e894adc335c7763879691b7e4b213
fixes: bz#1582704
BUG: 1582704
Signed-off-by: Milind Changire <mchangir at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1582286
[Bug 1582286] Brick-mux regressions failing on 4.1 branch
https://bugzilla.redhat.com/show_bug.cgi?id=1582704
[Bug 1582704] rpc_transport_unref() called for an unregistered socket fd
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list