V8 Snapshot Error on Windows Upgrade to CEF 3.3396.1777.g636

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

V8 Snapshot Error on Windows Upgrade to CEF 3.3396.1777.g636

Postby cretz » Wed Jun 13, 2018 10:11 am

When attempting to visit a site, I get the following in debug mode:

Code: Select all
#                                                                                                                             
# Fatal error in ../../v8/src/api.cc, line 8370                                                                               
# Check failed: (isolate->snapshot_blob()) == nullptr.                                                                         
#                                                                                                                             
#                                                                                                                             
#                                                                                                                             
#FailureMessage Object: 000000F5D352D468Backtrace:                                                                             
        GetHandleVerifier [0x00007FFE7FE236C4+21412]                                                                           
        IsSandboxedProcess [0x00007FFE81AB68F3+12660179]                                                                       
        IsSandboxedProcess [0x00007FFE81AA8915+12602869]                                                                       
        cef_zip_reader_create [0x00007FFE7F046BE7+19746083]                                                                   
        IsSandboxedProcess [0x00007FFE81AB5E4B+12657451]                                                                       
        IsSandboxedProcess [0x00007FFE819CF760+11713600]                                                                       
        IsSandboxedProcess [0x00007FFE819CFC66+11714886]                                                                       
        IsSandboxedProcess [0x00007FFE817A936E+9459790]                                                                       
        IsSandboxedProcess [0x00007FFE8342F00B+39367915]                                                                       
        IsSandboxedProcess [0x00007FFE827F7FCD+26559661]                                                                       
        IsSandboxedProcess [0x00007FFE827F65D6+26553014]                                                                       
        IsSandboxedProcess [0x00007FFE827F5DA4+26550916]                                                                       
        IsSandboxedProcess [0x00007FFE827F5733+26549267]                                                                       
        IsSandboxedProcess [0x00007FFE827F436F+26544207]                                                                       
        cef_zip_reader_create [0x00007FFE7FBFBBF9+32021813]                                                                   
        IsSandboxedProcess [0x00007FFE80EF9C53+352563]                                                                         
        IsSandboxedProcess [0x00007FFE80EF9E12+353010]                                                                         
        cef_zip_reader_create [0x00007FFE7FBFB4E5+32020001]                                                                   
        cef_zip_reader_create [0x00007FFE7FC093BF+32077051]                                                                   
        cef_execute_process [0x00007FFE7DCD50A9+93]                                                                           
        CefExecuteProcess [0x00007FF6EF4FBD30+448] (c:\work\doogie\cef-3396-win64\libcef_dll\wrapper\libcef_dll_wrapper.cc:197)
        doogie::Cef::Cef [0x00007FF6EF4B2163+307] (c:\work\doogie\doogie\src\cef\cef.cc:15)                                   
        main [0x00007FF6EF422B93+467] (c:\work\doogie\doogie\src\main.cc:25)                                                   
        invoke_main [0x00007FF6EF69B654+52] (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:79)                       
        __scrt_common_main_seh [0x00007FF6EF69B544+292] (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283)           
        __scrt_common_main [0x00007FF6EF69B40E+14] (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:326)               
        mainCRTStartup [0x00007FF6EF69B6E9+9] (f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp:17)                       
        BaseThreadInitThunk [0x00007FFEC9311FE4+20]                                                                           
        RtlUserThreadStart [0x00007FFECB26F061+33]                                                                             


I admit I have not dug too deeply, but it appears the same crash happens on release mode. Is there something that changed that I am missing?
cretz
Techie
 
Posts: 34
Joined: Mon Jun 26, 2017 11:41 am

Re: V8 Snapshot Error on Windows Upgrade to CEF 3.3396.1777.

Postby cretz » Wed Jun 13, 2018 10:44 am

Ok, I figured it out. Never before was I required to ship v8_context_snapshot.bin in conjunction with natives_blob.bin and snapshot_blob.bin. Now I have to :-(
cretz
Techie
 
Posts: 34
Joined: Mon Jun 26, 2017 11:41 am

Re: V8 Snapshot Error on Windows Upgrade to CEF 3.3396.1777.

Postby DanKegel » Fri Jun 22, 2018 1:50 pm

Thanks for the tip. In release builds, the symptom of not shipping v8_context_snapshot.bin is a blank window.

This caught me as I updated from 3282 to 3396.
DanKegel
Mentor
 
Posts: 59
Joined: Fri Nov 08, 2013 12:46 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 32 guests