Subj : Re: SpiderMonkey crash with complex switch stmt To : silviu.trasca From : Brendan Eich Date : Wed Jul 27 2005 10:47 pm 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 .