Benjamin D. Smedberg wrote:
Srinivasa Raghavan wrote:
Hi all ,

I am getting Assertion prints in my component (while starting mozilla in SDK , if i place it in the standard mozilla distribution , it is not arising)

How i could solve the assertion problem ?

You have to provide more information that this... what is the assertion? What methods are you calling? What version of the SDK (and mozilla) are you using?

--BDS

Hi BDS ,

After getting nsIWindowMediator instance from do_GetService , i invoked the method GetXULWindowEnumerator().

While accessing the above said method i am getting the below assertion prints.

###!!! ASSERTION: nsWindowMediator not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file nsWindowMediator.cpp, line 795
Break: at file nsWindowMediator.cpp, line 795




I am using SDK 1.6 and mozilla 1.6.

While setting environment variable XPCOM_CHECK_THREADSAFE=0 , this assertion prints are not comming , but this is only in 1.4,
it is not working for the later version of SDK (if i am wrong correct me ).

I think i had provided needed informations.

Regards
S.Srinivasa Raghavan

Reply via email to