Subj : Access Violation in JS32.DLL To : netscape.public.mozilla.jseng From : Rob Swindell Date : Thu Jul 07 2005 11:59 am Using a current (as of today) CVS-snapshot MSVC6 thread-safe build of JS32.DLL, the following problem occurs, but *only* when using a "release" build (and yes, I have the /opt:noicf link option): When using capturing parenthesis in a deeply nested call to Array.split(), the actual regular expression used is /(\r?\n\r?\n)/, I get: "The instruction at "0x002843da" referenced memory at "0xffffffb8". The memory could not be "read". Click "Cancel" to debug and get: "Unhandled exception in program.exe (JS32.DLL): 0xC0000005: Access Violoation." The call-stack appears blown up as the call stack always contains (just one) item: JS32! 002843da() And this address doesn't appear to be valid based on the js32.map file. If I use a debug build of JS32.DLL, the crash does not occur. If I remove the capturing parenthesis from the regular expression (which I know serves no purpose in a call to Array.split(), but I didn't write the script in question), the crash goes away. -Rob .