Created attachment 344212 [details] test case Description of problem: one undestroyed mutex per each module's load when initialized without arguments Version-Release number of selected component (if applicable): nss-3.12.2-5.fc10 Steps to Reproduce: 1. run the attached test case Actual results: ==4469== 43,008 bytes in 256 blocks are definitely lost in loss record 27 of 27 ==4469== at 0x4A04D1F: calloc (vg_replace_malloc.c:279) ==4469== by 0x340EA2243C: PR_NewLock (in /usr/lib64/libnspr4.so) ==4469== by 0x4C4956B: nssCKFWMutex_Create (mutex.c:137) ==4469== by 0x4C4919C: nssCKFWInstance_Create (instance.c:245) ==4469== by 0x4C53E81: NSSCKFWC_Initialize (wrap.c:205) ==4469== by 0x364E234816: secmod_ModuleInit (pk11load.c:146) ==4469== by 0x364E234F33: SECMOD_LoadPKCS11Module (pk11load.c:378) ==4469== by 0x364E247973: SECMOD_LoadModule (pk11pars.c:323) ==4469== by 0x364E247B77: SECMOD_LoadUserModule (pk11pars.c:391) ==4469== by 0x4007A3: main (test.c:17) ==4469== ==4469== LEAK SUMMARY: ==4469== definitely lost: 43,008 bytes in 256 blocks. Additional info: patch ready and awaiting review
Created attachment 344214 [details] proposed fix
nss-3.12.3.99.3-2.11.3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/nss-3.12.3.99.3-2.11.3.fc11
nss-3.12.3.99.3-2.11.3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nss'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6948
nss-3.12.3.99.3-2.10.4.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nss'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-7017
nss-3.12.3.99.3-2.11.3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
nss-3.12.3.99.3-2.10.4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.