Hi, Can you please let us know, if there is any update on this.
Thanks, Nagendar.
------------------------------------------------------------------------
Subject: Re: [Fwd: Re: Regarding NSS_Shutdown()] From: nagendar <[EMAIL PROTECTED]> Date: Thu, 27 Jan 2005 11:16:00 +0000
To: uday <[EMAIL PROTECTED]>
uday wrote:
Yes, I am running p7content.c without any modifications to p7content.c or NSS.
------------------------------------------------------------------------
Subject: Re: Regarding NSS_Shutdown() From: Wan-Teh Chang <[EMAIL PROTECTED]> Date: Tue, 25 Jan 2005 10:29:55 -0800 To: [email protected]
To: [email protected] Newsgroups: netscape.public.mozilla.crypto
uday wrote:
Dear all ,
I am facing a problem in NSS Shutdown. I am unable to shutdown and when I checked the status of this function "NSS_Shutdown()", it is always returning SECFailure.The code I have called is "nss-3.9/mozilla/security/nss/cmd/p7content/p7content.c". I have tested the same with debug versions of nss 3.9/nspr 4.4.1 by exporting the NSS_STRICT_SHUTDOWN variable to 1. It is giving the error message "Assertion failure: secmod_PrivateModuleCount == 0, at pk11util.c:112Aborted".
NSS_Shutdown fails if any NSS object is not released. The reason do this is to prevent our clients from re-initializing NSS for a different user while some NSS objects that may potentially provide access to secret information of the previous user are still around.
The fact that p7content.c can't shut down successfully because that program has an NSS object leak. This is a bug in either the NSS libraries or p7content.c. I just inspected p7content.c and didn't see any leak, so the leak is most likely in the NSS libraries.
Are you running p7content.c without any modifications to either p7content.c or NSS?
So, how can I make the nss shutdown success.
If I am unable to shut down nss successfully, I cann't see the effect of crl import, addition of new certificates etc...
But I was able to shutdown in "nss-3.9/mozilla/security/nss/cmd/p7env/p7env.c", using optimized versions of nss 3.9 and nspr 4.4.1.
p7env.c is not calling NSS_Shutdown. If you have added an NSS_Shutdown call to p7env.c, this means p7env.c doesn't have an NSS object leak.
Wan-Teh _______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
--
Nagendar Gouru
Tata Consultancy Services
Advanced Technology Centre
deccanpark, 1 - Software Units Layout, Madhapur, Hyderabad - 500 081
Phone: (off)+91-40-55673532(mob)+91-9246881828
Fax: +91-40-55672222
Web: www.tcs-ca.tcs.co.in
www.tcs.com
---
_______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
