Subj : Re: SpiderMonkey crash with complex switch stmt To : Brendan Eich From : Silviu Trasca Date : Thu Jul 28 2005 05:46 pm Brendan, Thanks for the fix; it solves the problem. And I'm sorry about the big in-line testcase included in the original post. From now on I'll use bugzilla in such situations. Silviu Brendan Eich wrote: > Silviu Trasca wrote: > >> Hello, >> I ran over a js script that make SpiderMonkey to crash (the original >> html doc bring Firefox v1.0.6 to crash, too). I made a test-case >> file (see bellow) with the exact portion of script that causes the >> crash. It seems that a complex switch statement with many case labels >> and nested switches is the cause; the crash occurs during compilation. > > > > Silviu, thanks very much for reporting this. > > (In the future, feel free to file at http://bugzilla.mozilla.org/ in > the Other Products => Core / JavaScript Engine product and component. > Also, please attach your testcase to the bug, and if you post here, > please do not include it in-line in your message -- attach a zip or > something.) > > I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=302439 about > this problem. It has a patch that fixes the bug attached. Please let > me know if there are other problems. > > /be > > .