fx3.0b2+OSX10.4 XPCOM returns NS_ERROR_NOT_INITIALIZED in non main thread?
I have created a C++ implemented XPCOM object and call it from non UI thread which is created with nsIThreadManager#newThread in javascript. but the XPCOM object caught an error NS_ERROR_NOT_INITIALIZED when executing following code.
nsCOMPtr<nsIObserverService> observerService =
do_GetService("@mozilla.org/observer-service;1", &rv);
cross thread XPCOM object error accessing DOM in FireFox 3 - netscape.public.mozilla.xpcom | Google グループ
seems to be similar problem.