Crash closing app with youtube video loaded

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 closing app with youtube video loaded

Postby rjxray » Mon Mar 11, 2019 7:17 am

I am building on Windows 10 1809 with CEF 3.3626.1891 with is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome.
When running from VS2017 in debug mode I get a crash when closing the app window if I have a youtube video loaded.
I see this in the debug window:
[0311/112934.783:FATAL:chrome_client_impl.cc(968)] Check failed: !widget || widget->GetLayerTreeView() || !has_event_handlers.
[0311/112934.799:FATAL:message_window.cc(67)] Check failed: result.
I get the same crash in my own app, cefclient and cefsimple.
I see no issues when building and running in Release mode so it's an inconvenience rather than a real problem.
But if anyone has any ideas about what could be done I would be very grateful.
TIA for any help.
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Crash closing app with youtube video loaded

Postby ndesktop » Mon Mar 11, 2019 7:48 am

ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: Crash closing app with youtube video loaded

Postby rjxray » Mon Mar 11, 2019 12:51 pm

Is there any way to turn off the debug checks when building chromium with automate-git.py ?
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Crash closing app with youtube video loaded

Postby magreenblatt » Mon Mar 11, 2019 12:55 pm

rjxray wrote:Is there any way to turn off the debug checks when building chromium with automate-git.py ?

Release builds will have debug checks disabled.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Crash closing app with youtube video loaded

Postby rjxray » Mon Mar 11, 2019 1:34 pm

But can
I use a release build of chromium/cef with a debug build of my app?
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Crash closing app with youtube video loaded

Postby magreenblatt » Mon Mar 11, 2019 1:40 pm

rjxray wrote:But can
I use a release build of chromium/cef with a debug build of my app?

You can use a Release build of dll/bin/pak files with a Debug build of libcef_dll_wrapper and your app.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Crash closing app with youtube video loaded

Postby rjxray » Mon Mar 11, 2019 2:10 pm

Thanks, I'll try that tomorrow
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Crash closing app with youtube video loaded

Postby uvhannes » Wed Mar 20, 2019 5:08 pm

magreenblatt wrote:
rjxray wrote:But can
I use a release build of chromium/cef with a debug build of my app?

You can use a Release build of dll/bin/pak files with a Debug build of libcef_dll_wrapper and your app.


amazing, thanks man, this makes debug builds a lot more friendly.
uvhannes
Newbie
 
Posts: 6
Joined: Mon Jul 03, 2017 5:15 pm


Return to Support Forum

Who is online

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