"Assertion failure: *f.regs.pc == JSOP_CALL || *f.regs.pc == JSOP_NEW || *f.regs.pc == JSOP_EVAL || *f.regs.pc == JSOP_FUNCALL || *f.regs.pc == JSOP_FUNAPPLY," with trap

RESOLVED FIXED in mozilla9

Status

()

defect
--
critical
RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: gkw, Assigned: luke)

Tracking

(Blocks 1 bug, {assertion, testcase})

Trunk
mozilla9
x86
Windows 7
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [js-triage-done])

Attachments

(2 attachments)

Posted file dis() information
f = (function() {
  function b() {
    "use strict";
    Object.defineProperty(this, "x", ({}));
  }
  for each(let d in [0, 0]) {
    try {
      b(d);
    } catch (e) {}
  }
})
dis(f)
trap(f, 54, undefined);
f()

asserts js debug shell on MC changeset fcca99426576 with -m, -a and -d at Assertion failure: *f.regs.pc == JSOP_CALL || *f.regs.pc == JSOP_NEW || *f.regs.pc == JSOP_EVAL || *f.regs.pc == JSOP_FUNCALL || *f.regs.pc == JSOP_FUNAPPLY,
Not sure if this is related to TI, the assert seems to be at methodjit/InvokeHelpers.cpp:188
Posted patch fix assertSplinter Review
Oops, assert should use js_GetOpcode.
Assignee: general → luke
Status: NEW → ASSIGNED
Attachment #557344 - Flags: review?(dvander)
Attachment #557344 - Flags: review?(dvander) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/ebfdb0858947
Whiteboard: js-triage-needed → [js-triage-done][inbound]
http://hg.mozilla.org/mozilla-central/rev/ebfdb0858947
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [js-triage-done][inbound] → [js-triage-done]
Target Milestone: --- → mozilla9
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug683470.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.