Subj : SIGBUS on Latest CVS checkout of Spidermonkey To : netscape.public.mozilla.jseng From : prohto Date : Wed Jun 29 2005 10:36 am Hi everybudy. I'm using a latest cvs checkout of spidermonkey on a custom application. In few words, during testing I do an infinite loop, executing in every loop the same secuence command ans script on a context. Before staring a new iteration I run JS_GC. When I compile the libjs using BUILD_OPT=1, I get a SIGBUS after a few iteration. I tried the same test but now compiling for DBG, but I couldn't get the signal. I tried again with BUILD_OPT=1 but now I manully added the option "-g" at compile time. This time I got the signal and core was dumped. Using gdb a got the following information: #0 0xff27c9b0 in MarkGCThing (cx=0x175c90, thing=0x73c90, flagp=0x740ea "0 ", '\001' , " \001 \001\001\001\001\001 \001", ' ' , "\001", ' ' ) at jsgc.c:1132 #1 0xff27cb64 in MarkGCThing (cx=0x175c90, thing=0x73c90, flagp=0x740ea "0 ", '\001' , " \001 \001\001\001\001\001 \001", ' ' , "\001", ' ' ) at jsgc.c:1223 #2 0xff27d41c in js_MarkGCThing (cx=0x175c90, thing=0x73c90, arg=0x740ea) at jsgc.c:1438 Current language: auto; currently c (gdb) bt full #0 0xff27c9b0 in MarkGCThing (cx=0x175c90, thing=0x73c90, flagp=0x740ea "0 ", '\001' , " \001 \001\001\001\001\001 \001", ' ' , "\001", ' ' ) at jsgc.c:1132 rt = (JSRuntime *) 0x17e0a8 obj = (JSObject *) 0x73c90 v = 1578981 vp = (jsval *) 0x740ea end = (jsval *) 0x38 str = (JSString *) 0x182e60 next_thing = (void *) 0x182c40 next_flagp = (uint8 *) 0x1817a0 "\020\021\022\021\021\021\021\021" stackDummy = 374552 #1 0xff27cb64 in MarkGCThing (cx=0x175c90, thing=0x73c90, flagp=0x740ea "0 ", '\001' , " \001 \001\001\001\001\001 \001", ' ' , "\001", ' ' ) at jsgc.c:1223 rt = (JSRuntime *) 0x17e0a8 obj = (JSObject *) 0x73c90 v = 1578981 vp = (jsval *) 0x740ea end = (jsval *) 0x38 str = (JSString *) 0x182e60 next_thing = (void *) 0x182c40 next_flagp = (uint8 *) 0x1817a0 "\020\021\022\021\021\021\021\021" stackDummy = 374552 #2 0xff27d41c in js_MarkGCThing (cx=0x175c90, thing=0x73c90, arg=0x740ea) at jsgc.c:1438 flagp = (uint8 *) 0x17e0a8 "" I hope somebody could extract some usefull information from this logs. In the mean time I will try to solve or override the problem. Best regards Carlos Fangmeier H. .