Closed Bug 347157 Opened 18 years ago Closed 13 years ago

Mixing eval and normal recursion lets me defeat recursion limits

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: hang, testcase)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060731 Minefield/3.0a1

This testcase hangs Firefox for at least 30 seconds (perhaps forever) and makes it consume at least 900MB of RAM.
Attached file testcase (deleted) —
On Mac, it does eventually (~30 seconds) say "too much recursion", but it's still using 400MB of virtual memory and 166MB of real memory.  Feels like a leak from looking at Activity Monitor, at least.
This is no recursion involved in my test case so i don't know if this is a duplicate of the other bug.
There is no recursion involved in my test case so I don't know if this is a
duplicate of the other bug.
In addition this other bug was reported in 2006 (I guess under FF 2) and I have
no memory problems under FF 2.0.0.18 with my test case.
This test case crashes 3.0.10 on XP almost immediately
The attached testcase throws up a too much recursion error immediately now in both the browser and shell.
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: