Bug 1007762
Summary: | Memory leak in nss_Init | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Hubert Kario <hkario> | |
Component: | nss | Assignee: | Elio Maldonado Batiz <emaldona> | |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.5 | CC: | kdudka, omoris, rrelyea | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | s390x | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1071861 (view as bug list) | Environment: | ||
Last Closed: | 2014-07-02 13:42:19 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: | ||||
Bug Blocks: | 1071861 |
Description
Hubert Kario
2013-09-13 09:32:17 UTC
As marked in Hardware section, the issue is s390x specific. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. *** Bug 888720 has been marked as a duplicate of this bug. *** Still present in nss-3.15.3-2.el6_5.s390x This is actually a test case error. Your testcase needs to call PR_Cleanup() if you want to test for memory leaks. The leaks are nspr globals, which get allocated once the first NSPR use and stay in use until PR_Cleanup(). bob As said in Comment #7, issue in test case. After changes: ==38193== LEAK SUMMARY: ==38193== definitely lost: 0 bytes in 0 blocks ==38193== indirectly lost: 0 bytes in 0 blocks ==38193== possibly lost: 0 bytes in 0 blocks ==38193== still reachable: 1,447 bytes in 10 blocks ==38193== suppressed: 0 bytes in 0 blocks I have pushed a fix upstream for the curl tool (does not affect libcurl): https://github.com/bagder/curl/commit/24c3cdce (In reply to Kamil Dudka from comment #9) > I have pushed a fix upstream for the curl tool (does not affect libcurl): > > https://github.com/bagder/curl/commit/24c3cdce I'm not sure if the first one is needed, but we settled in for two cleanup commands from nspr: PL_ArenaFinish(); PR_Cleanup(); (In reply to Hubert Kario from comment #10) > I'm not sure if the first one is needed, but we settled in for two cleanup > commands from nspr: > > PL_ArenaFinish(); > PR_Cleanup(); Thanks! I have added the call to PL_ArenaFinish(): https://github.com/bagder/curl/commit/d343033f It eliminates some of the "still reachable" memory reported by valgrind. |