XPConnect standalone is a multithreaded environment. It should be legal to call CreateInstance from any thread. CreateInstance uses nsRegistryFactory and triggers the non-thread safe assert when called from the non-primary thread. NS_IMPL_ISUPPORTS1(nsRegistryFactory, nsIFactory) Even if the decision is to serialize CreateInstance it still needs to be callable from any thread. This component needs to be checked for thread safety and switched to the THREADSAFE ISUPPORTS macro after any problems are fixed.
setting Jon Smirl's bugs to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
Transferring to default XPCOM owner.
Assignee: rayw → warren
Ownership chase -- help us, obi-jband! /be
Assignee: warren → scc
QA Contact: rayw → kandrot
taking some of the bugs that I have been working on from scc.
Assignee: scc → dougt
Status: ASSIGNED → NEW
moving out based on my workload. Yell, if you have a problem.
Target Milestone: mozilla1.1alpha → Future
nsRegistryFactory is no longer used by XPCOM (post 1.1). See bug 168584 on removing this class from xpcom completely.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.