User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20101026 Firefox/3.6.12 Build Identifier: mozillajs/1.7 our software uses mozillajs1.7. It crashed at JS with the following lines as the last two frame: js17_32.dll!_JS_CompileUCFunctionForPrincipals() + 0x135 bytes C js17_32.dll!_JS_CompileFunction() + 0x4e bytes C I am wondering what could cause MozillarJS crash at this line and if there is any solutions. Lin Chen Reproducible: Sometimes Steps to Reproduce: It is hard to describe the reproduce steps. Our software is integrated with JS.
Does it crash on a Nightly Build (http://nightly.mozilla.org) crash too?
xtc4uall: this is an embedding case, i'm not sure we even have js as a dll anymore. reporter: i'm not sure if we provide symbols for js builds -- if we don't, we should. unfortunately, without symbols we can't do much. since you're building on windows, it would be easier for you to download the sources for js1.7 and build them and then reproduce your crash.
What information do you need if we reproduce the crash? By symbols, do you mean the pdb file?
yes i mean pdb files. but since i don't think anyone has pdb files for js17, i think you get to rebuild js17 to generate your own pdb files and then crash against that.
I have the pdb file, which makes me able to look at the frames in side the JS. What else I can make use of it?
well, use windbg/devenv and load the pdb, then you should get a better stack trace. i'm available on irc.mozilla.org, hop on irc.
Yes, I got the stack trace by using MSVS: js17_32.dll!_JS_CompileUCFunctionForPrincipals() + 0x135 bytes C js17_32.dll!_JS_CompileFunction() + 0x4e bytes C libAPPVXML3.dll!JSDOMMethods::JSDOMMethods(JSDOMObject * pJSDOMObj=0x1dadaa60, DOMBuilderWrapper * .... what do you mean by a better stacktrace? What is inc? How to hop on it?
if you have symbols for js17_32.dll you wouldn't see +0x135 bytes, you'd see arguments for the function plus a filename and line number. you need to build js17_32.dll yourself. irc: http://en.wikipedia.org/wiki/Internet_Relay_Chat you can use this gateway: http://landfill.bugzilla.org/irc/
still needs stack