jackxiao / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

JS_ReportError while JS_DestroyContext #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Host cannot manage error while the JS context is being destroyed because
JS_GetProperty is called in the function GetConfigurationObject()

error:

    ntdll.dll!7c901230()    
    [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]  
    js32.dll!610adb6d()     
    js32.dll!61044b03()     
    ntdll.dll!7c96d8a2()    
    js32.dll!610aa60f()     
    js32.dll!6100de8c()     
    js32.dll!610aab4a()     
    js32.dll!6101c317()     
    js32.dll!6101c4d6()     
    js32.dll!6101c55e()     
    js32.dll!61010ae0()     
>   jshost.exe!GetConfigurationObject(JSContext * cx=0x009216d0)  Line 37 +
0x19 bytes  C++
    jshost.exe!GetConfigurationValue(JSContext * cx=0x009216d0, const char *
name=0x0041eb48, long * value=0x0012f7a4)  Line 58 + 0x9 bytes  C++
    jshost.exe!stdErrRouter(JSContext * cx=0x009216d0, const char *
message=0x0092dcb0, unsigned int length=42)  Line 67 + 0x12 bytes   C++
    jshost.exe!ErrorReporter(JSContext * cx=0x009216d0, const char *
message=0x0092dcb0, JSErrorReport * report=0x0012f95c)  Line 129 + 0x1a
bytes   C++
    js32.dll!6101ebf9()     
    js32.dll!6101e427()     
    js32.dll!6101e399()     
    js32.dll!6101454d()     
    jssqlite.dll!Finalize(JSContext * cx=0x009216d0, JSObject *
obj=0x00a111e0)  Line 105 + 0x15 bytes  C++
    js32.dll!6106bb61()     
    js32.dll!610483ba()     
    msvcr80d.dll!1021b98e()     
    js32.dll!61026fad()     
    js32.dll!61027d75()     
    js32.dll!6101d6ba()     
    js32.dll!6100cb8e()     
    jshost.exe!DestroyHost(JSContext * cx=0x009216d0)  Line 372 + 0xc bytes C++
    jshost.exe!main(int argc=2, char * * argv=0x00903150)  Line 242 + 0x9
bytes   C++
    jshost.exe!__tmainCRTStartup()  Line 597 + 0x19 bytes   C
    jshost.exe!mainCRTStartup()  Line 414   C
    kernel32.dll!7c816fd7()     

Original issue reported on code.google.com by sou...@gmail.com on 16 Jun 2008 at 11:23

GoogleCodeExporter commented 9 years ago
better management of stderr and stdout has been done.

Original comment by sou...@gmail.com on 16 Jun 2008 at 5:45