Bug 769616
Summary: | CKFW leaks memory when loading libnsspem.so after upgrade of nss | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Kamil Dudka <kdudka> | ||||||
Component: | nss | Assignee: | Elio Maldonado Batiz <emaldona> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Aleš Mareček <amarecek> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.2 | CC: | amarecek, jakub, jrieden, kengert, rrelyea, syeghiay | ||||||
Target Milestone: | rc | Keywords: | Regression, Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | nss-3.13.3-3.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: |
No documentation needed
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-06-20 07:23:36 UTC | Type: | --- | ||||||
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
Kamil Dudka
2011-12-21 13:29:39 UTC
Created attachment 549024 [details]
a test-case
Created attachment 549053 [details]
proposed fix
Comment on attachment 549053 [details]
proposed fix
r+
So the mutex is an instance variable, do we do the mutex destroy in the finalize as well? (Sometimes the framework depends too much on arenas to do cleanup).
bob
(In reply to comment #4) > So the mutex is an instance variable, do we do the mutex destroy in the > finalize as well? If finalize means NSSCKFWC_Finalize(), it seems we do. It calls nssCKFWInstance_Destroy(), which calls nssCKFWMutex_Destroy(fwInstance->mutex). Cool, then it was just the error path that was wrong. Elio, could you make sure we get an upstream bug for this. The issue affects all ckfw modules, not just libpem... most particularly the builtins module (but also libcapi on windows and libmkey on mac). bob (In reply to comment #6) Done, at https://bugzilla.mozilla.org/show_bug.cgi?id=714961 Patch approved and committed upstream https://bugzilla.mozilla.org/show_bug.cgi?id=714961#c4 Kamil, as I understand it, your patch was added upstream and will be contained in NSS 3.13.2 and newer. I understand Elio already works on including the newer 3.13.3 into RHEL-6.3 I conclude this bug can be closed? Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No documentation needed Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0973.html |