TI: Assertion failure: nativeContains(cx, *shape), at jsscope.cpp:891

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: decoder, Assigned: bhackett)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
x86_64
Linux
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
The following test asserts on jaegermonkey revision 174db15b3f05 (options -m -n -a):


var o4 = Object.freeze({ 
  set: function(summary) {}       
});
(Assignee)

Comment 1

6 years ago
Created attachment 570005 [details] [diff] [review]
patch

methodShapeChange could return a stale shape not actually in the object if the method was the object's last property.  This also fixes a (longstanding) weirdness where methodShapeChange tolerated being called on a non-method shape.

https://hg.mozilla.org/projects/jaegermonkey/rev/636842dccfc9
Assignee: general → bhackett1024
Attachment #570005 - Flags: review?(luke)

Updated

6 years ago
Attachment #570005 - Flags: review?(luke) → review+
(Reporter)

Comment 2

5 years ago
Old JM branch bug, marking as fixed.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

4 years ago
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug690732.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.