Closed Bug 958598 Opened 7 years ago Closed 7 years ago
Assertion failure: get
Slot Ref(FLOAT32X4 _TYPE _OBJECT).is Undefined(), at vm/Global Object .h:419 due to OOM in SIMDObject::init Class
The function SIMDObject::initClass, which initializes the SIMD global object, can be called multiple times, if an OOM occurs during initialization. Due to the order of things being done there, an OOM can lead to a half-initialized state, leading to the mentioned assert. The attached patch reorders some of the code to avoid this.
Attachment #8358502 - Flags: review?(nmatsakis)
Attachment #8358502 - Flags: review?(nmatsakis) → review+
Assignee: nobody → choller
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.