Closed
Bug 857580
Opened 11 years ago
Closed 11 years ago
BaselineCompiler: Assertion failure: ICStub::CanMakeCalls(stub->kind()), at ion/IonFrames.cpp:702 with Debugger
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: decoder, Assigned: jandem)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, crash, testcase, Whiteboard: [jsbugmon:update,origRev=475dc5f51bdb])
Crash Data
Attachments
(1 file)
5.99 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
The following testcase asserts on baseline compiler branch revision 5fd27c1b3943 (run with --ion-eager): gczeal(2); var g = newGlobal('new-compartment'); var dbg = new Debugger(g); dbg.onNewScript = function(script) { fscript = script.getChildScripts()[0]; } g.eval("function f(x) { arguments[0] = 3; return x }"); fscript.setBreakpoint(0, {hit:function(frame) { assertEq(frame.eval('x').return, 1); return {return:42}; }}); assertEq(g.f(1), 42);
Assignee | ||
Comment 1•11 years ago
|
||
Debug-mode only. The breakpoint trampoline reuses the stub frame machinery, but could store a bogus ICStub pointer in the stub frame. The patch just stores a NULL stub pointer. (The trampoline code is stored in IonRuntime so is never GC'ed).
Reporter | ||
Comment 2•11 years ago
|
||
Switching this bug to trunk now :)
Crash Signature: [@ js::ion::IonCode::trace]
Keywords: crash
Whiteboard: [jsbugmon:update] → [jsbugmon:update,origRev=475dc5f51bdb]
Version: Other Branch → Trunk
Comment 3•11 years ago
|
||
Comment on attachment 733245 [details] [diff] [review] Patch Review of attachment 733245 [details] [diff] [review]: ----------------------------------------------------------------- Nice catch.
Attachment #733245 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/97d4b08ee4af
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/97d4b08ee4af
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•