ah. you tried to use nss w/o first probing it to encourage it to
initialize itself.
I believe it's sufficient to do something like:
nsCOMPtr<nsISupports> psm = do_GetService("@mozilla.org/psm;1");
but it's been a few years. in short NSS needs to be initialized before
it's used, otherwise it kills itself and its consumer for violating its
api. in gecko, NSS is managed by PSM, which iirc is governed by that
singleton contract, however i'm not certain it's the right contract.
some breakpoints/tracing/testing might be warranted.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding