Closed Bug 1046688 Opened 10 years ago Closed 10 years ago

Assertion failure: *ptr == (uintptr_t)expectedData.value, at jit/shared/Assembler-x86-shared.h:1673

Categories

(Core :: JavaScript Engine: JIT, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla34
Tracking Status
firefox34 --- affected

People

(Reporter: decoder, Assigned: luke)

Details

(Keywords: assertion, testcase, Whiteboard: [jsbugmon:update,bisect])

Attachments

(2 files)

The following testcase asserts on mozilla-central revision 005424a764da (run with --fuzzing-safe):


enableSPSProfiling();
for (var j = 0; j < 1000; ++j) {
  (function(stdlib) {
    "use asm";
    var pow = stdlib.Math.pow;
    function f() {
        return +pow(.0, .0)
    }
    return f;
})(this)()
}
Whiteboard: [jsbugmon:update,bisect]
Marked this s-s because of the assertion, Ccing luke because it involves asm.js.
This is just an assertion that became invalid with the addition of the new 'profiling' state: the patched value now has two possible original values.
Group: core-security
Attached patch fix-assertSplinter Review
Kindof a bit of trouble to find the right original value, but I guess it's worth it and easier than adding a PatchDataWithoutValueCheck.
Assignee: nobody → luke
Status: NEW → ASSIGNED
Attachment #8465495 - Flags: review?(dtc-moz)
Comment on attachment 8465495 [details] [diff] [review]
fix-assert

Review of attachment 8465495 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #8465495 - Flags: review?(dtc-moz) → review+
https://hg.mozilla.org/mozilla-central/rev/34df51f6221e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: