Issue metadata
Sign in to add a comment
|
V8 snapshot mismatch |
||||||||||||||||||||||||
Issue descriptionExtracted from https://groups.google.com/d/msg/v8-reviews/zQhdl15sbNo/Ndf5hqnGBgAJ: Hi I am doing browser developing based on Chromium for Android. Recently, I met a very strange bug which will cause render crash and then I can't open any website. # Fatal error in ../../v8/src/snapshot/snapshot-common.cc, line 286 # Version mismatch between V8 binary and snapshot. # V8 binary version: 6.3.292.48 # Snapshot version: 6.6.346.19 # The snapshot consists of 1390108 bytes and contains 1 context(s). Create new tab not works, the same phenomena is that "render crash". I should kill the browser and launch again to make it works well. The issue is hard to reproduce but we did meet 3 or 4 times in the passed 4 months. I used chromium 63, so the V8 version is 6.3.292.48, I checked the snapshot_blob_32.bin, it is also "6.3.292.48", however the android phone (android 9.0) system webview's snapshot_blob_32.bin version is 6.6.346.19. It seems my Browser get the system webview's v8 snapshot when the issue happens? I think it impossible but I can't explain the log shows. So could you help give some hints about that? Phone bug or chromium bug? In what case the issue maybe happens? Thanks a lot!
,
Jun 29 2018
This can be another appearance of the bug 458962 . If the webview is loaded in the process then webview's assets override application ones. One possible workaround is to change path to these assets, e.g. put them in 'assets/my_cool_browser/snapshot_blob_32.bin'. I'm not sure if the render process can load webview though. I remember a lot of browser process crashes because of this but not render ones.
,
Jun 29 2018
Yes, this is issue 458962 . WebView has no choice but to add its own APK to your application's asset/resource manager when you use WebView. If you wish to use WebView in an app that also contains its own copy of the Chromium code you must rename all the assets in your app so that they have names that are different than the ones WebView uses. You also need to rename a number of other process-global things to function correctly, such as the names of the renderer service classes declared in the manifest. I don't know that this list is necessarily complete :|
,
Aug 11
Extension dafault chrome dan ubah otomatis ke pengaturan default chrome |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by jgruber@chromium.org
, Jun 29 2018