Status: New
Owner: ----
New issue 798 by kpdecker: Reading Error.stack in a __defineGetter__
callback causes inf loop or tab crash
http://code.google.com/p/v8/issues/detail?id=798
When something like the following is run in Chrome:
var x = {};
x.__defineGetter__("test", function() {
try {
y.x = 40;
} catch (err) {
console.log(err.stack);
}
return 40;
});
x.test
The executing tab will crash or go into an odd infinite loop/stack
overflow. The error output is something like
ReferenceError: y is not defined
at Object.<anonymous> (eval at <anonymous> (unknown source))
at CallSite.getMethodName (native)
at ReferenceError.<anonymous> (native)
<repeat above>
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev