[Bugs] [Bug 1484709] [geo-rep+qr]: Crashes observed at slave from qr_lookup_sbk during rename/hardlink/ rebalance cases

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 28 06:45:44 UTC 2017


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



--- Comment #3 from Raghavendra G <rgowdapp at redhat.com> ---
> I think the underlying cause of this is that qr_content_extract uses dict_get() to get the data value. As the data structure has not been ref-ed , it is possible that it was deleted elsewhere causing qr to use a freed structure.

> I see afr_lookup_done calls 

> dict_del (replies[read_subvol].xdata, GF_CONTENT_KEY); 


> I need to check with the AFR team if this can be called in this code path. In the meantime, use dict_get_with_ref in qr_content_extract.

Since the bug describes a distribute-replicate setup, I checked the code of
afr_lookup_done. GF_CONTENT_KEY is deleted before afr calls STACK_UNWIND. So,
this can't happen in parallel to qr_content_extract.

-- 
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=yBeW1e7C5a&a=cc_unsubscribe


More information about the Bugs mailing list