Closed
Bug 409217
Opened 17 years ago
Closed 17 years ago
tamarin-tracing stack overflow running sunspider recurse test ackerman function
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dschaffe, Assigned: edwsmith)
Details
the test case is: function ack(m,n){ if (m==0) { return n+1; } if (n==0) { return ack(m-1,1); } return ack(m-1, ack(m,n-1) ); } //print(ack(3,3)); print(ack(3,4)); calling ack(3,3) works ok calling ack(3,4) stack overflows I added a simple print when inside the ack function, ack(3,3) has about 2432 calls, ack(3,4) crashes after being called 4295 times the sunspider tests calls ack(3,3) ack(3,4) and ack(3,5), works fine in tamarin
Assignee | ||
Comment 1•17 years ago
|
||
I have a fix for this in 411139, just need bigger stacks is all.
Assignee: nobody → edwsmith
Assignee | ||
Comment 2•17 years ago
|
||
fixed in http://hg.mozilla.org/tamarin-tracing/?rev/1bf60b9177bd
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•