Crash in 4430 Windows 32-bit

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.

Crash in 4430 Windows 32-bit

Postby JasonLP » Tue Apr 20, 2021 10:26 am

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?
JasonLP
Mentor
 
Posts: 87
Joined: Fri Jul 25, 2014 10:10 am

Re: Crash in 4430 Windows 32-bit

Postby magreenblatt » Tue Apr 20, 2021 10:45 am

Use CefBrowserHost::CreateBrowser, or wait for the CefRequestContext to be initialized (CefRequestContextHandler::OnRequestContextInitialized called) before calling CefBrowserHost::CreateBrowserSync.
magreenblatt
Site Admin
 
Posts: 10832
Joined: Fri May 29, 2009 6:57 pm

Re: Crash in 4430 Windows 32-bit

Postby JasonLP » Tue Apr 20, 2021 1:49 pm

I changed the code to use CefBrowserHost::CreateBrowser(), and all is well now.

Thank you!
JasonLP
Mentor
 
Posts: 87
Joined: Fri Jul 25, 2014 10:10 am


Return to Support Forum

Who is online

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