IonMonkey: Assertion failure: isObject(), at ../../jsapi.h:509

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
major
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: decoder, Assigned: dvander)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

Other Branch
x86_64
Linux
assertion, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
The following testcase asserts on ionmonkey revision 50177d59c0e1 (run with --ion -n -m):


function Employee ( name, dept ) {
  this.name=name || ""
}
function WorkerBee ( name, dept, projs ) {}
var SECTION = "toString-001.js";
while ( SECTION , this) 
WorkerBee.prototype = new Employee();
This is another bug masked by the OSR changes made recently. Taking.
Assignee: general → dvander
Status: NEW → ASSIGNED
Created attachment 624601 [details] [diff] [review]
fix

Turns out this can be called in the middle of js::StackFrame construction, so thisv can be JSVAL_NULL.
Attachment #624601 - Flags: review?(nicolas.b.pierron)
Attachment #624601 - Flags: review?(nicolas.b.pierron) → review+
http://hg.mozilla.org/projects/ionmonkey/rev/a19d34d6750f
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.