Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Issue 1019123002: Switch ChromeOS and ChromeCast to use external V8 snapshot files. (Closed)

Created:
5 years, 9 months ago by rmcilroy
Modified:
5 years, 8 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@v8_ext_chromeos
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch ChromeOS and ChromeCast to use external V8 snapshot files. BUG=421063 Committed: https://crrev.com/65212281c5bd5c8f85304232e3f66b8ff876082c Cr-Commit-Position: refs/heads/master@{#324052}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M build/common.gypi View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/tools/build/chromeos/FILES.cfg View 1 chunk +8 lines, -0 lines 0 comments Download
M chromecast/chromecast.gyp View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
rmcilroy
lcwu@chromium.org: Please review changes in chromecast jochen@chromium.org: Please review changes in build and content
5 years, 9 months ago (2015-03-18 22:10:53 UTC) #2
lcwu1
5 years, 9 months ago (2015-03-19 00:26:31 UTC) #4
jochen (gone - plz use gerrit)
lgtm
5 years, 9 months ago (2015-03-19 10:26:04 UTC) #5
gunsch
On 2015/03/19 10:26:04, jochen (slow) wrote: > lgtm I'm a little unclear what's going on ...
5 years, 9 months ago (2015-03-19 16:52:44 UTC) #6
rmcilroy
On 2015/03/19 16:52:44, gunsch wrote: > On 2015/03/19 10:26:04, jochen (slow) wrote: > > lgtm ...
5 years, 9 months ago (2015-03-19 18:30:32 UTC) #7
gunsch
On 2015/03/19 18:30:32, rmcilroy wrote: > On 2015/03/19 16:52:44, gunsch wrote: > > On 2015/03/19 ...
5 years, 9 months ago (2015-03-19 18:35:04 UTC) #8
rmcilroy
On 2015/03/19 18:35:04, gunsch wrote: > On 2015/03/19 18:30:32, rmcilroy wrote: > > On 2015/03/19 ...
5 years, 8 months ago (2015-04-07 14:29:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1019123002/20001
5 years, 8 months ago (2015-04-07 14:29:43 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-07 16:15:14 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/65212281c5bd5c8f85304232e3f66b8ff876082c Cr-Commit-Position: refs/heads/master@{#324052}
5 years, 8 months ago (2015-04-07 16:17:19 UTC) #14
gunsch
On 2015/04/07 16:17:19, I haz the power (commit-bot) wrote: > Patchset 2 (id:??) landed as ...
5 years, 8 months ago (2015-04-08 21:18:05 UTC) #15
gunsch
5 years, 8 months ago (2015-04-09 01:01:25 UTC) #16
Message was sent while issue was closed.
Ah! We also fail on Android, a slightly different way but wouldn't be surprised
if it's the same root cause.

Stack:
04-08 19:57:50.585 F/chromium(31816): [31816:31816:FATAL:file_posix.cc(406)]
Check failed: IsValid(). 
logging::LogMessage::~LogMessage()
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../base/logging.cc:543
base::File::GetLength()
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../base/files/file_posix.cc:406
(discriminator 10)
base::MemoryMappedFile::MapFileRegionToMemory(base::MemoryMappedFile::Region
const&)
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../base/files/memory_mapped_file_posix.cc:29
base::MemoryMappedFile::Initialize(base::File, base::MemoryMappedFile::Region
const&)
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../base/files/memory_mapped_file.cc:64
MapV8Files
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../gin/v8_initializer.cc:76
(discriminator 3)
gin::V8Initializer::LoadV8Snapshot()
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../gin/v8_initializer.cc:135
(discriminator 6)
content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&)
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../content/app/content_main_runner.cc:725
Start
/usr/local/google/code/chromium/src/out_cast_android/Debug/../../content/app/android/content_main.cc:46
(discriminator 2)

Verifying the APK has the new binary blobs:
gunsch@powerthirst$/usr/local/google/code/chromium/src$ unzip -l
out_cast_android/Debug/apks/CastShell.apk  | grep assets
  3133230  2015-04-08 17:55   assets/cast_shell.pak
  6267808  2015-04-08 17:55   assets/icudtl.dat
   414655  2015-04-08 17:55   assets/natives_blob.bin
   509188  2015-04-08 17:55   assets/snapshot_blob.bin

Powered by Google App Engine
This is Rietveld 408576698