Closed Bug 673798 Opened 13 years ago Closed 13 years ago

TI: Assertion failure: v.isNumber() || v.isBoolean(), at jsobj.cpp:6540

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: assertion, testcase)

The following testcase asserts on TI revision 9b9fd467eb5f (run with -j -m -n), tested on 64 bit:


function check() {
    check.__proto__ = null;
    return arguments.callee.caller;
}
var obj = {
    f: function () {
        check(callee = "'123123'.match(new RegExp('(123){1,}'))");
    }
};
var obj2 = {
    __proto__: obj
};
obj2.f();
Different proximate cause, but fixed by rev 3ccf93107941.  When analyzing uses of 'arguments' in a script to check if they escape, we would bail out if the function's type had previously been marked unknown, and not set the script->createdArgs flag as required by the interpreter.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.