[Bugs] [Bug 1403599] Samba crashes with 3.9 and VFS module

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 10 22:05:18 UTC 2017


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

jack.wong at laserfiche.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jack.wong at laserfiche.com



--- Comment #2 from jack.wong at laserfiche.com ---
I have gotten this same error. I tracked it down to the pub_glfs_realpath()
function in libgfapi being changed to use jemalloc instead of libc's malloc()
in GlusterFS commit b07c5324161f2fda22d5903db61b9711cf949229. Because of that,
any memory that is returned by this function can no longer be deallocated
through free(). Your crash is because the older versions of Samba deallocate
the memory with free(). In commit 92a0a56c3852726e0812d260e043957c879aefa4, the
GlusterFS VFS module was changed to preallocate the memory for the result
before calling the function, thus bypassing jemalloc. The easy fix is to use a
newer version of Samba that contains this commit or a cherry-pick of it. That
would be Samba 4.4.9+, 4.5.2+, or 4.6.0+.

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


More information about the Bugs mailing list