[Bugs] [Bug 1153610] libgfapi crashes in glfs_fini for RDMA type volumes

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 3 06:23:39 UTC 2014


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



--- Comment #1 from Anoop C S <achiraya at redhat.com> ---
Root cause of the crash was identified as follows:

When main() returns from a C program, global prioritized destructor functions
are called in priority order before the process terminates. According to rdmacm
standard library, rdma_cma_fini() is defined as a destructor function. The same
function is also invoked as part of rdma_disconnect() initiated through
xlator_notify() inside glfs_fini().

Due to the increased delay in rdma_disconnect() and associated cleanup, there
will be a race between the main thread and rdma thread to execute
rdma_cm_fini(), which will result in a segmentation fault.

-- 
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