Closed Bug 683470 Opened 9 years ago Closed 9 years ago

"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

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: gkw, Assigned: luke)

Details

(Keywords: assertion, testcase, Whiteboard: [js-triage-done])

Attachments

(2 files)

Attached 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
Attached 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: 9 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.