Subj : Problem with error reporting To : netscape.public.mozilla.jseng From : "Jochen Stier" Date : Fri Mar 26 2004 10:41 am Hi everyone, I am periodically calling a script that contains an error. After having reported the error 2190 times, the JavaScript engine crashes at the call to dosprintf in JS_vsnprintf in jsprf.c. ss.stuff = LimitStuff; ss.base = out; ss.cur = out; ss.maxlen = outlen; (void) dosprintf(&ss, fmt, ap); The only thing difference between the previous calls and the final one is the parameter 'ap' which is of type va_list and was created in JS_snprintf using va_start. Does anyone have any ideas what is going no there ? Also, has anyone tried yet to remove the existing error reporting scheme. I already have my own and would like to use that. I am currently inclined to replace the function ReportError with my own code. Any comments ? Thx Jochen .