[Project_owners] problems with xpcshell

Neil neil at parkwaycc.co.uk
Wed Oct 27 12:07:14 EDT 2004


Davide Carboni wrote:

> I compiled with the followings, and still I cannot load the components.
> I'm trying with Mozilla 1.7.3 codebase on Windows, and you? I tryed on 
> Linux and it works, I can load the 'sample' component and even I wrote 
> a new  component I can load and execute in the xpcshell.
>
>
>
> # basic mozconfig file with minimum requirements for MinGW gcc build
> CC=gcc
> CXX=g++
> CPP=cpp
> AS=as
> LD=ld
>
> # the following options don't yet work under gcc-on-win32
> ac_add_options --disable-accessibility
> ac_add_options --disable-activex
>
>
>
> I get
> ###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file 
> c:/mozilla-src-1.7.3/mozilla/xpcom/components/nsNativeComponentLoader.cpp, 
> line 142
> uncaught exception: [Exception... "Component returned failure code: 
> 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) 
> [nsIJSCID.createInstance]"  nsresult: "0x80570015 
> (NS_ERROR_XPC_CI_RETURNED_FAILURE)"  location: "JS frame :: typein :: 
> <TOP_LEVEL> :: line 10"  data: no]

I'm using gcc-on-win32 for 1.8a4 (trunk).
What happens when you run nsTestSample.exe?
Also try
cd xpcom/sample
make -s clean
make -s libs


More information about the Project_owners mailing list