Closed Bug 482421 Opened 15 years ago Closed 15 years ago

TM: "Assertion failure: vp >= StackBase(fp), at ../jsinterp.cpp"

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9.1

People

(Reporter: gkw, Assigned: brendan)

References

Details

(4 keywords)

Attachments

(1 file)

function f()
{
  var x;
  var foo = "for (var z = 0; z < 2; ++z) { new Object(new String(this), x)}";
  foo.replace(/\n/g, " ");
  eval(foo);
}
f();

asserts at Assertion failure: vp >= StackBase(fp), at ../jsinterp.cpp:4764 in debug TM js shell with -j only. (Opt seems to work as expected, with and without -j)

This should be a regression _caused by_ bug 482349.

The first bad revision is:
changeset:   25784:b8f929cd479d
parent:      25781:5374efa7d144
user:        Andreas Gal
date:        Mon Mar 09 17:29:42 2009 -0700
summary:     Support String(v) -- String constructor called as a converter (482349, r=jwalden).

Thanks to Waldo for helping me with this on IRC.
Flags: blocking1.9.1?
Attached patch fixSplinter Review
Sigh. Have to systematize the callable constructors after this spot-fix.

/be
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #366526 - Flags: review?(gal)
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.1
Attachment #366526 - Flags: review?(gal) → review+
Comment on attachment 366526 [details] [diff] [review]
fix

oops. my bad.
Fixed in tm:

http://hg.mozilla.org/tracemonkey/rev/efc628a65166

Closing since it didn't yet appear in m-c.

/be
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: blocking1.9.1? → blocking1.9.1+
http://hg.mozilla.org/tracemonkey/rev/d26e590802be
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-482421.js,v  <--  regress-482421.js
initial revision: 1.1
Flags: in-testsuite+
v 1.9.1, 1.9.2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: