Bug 1403599
Summary: | Samba crashes with 3.9 and VFS module | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Denis Lambolez <denis.lambolez> | ||||
Component: | gluster-smb | Assignee: | Michael Adam <madam> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.9 | CC: | bugs, denis.lambolez, jack.wong, jbyers, monotek23 | ||||
Target Milestone: | --- | Keywords: | Reopened, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.10.1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-04-29 16:17:31 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Denis Lambolez
2016-12-11 19:42:47 UTC
This bug is getting closed because GlusterFS-3.9 has reached its end-of-life [1]. Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS. If this bug still exists in newer GlusterFS releases, please open a new bug against the newer release. [1]: https://www.gluster.org/community/release-schedule/ 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+. Thanks for the info! So this should work with the ubuntu zesty packages again: https://launchpad.net/~monotek/+archive/ubuntu/samba-glusterfs-3.9 Thanks Jack for the info and André for the new kit. As always perfect service :-) But it means for me that I have to wait for the official release of Zesty to test it. I will post the results on this bug in the coming weeks. So, I did the upgrade to Zesty last week and it's now working perfectly well. The current versions I use are: - glusterfs-client/zesty, 3.10.1-ubuntu1~zesty1 (from Gluster team's ppa) - glusterfs-server/zesty, 3.10.1-ubuntu1~zesty1 (from Gluster team's ppa) - samba-vfs-modules/zesty,2:4.5.4+dfsg-1ubuntu2glusterfs3.10.1zesty1 (from André's ppa). Thanks once again for your support. |