Closed Bug 498137 Opened 15 years ago Closed 15 years ago

TM: "Assertion failure: ((jsval) obj & JSVAL_TAGMASK) == JSVAL_OBJECT, at ../jsapi.h"

Categories

(Core :: JavaScript Engine, defect)

1.9.1 Branch
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 495962

People

(Reporter: gkw, Assigned: gal)

References

Details

(Keywords: assertion, regression, testcase)

for (z = 0; z < 1;) { (f = function(g) {
        for each(h in g) {
            const b = [];
            with(b) {
                for each(b in [0/0]) {}
            }
        }
    });
    f([0])
}

asserts with -j at Assertion failure: ((jsval) obj & JSVAL_TAGMASK) == JSVAL_OBJECT, at ../jsapi.h:118

Affects 1.9.1 branch with changeset 25953-3efd1ad9f6f7.

I have no idea if this is bad enough to block but nominating wanted first just-in-case.
Flags: wanted1.9.1?
autoBisect shows this is probably related to bug 481989 :

The first bad revision is:
changeset:   25779:4c66b8ccb1b8
user:        Andreas Gal
date:        Sat Mar 07 01:25:37 2009 -0800
summary:     Check for non-stub getters/setters in SETNAME and SETPROP and invoke SetPropHit after setting the property in INITPROP (481989, r=brendan).

Sidenote: this assertion also occurs on Mac.
Blocks: 481989
Keywords: regression
OS: Linux → All
Hardware: x86 → All
Assignee: general → gal
Group: core-security
Status: NEW → ASSIGNED
This is not a dup.
#2 is wrong. Its a dup after all. It goes into an endless loop now, which it also does with the interpreter. Resolving.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Group: core-security
Flags: in-testsuite?
Flags: wanted1.9.1?
You need to log in before you can comment on or make changes to this bug.