Open
Bug 822566
Opened 11 years ago
Updated 2 years ago
[jsdbg2] The same ScopeObject appears twice in a DebugScopeObject chain
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jimb, Unassigned)
Details
Attachments
(1 file)
Here's a DebugScopeObject whose... um... [counts on fingers] third and fourth parents are the same underlying scope object, (JSObject *) 0x7ffff1523100. That's gotta be wrong, right? (gdb) p env->asDebugScope().enclosingScope().asDebugScope().enclosingScope().asDebugScope().enclosingScope().asDebugScope().scope() $25 = (js::ScopeObject &) @0x7ffff1523100 [object DeclEnv] delegate (gdb) p env->asDebugScope().enclosingScope().asDebugScope().enclosingScope().asDebugScope().enclosingScope().asDebugScope().enclosingScope().asDebugScope().scope() $26 = (js::ScopeObject &) @0x7ffff1523100 [object DeclEnv] delegate Attached is test case that produces such a suspicious chain. bug 808791 comment 19 describes the effects of this; we get strange environment lists in the debugger.
Comment 1•11 years ago
|
||
We saw this in Firebug too - http://code.google.com/p/fbug/issues/detail?id=6184#c2 has another interesting test case.
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•