Subj : Re: GC problem -- core dump To : raj From : Brendan Eich Date : Mon Apr 21 2003 10:42 am raj wrote: > Hello, > > I am using the OpenVXI VoiceXML interpreter for bilding a VoiceXML browser. > This uses spidermonkey for ECMAScript functionality. We are running loadtest > with 10 simultaneous calls (each channel has 6 threads). > After running for about 20,000 calls or so it crashes and the dump shows > that the crash was because of js. > This implementation enforces thread safety by using its own Mutex mechanism. > > any help will be appreciated. C'mon, you are going to have to do more work to figure out what's going wrong. Posting a stack is not nearly enough. It looks like your build lacks debugging information that could point to the line number at which the crash occurred. You'll want to fix that. Then you can dump registers and memory relevant to the crashing instruction and what led up to it. You should dump all threads' stacks to see what else was going on. /be > > #0 0x403579bc in js_MarkScript () at eval.c:41 > #1 0x4032ef43 in fun_mark () at eval.c:41 > #2 0x4034402f in js_Mark () at eval.c:41 > #3 0x403306bf in js_MarkGCThing () at eval.c:41 > #4 0x40330705 in js_MarkGCThing () at eval.c:41 > #5 0x40330705 in js_MarkGCThing () at eval.c:41 > #6 0x40330705 in js_MarkGCThing () at eval.c:41 > #7 0x40330767 in gc_root_marker () at eval.c:41 > #8 0x403219cd in JS_DHashTableEnumerate () at eval.c:41 > #9 0x4033088a in js_GC () at eval.c:41 > #10 0x403307d4 in js_ForceGC () at eval.c:41 > #11 0x4031a743 in js_DestroyContext () at eval.c:41 > #12 0x403127b0 in JS_DestroyContext () at eval.c:41 > #13 0x080bb700 in JsiRuntime::DestroyContext(JSContext**) (this=0x82849c8, > context=0x5675613c) at JsiRuntime.cpp:155 > #14 0x080b8999 in JsiContext::~JsiContext() (__in_chrg=0x56756120) at > JsiContext.cpp:311 > > ./raj > > .