I made a reference to this problem earlier in another email...but I
don't think it has any relevance anymore. Here is my problem. During
the call to NS_InitEmbedding (), nsJSRuntimeServiceImpl::GetRuntime ()
is called (xpcruntimesvc.cpp). I get an unhandled exception on this line:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mRuntime = JS_NewRuntime(gGCSize); //Line 140 of xpcruntimesvc.cpp
//gGCSize is defined as...
const uint32 gGCSize = 4L * 1024L * 1024L;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I believe JS_NewRuntime () is defined in /js/src/jsapi.c
This WAS working yesterday after changing the default heapsize to
256k...but that seemed to be just a coincidence as changing that now
does absolutely nothing in fixing the unhandled exception. I tried to
step into JS_NewRuntime (), but doesn't seem to be working. Any hints
on this area would be greatly appreciated as I am not familiar with this
portion of Gecko.
Here is the output in the console window when the exception occurs:
### XPCOM_MEM_LEAK_LOG defined -- logging leaks to Leak.txt
Type Manifest File:
C:\Dev\Source\mozilla\ff-debug\dist\bin\components\xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: GetFactory(xpc3250.dll) Load FAILED with error:
error 999
nsNativeComponentLoader: registering deferred (0)
I'm developing on a Win 2K platform with VS2003.
Again thanks to anyone who can provide any information.
Niky Williams
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding