WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
86224
Web Inspector: exception when switching to heap profiler comparison view
https://bugs.webkit.org/show_bug.cgi?id=86224
Summary
Web Inspector: exception when switching to heap profiler comparison view
Yury Semikhatsky
Reported
2012-05-11 09:53:31 PDT
1. Switch to using fake worker for heap snapshot processing. 2. Take two snapshots. 3. Reopen front-end. 4. Select second snapshot and switch to the comparison view. Result: An error happened when a call for method 'finishLoading' was requested Error: Invalid toNodeIndex 1 at Object._buildRetainers (chrome-devtools://devtools/HeapSnapshot.js:765:27) at Object._init (chrome-devtools://devtools/HeapSnapshot.js:717:14) at Object.<anonymous> (chrome-devtools://devtools/HeapSnapshot.js:640:10) at Object.finishLoading (chrome-devtools://devtools/HeapSnapshotLoader.js:64:22) at Object.dispatchMessage (chrome-devtools://devtools/HeapSnapshotWorkerDispatcher.js:74:58) at Object.dispatch (chrome-devtools://devtools/HeapSnapshotProxy.js:94:34)
Attachments
Patch
(3.41 KB, patch)
2012-05-15 00:57 PDT
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Patch
(3.39 KB, patch)
2012-05-15 02:10 PDT
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Patch
(3.58 KB, patch)
2012-05-16 02:13 PDT
,
Yury Semikhatsky
pfeldman
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alexei Filippov
Comment 1
2012-05-14 06:19:16 PDT
Fake worker uses setTimeout(..., 0) to post/dispatch messages. setTimeout may reorder messages which leads to the serialized snapshot chunks get intermixed.
Yury Semikhatsky
Comment 2
2012-05-15 00:57:46 PDT
Created
attachment 141881
[details]
Patch
Ilya Tikhonovsky
Comment 3
2012-05-15 00:59:39 PDT
lgtm
Yury Semikhatsky
Comment 4
2012-05-15 02:10:48 PDT
Created
attachment 141895
[details]
Patch
Yury Semikhatsky
Comment 5
2012-05-15 04:09:42 PDT
Committed
r117050
: <
http://trac.webkit.org/changeset/117050
>
Kent Tamura
Comment 6
2012-05-15 05:47:34 PDT
(In reply to
comment #5
)
> Committed
r117050
: <
http://trac.webkit.org/changeset/117050
>
It broke four tests.
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=inspector%2Fprofiler%2Fheap-snapshot-comparison-expansion-preserved-when-sorting.html%2Cinspector%2Fprofiler%2Fheap-snapshot-containment-expansion-preserved-when-sorting.html%2Cinspector%2Fprofiler%2Fheap-snapshot-dominators-expansion-preserved-when-sorting.html%2Cinspector%2Fprofiler%2Fheap-snapshot-summary-expansion-preserved-when-sorting.html
WebKit Review Bot
Comment 7
2012-05-16 00:28:40 PDT
Re-opened since this is blocked by 86587
Yury Semikhatsky
Comment 8
2012-05-16 02:13:57 PDT
Created
attachment 142200
[details]
Patch
Yury Semikhatsky
Comment 9
2012-05-16 02:15:33 PDT
(In reply to
comment #8
)
> Created an attachment (id=142200) [details] > Patch
This patch adds task queue that will execute all scheduled tasks on next timeout. This fixes the timing out profiler tests.
Yury Semikhatsky
Comment 10
2012-05-16 02:25:39 PDT
Committed
r117241
: <
http://trac.webkit.org/changeset/117241
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug