Bug 1071861
Summary: | Memory leak in nss_Init | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Aleš Mareček <amarecek> |
Component: | nss | Assignee: | Elio Maldonado Batiz <emaldona> |
Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | eparis, hkario, kdudka, omoris |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | s390x | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1007762 | Environment: | |
Last Closed: | 2014-03-17 18:06:37 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: | 1007762 | ||
Bug Blocks: |
Description
Aleš Mareček
2014-03-03 10:43:43 UTC
I'm getting good results with the latest versions of nss installed on my system and using the simple reproducer. [emaldona@dhcp-16-197 Bug-1071861-Memory-leak-in-nss_Init]$ LD_PRELOAD=libnsspem.so valgrind --leak-check=full --error-exitcode=7 ./ckfw_leaks_memory ==25668== Memcheck, a memory error detector ==25668== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==25668== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==25668== Command: ./ckfw_leaks_memory ==25668== ==25668== ==25668== HEAP SUMMARY: ==25668== in use at exit: 10,309 bytes in 88 blocks ==25668== total heap usage: 84,182 allocs, 84,094 frees, 35,479,958 bytes allocated ==25668== ==25668== LEAK SUMMARY: ==25668== definitely lost: 0 bytes in 0 blocks ==25668== indirectly lost: 0 bytes in 0 blocks ==25668== possibly lost: 0 bytes in 0 blocks ==25668== still reachable: 10,309 bytes in 88 blocks ==25668== suppressed: 0 bytes in 0 blocks ==25668== Reachable blocks (those to which a pointer was found) are not shown. ==25668== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==25668== ==25668== For counts of detected and suppressed errors, rerun with: -v ==25668== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) This what I'm running [emaldona@dhcp-16-197 ~]$ rpm -q nss nss-softokn nss-util nspr nss-3.15.4-6.el7.x86_64 nss-softokn-3.15.4-2.el7.x86_64 nss-util-3.15.4-2.el7.x86_64 nspr-4.10.2-4.el7.x86_64 Sorry, I should have read more carefully. This bug is s390x only. This seems to be a bug in NSPR. A call to PR_Init() is enough to trigger the leak. *** This bug has been marked as a duplicate of bug 1071254 *** |