Bug 903203
Summary: | libselinux memory leak causes libvirtd to grow unbounded (with fix) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | libselinux | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | ajia, dallan, dwalsh, dyasny, dyuan, gren, jferlan, mgrepl, mzhan, rjones, rwu, whuang, ydu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 891324 | Environment: | |
Last Closed: | 2013-03-02 20:10:02 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: | |||
Bug Depends On: | 903280 | ||
Bug Blocks: | 890039, 891324 |
Description
Richard W.M. Jones
2013-01-23 13:37:17 UTC
Additionally, this is the valgrind log showing the memory leak: https://bugzilla.redhat.com/attachment.cgi?id=685857 We actually have more of a fix in rawhide. for (i = 0; i < data->nspec; i++) { spec = &data->spec_arr[i]; free(spec->lr.ctx_trans); free(spec->lr.ctx_raw); if (spec->from_mmap) continue; free(spec->regex_str); free(spec->type_str); if (spec->regcomp) { pcre_free(spec->regex); pcre_free_study(spec->sd); } } Fixed in libselinux-2.1.12-7.1.fc18 libselinux-2.1.12-7.1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/libselinux-2.1.12-7.1.fc18 Package libselinux-2.1.12-7.1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libselinux-2.1.12-7.1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1636/libselinux-2.1.12-7.1.fc18 then log in and leave karma (feedback). libselinux-2.1.12-7.1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |