It seems that the problem is the following:

During the initialization the nsNSSComponent call InitializeNSS() function.
Inside InitializeNSS() there is a call to :

    rv = 
NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR,getter_AddRefs(profilePath));

The value of NS_APP_USER_PROFILE_50_DIR is "ProfD".
The problem is that this call returns an error.
It seems that the profile directory is not defined.
How can I define it ?

Thanks again,
Michael.

"Michael R" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi ,
>
> I wrote an application that embeds mozilla.
> During the run of the application I load different URLs and in most cases 
> everything works fine.
> The problem is that when loading a certain URL mozilla throws the 
> following exception :
>                                    Assertion failure: mod != NULL, at 
> pk11slot.c:1844
> This happens when running on Linux with mozilla compiled with debug info.
>
> Does this mean that NSS was not initialized ? How can I overcome this 
> problem ?
> Finally, why this behavior occur only when loading a certain URL and not 
> in any case ?
>
>
> Thanks,
> Michael.
>
> 


_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to