catapult-project / catapult

Deprecated Catapult GitHub. Please instead use http://crbug.com "Speed>Benchmarks" component for bugs and https://chromium.googlesource.com/catapult for downloading and editing source code..
https://chromium.googlesource.com/catapult
BSD 3-Clause "New" or "Revised" License
1.93k stars 562 forks source link

Uncaught TypeError: Cannot read property of 'length' of undefined #567

Open catapult-bot opened 9 years ago

catapult-bot commented 9 years ago

Issue by natduca Monday Sep 22, 2014 at 20:25 GMT Originally opened as https://github.com/google/trace-viewer/issues/567


From chr...@google.com on June 04, 2014 10:07:06

I am seeing this issue on Chrome Mac when I view any trace I recorded with Chrome Android. This error is printed each time I click on a green circle to show the layer tree. On Ubuntu, I can load these traces successfully.

The error is printed by this line 43 in layer_tree_impl.js https://code.google.com/p/trace-viewer/source/browse/trunk/trace_viewer/cc/layer_tree_impl.js#43 I am recording the traces like: ./adb_profile_chrome --trace-frame-viewer --json -b stable -t 8 -o ~/trace.json

I have recorded on stable, beta, and dev channels of Android Chrome and all 3 have this problem. stable: 35.0.1916.138 beta: 36.0.1985.36 dev: 36.0.1985.18

I have tried loading them on my Mac in both Chrome 35.0.1916.114 and Chrome Canary 37.0.2024.2; both versions have the same problem.

To view these traces, I am starting Chrome like: /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --enable-skia-benchmarking

The trace from Android Chrome Stable is attached.

Attachment: trace35.json

Original issue: http://code.google.com/p/trace-viewer/issues/detail?id=562

catapult-bot commented 9 years ago

Comment by natduca Monday Sep 22, 2014 at 20:25 GMT


From chr...@google.com on June 04, 2014 10:08:46

The trace from Android Chrome Beta is attached here.

The trace I took on Android Chrome dev is too large to attach here.

Attachment: trace36-beta.json