chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.09k stars 450 forks source link

Crash when opening youtube.com on cefclient #3700

Open vtruant opened 1 month ago

vtruant commented 1 month ago

Describe the bug

using this CG_Defines: export GN_DEFINES='proprietary_codecs=true ffmpeg_branding="Chrome" is_official_build=true'

and this params to automate-git.py: python3 "/Volumes/Developer/CEF/AutomatedBuild/automate-git.py" --download-dir=/Volumes/Developer/CEF/AutomatedBuild/download --branch=6367 --minimal-distrib --client-distrib --arm64-build --force-config --force-build

Application crashes when opening youtube. (just enter youtube.com and wait for the page to load)

To Reproduce Steps to reproduce the behavior:

  1. Start cefclient.app
  2. Go to 'youtube.com'

Screenshots

Versions (please complete the following information):

Additional context Does the problem reproduce with the cefclient or cefsimple sample application at the same version? It crashes in cefclient

Does the problem reproduce with Google Chrome at the same version? Crash logs attached.

Crashes.zip

magreenblatt commented 1 month ago

Are you using an Intel or Apple Silicon Mac? Does it reproduce when using the Sample Application or Standard Distribution from the downloads page?

I'm not seeing a crash with M125 on Windows.

vtruant commented 1 month ago

When I open cefclient from the download page (cef_binary_124.3.8+gc712fb4+chromium-124.0.6367.207_macosarm64_client), then application can't be open. Here is de dialog: << “cefclient” is damaged and can’t be opened. You should move it to the Bin. >>

I'm using an Apple M1 Max.

Have you seen anything in the crash logs ?

magreenblatt commented 1 month ago

I'm using an Apple M1 Max.

The sample apps are not notarized. You can bypass the failure by clicking “Open Anyway” from Privacy & Security settings, or build the sample app using the binary distribution.

vtruant commented 1 month ago

I ran sudo spctl --master-disable in order to allow applications downloaded from anywhere but it still don't open, I still have "“cefclient” is damaged and can’t be opened. You should move it to the Bin" I only can cancel or move to bin...

I'm having the same crashes by building the binary distribution.

I found a workaround to avoid those crashes by using fake device for media stream option.