Updates:
Status: Fixed
Comment #9 on issue 2078 by [email protected]: Devtools crash when
taking a heap snapshot (
v8::internal::V8HeapExplorer::ExtractClosureReferences )
http://code.google.com/p/v8/issues/detail?id=2078
The issue is that the heap profiler assumed that a JavaScript function
always closed over another function's context. This is obviously not true
(e.g., function expressions nested inside 'with' or 'catch' will close over
the with or catch context). This assumption led to interpreting a with or
catch context using some function's scope info.
With the fix, the heap profiler will not crash, but it will miss objects
retained by a catch or with context held by a closure. That's a separate
issue and I'll file a bug for it.
Fixed in r11348.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev