[Bug dyninst/15101] [PATCH] Stap sefaults when calling NSS_shutdown() which was not previously initialized

brolley at redhat dot com sourceware-bugzilla@sourceware.org
Tue Feb 5 15:09:00 GMT 2013


http://sourceware.org/bugzilla/show_bug.cgi?id=15101

Dave Brolley <brolley at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brolley at redhat dot com

--- Comment #3 from Dave Brolley <brolley at redhat dot com> 2013-02-05 15:08:23 UTC ---
The patch is for the function nssCleanup in cscommon.cxx.

While the patch will certainly suppress the failure, the intent is that calls
to NSS_Init and NSS_Shutdown against a given database be balanced. This is
because we need to be able to initialize/shutdown NSS multiple times against
different databases. There is an accommodation for the one known unbalanced
call to nssCleanup (from the rpm finder).

I think that we should try to find the source of the unbalanced call before we
resort to checking the state of NSS within this function.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list