Closed Bug 603193 Opened 14 years ago Closed 14 years ago

"Assertion failure: flags_ & JSFRAME_HAS_PREVPC,"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: gkw, Assigned: luke)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

function g(code) {
  f = Function(code);
  for (a in f()) {}
}
g()
g("function(){}")
g()
g("yield")

asserts js debug shell on TM changeset edb0506b0c23 with -m at Assertion failure: flags_ & JSFRAME_HAS_PREVPC
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   54765:32b049250e03
user:        David Anderson
date:        Mon Oct 04 14:13:33 2010 -0700
summary:     ICs for scripted new (bug 589398, r=luke,dmandelin).
Blocks: 589398
blocking2.0: --- → ?
blocking2.0: ? → betaN+
After the fix for bug 595555, the testcase needs a small change:

function g(code) {
  f = Function(code);
  for (a in f()) {}
}
g();
g("(function(){})");
g();
g("yield");
Assignee: general → lw
Attached patch fixSplinter Review
This isn't a correctness bug (in release builds), but it was a slight unnecessary slow down.
Attachment #490186 - Flags: review?(dvander)
Attachment #490186 - Flags: review?(dvander) → review+
http://hg.mozilla.org/tracemonkey/rev/5b757ec177b1
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/5b757ec177b1
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug603193.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: