Closed
Bug 1006885
Opened 10 years ago
Closed 10 years ago
Assertion failure: target->isInterpretedConstructor() || target->isNativeConstructor(), at jit/IonBuilder.cpp:5370
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: decoder, Assigned: h4writer)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])
Attachments
(2 files)
723 bytes,
text/plain
|
Details | |
1.20 KB,
patch
|
jandem
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
The following testcase asserts on mozilla-central revision 87c8f870e2b9 (run with --fuzzing-safe --ion-eager): function checkConstruct(thing, buggy) { try { new thing(); } catch (e) {} } var boundFunctionPrototype = Function.prototype.bind(); checkConstruct(boundFunctionPrototype, true); var boundBuiltin = Math.sin.bind(); checkConstruct(boundBuiltin, true);
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
status-firefox32:
--- → affected
Whiteboard: [jsbugmon:update,bisect]
Reporter | ||
Updated•10 years ago
|
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
Reporter | ||
Comment 2•10 years ago
|
||
JSBugMon: Bisection requested, failed due to error (try manually).
Comment 4•10 years ago
|
||
Turns out this is intermittent, and I can reproduce after retrying multiple times. Bisection underway. (hint: use the "range" interestingness test)
Comment 5•10 years ago
|
||
autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: http://hg.mozilla.org/mozilla-central/rev/53649d31c8b4 user: Hannes Verschore date: Mon Apr 28 13:44:13 2014 +0200 summary: Bug 1001850 - IonMonkey: Remove the intermediate native call when calling a bound function, r=jandem Hannes, is bug 1001850 a likely regressor?
Assignee | ||
Comment 6•10 years ago
|
||
MCallKnown doesn't handle a constructing call to non native/scripted constructing call. (Which just throws.) (We have the same code in getPolyCallTargets to handle this. This was just oversight.) Note: this should normally not be intermediate (and also wasn't intermediate on my computer when using --ion-parallel-compile=off)!
Comment 7•10 years ago
|
||
(In reply to Hannes Verschore [:h4writer] from comment #6) > Note: this should normally not be intermediate (and also wasn't intermediate > on my computer when using --ion-parallel-compile=off)! Darn, you're right!
Comment 8•10 years ago
|
||
(and I take it that you mean "intermittent" instead of "intermediate")
Updated•10 years ago
|
status-firefox31:
--- → affected
Updated•10 years ago
|
tracking-firefox31:
--- → ?
tracking-firefox32:
--- → ?
Comment 9•10 years ago
|
||
Comment on attachment 8419977 [details] [diff] [review] Patch Review of attachment 8419977 [details] [diff] [review]: ----------------------------------------------------------------- Please also add a testcase. r=me with that.
Attachment #8419977 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e0cd88e8e636 I'll request uplift Monday. (In reply to Gary Kwong [:gkw] [:nth10sd] from comment #8) > (and I take it that you mean "intermittent" instead of "intermediate") Yeah ;). Mijn engels is niet zo goed ;)
Comment 12•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e0cd88e8e636
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8419977 [details] [diff] [review] Patch [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 1001850 User impact if declined: Wrong behaviour and possibly crashes? Testing completed (on m-c, etc.): m-i for 2-3 days Risk to taking this patch (and alternatives if risky): This reverts an edge-case to use the old behaviour again. That path has been tested elaborate. Not really risky. String or IDL/UUID changes made by this patch: /
Attachment #8419977 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Attachment #8419977 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•