Subj : JS_GetStringBytes Assert To : netscape.public.mozilla.jseng From : prohto@yahoo.com (Carlos F.) Date : Tue Jan 27 2004 03:35 pm Hi everybody, I geting a Assert when running the function JS_GetStringBytes. In my application only one thread acces the java context. The gdb backtrace is the following: #0 0xfeb39780 in __sigprocmask () from /lib/libthread.so.1 #1 0xfeb2e978 in _resetsig () from /lib/libthread.so.1 #2 0xfeb2e118 in _sigon () from /lib/libthread.so.1 #3 0xfeb31158 in _thrp_kill () from /lib/libthread.so.1 #4 0xfebcba7c in raise () from /lib/libc.so.1 #5 0xfebb5964 in abort () from /lib/libc.so.1 #6 0xfee7811c in JS_Assert ( s=0xfee899a0 "(*bytes == '\\0' && JSSTRING_LENGTH(str) == 0) || *bytes == (char) JSSTRING_CHARS(str)[0]", file=0xfee89200 "jsstr.c", ln=2879) at jsutil.c:155 #7 0xfee766c0 in js_GetStringBytes (str=0x976d90) at jsstr.c:2879 #8 0xfedc7ab0 in JS_GetStringBytes (str=0x976d90) at jsapi.c:3754 #9 0x3a0d4 in _ZN9VXmlJSlog7ExecuteEv (this=) at VXmlJSExecutable.C:1052 #10 0x38510 in _ZN12VXmlJSelseif7ExecuteEv (this=) at VXmlJSExecutable.C:530 #11 0x385d8 in _ZN12VXmlJSelseif7ExecuteEv (this=) at VXmlJSExecutable.C:545 #12 0x393f0 in _ZN8VXmlJSif7ExecuteEv (this=) at VXmlJSExecutable.C:830 #13 0x37e50 in _ZN10VXmlJSelse7ExecuteEv (this=) at VXmlJSExecutable.C:394 #14 0x393f0 in _ZN8VXmlJSif7ExecuteEv (this=) at VXmlJSExecutable.C:830 #15 0x302a8 in _ZN12VXmlJSfilled7ExecuteEv (this=) at VXmlJSForm.C:1444 #16 0x2bc00 in _ZN10VXmlJSform7ExecuteEP13VXmlJSElement (this=, LastChildExec=0x99b578) at VXmlJSForm.C:191 #17 0x2dc70 in _ZN10VXmlJSbdat10ProcessMsgEP9IVR_MSG_TPc (this=, msg=0xffbee858, buffer=0xffbee8f8 "") at VXmlJSForm.C:828 #18 0x1a0dc in _Z13APPL_CTRL_entv () at appl_ctrl.C:107 #19 0x1a9f8 in main (argc=2, argv=0xffbef9e4) at appl_main.C:143 .