TI: Assertion failure: getSlot(slot).isUndefined(), at jsobj.cpp:4620

RESOLVED FIXED

Status

()

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

People

(Reporter: decoder, Unassigned)

Tracking

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

Trunk
x86_64
Linux
assertion, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
The following testcase asserts on TI revision 23a746dac370 (run with -m -n -a),
tested on 64 bit:

function f(x) {return x;}
x = f(/abc/);
eval("this.__defineSetter__(\"x\", function(){}); x = 3;");
eval("var BUGNUMBER = 233483;");
We didn't mark properties as having been specially configured when they were redefined with getters or setters, so the SETGNAME in the eval blithely kept writing to the slot 'x' used to use.

http://hg.mozilla.org/projects/jaegermonkey/rev/a4131835b866
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Updated

6 years ago
Blocks: 676763
(Reporter)

Comment 2

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