Page 1 of 1

Crash in 4430 Windows 32-bit

PostPosted: Tue Apr 20, 2021 10:26 am
by JasonLP
I am experiencing a new crash when trying to update my project to Chromium 90 (4430), from Chromium 89 (4389). This crash is happening in Windows, but not on Mac.

Code: Select all
    libcef.dll!CefRequestContextImpl::VerifyBrowserContext() Line 237   C++
    libcef.dll!CefBrowserHost::CreateBrowserSync() Line 120   C++
    libcef.dll!cef_browser_host_create_browser_sync() Line 105   C++
>   GenesysCloud.exe!CefBrowserHost::CreateBrowserSync(const CefWindowInfo & windowInfo, scoped_refptr<CefClient> client, const CefStringBase<CefStringTraitsUTF16> & url, const CefStructBase<CefBrowserSettingsTraits> & settings, scoped_refptr<CefDictionaryValue> extra_info, scoped_refptr<CefRequestContext> request_context) Line 79   C++


I *think* I'm hitting issues related to https://bitbucket.org/chromiumembedded/ ... -callbacks. I am *not* running with --enable-chrome-runtime. Is there some other way I need to organize browser creation, or is this a bug that might be resolved in a future release?

Re: Crash in 4430 Windows 32-bit

PostPosted: Tue Apr 20, 2021 10:45 am
by magreenblatt
Use CefBrowserHost::CreateBrowser, or wait for the CefRequestContext to be initialized (CefRequestContextHandler::OnRequestContextInitialized called) before calling CefBrowserHost::CreateBrowserSync.

Re: Crash in 4430 Windows 32-bit

PostPosted: Tue Apr 20, 2021 1:49 pm
by JasonLP
I changed the code to use CefBrowserHost::CreateBrowser(), and all is well now.

Thank you!