Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cefclient basic tests (Get Source and Get Text) fails when compiled with new automated Spotify build 76.x.x.x #2742

Closed
magreenblatt opened this issue Aug 5, 2019 · 10 comments
Labels
bug Bug report Tests Related to tests

Comments

@magreenblatt
Copy link
Collaborator

Original report by CephaluS (Bitbucket: CephaluS, GitHub: CephaluS).


With the new 76.x.x.x major version a couple simple test has stopped working in Cefclient sample application. If Cefclient is built with 75.x.x.x and prior versions, these tests works as expected (on screen text dump).

Tested with 08/01/2019 - CEF 76.1.5+gd8a577c+chromium-76.0.3809.87 / Chromium 76.0.3809.87

The failing test are Get Source and Get Text. The expected text dump report from these tests is not shown in both cases. Instead test website is reloaded (www.google.com). All other tests seems to work flawlessly.

Get Source writes this line in debug.log:
[0805/174000.944:ERROR:bad_message.cc(27)] Terminating renderer for bad IPC message, reason 216

Get Text writes these lines in debug.log:
[0805/174532.864:ERROR:bad_message.cc(27)] Terminating renderer for bad IPC message, reason 216
[0805/174535.147:ERROR:browser_process_sub_thread.cc(203)] Waited 57 ms for network service

Compiled 64 bits/Windows/MinGW.

debug.log is included.

Thanks.

@magreenblatt
Copy link
Collaborator Author

Original changes by CephaluS (Bitbucket: CephaluS, GitHub: CephaluS).


  • edited description

1 similar comment
@magreenblatt
Copy link
Collaborator Author

Original changes by CephaluS (Bitbucket: CephaluS, GitHub: CephaluS).


  • edited description

@magreenblatt
Copy link
Collaborator Author

Original comment by John Orr (Bitbucket: johnjosephorr, GitHub: johnjosephorr).


I was testing a cefsimple that I built against CEF76 on ARM64. It appears to crash with this command line and URL:

./cefsimple --url=http://youtube.com

I get the same basic crash and error message already reported here:

“Terminating renderer for bad IPC message, reason 216”

I wondered if this problem was reproducible with a more vanilla build of CEF, so I downloaded cef_binary_76.1.9+g2cf916e+chromium-76.0.3809.87_linux64_client.tar.gz from Spotify and retried this on x86-64 Ubuntu 18.04.02. I get the same exact problem.

[0812/145911.441468:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[0812/145911.521336:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[0812/145911.701516:INFO:CONSOLE(0)] "HTML Imports is deprecated and will be removed in M80, around February 2020. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.", source:  (0)
[0812/145912.124130:INFO:CONSOLE(0)] "Refused to display 'https://accounts.google.com/ServiceLogin?uilel=3&service=youtube&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dpassive%26next%3D%252Fsignin_passive%26hl%3Den&hl=en' in a frame because it set 'X-Frame-Options' to 'deny'.", source: https://www.youtube.com/ (0)
[0812/145912.134018:ERROR:bad_message.cc(27)] Terminating renderer for bad IPC message, reason 216
[0812/145922.629815:WARNING:cefsimple_linux.cc(17)] X error received: type 0, serial 470, error_code 3, request_code 2, minor_code 0
[0812/145922.630138:WARNING:cefsimple_linux.cc(17)] X error received: type 0, serial 471, error_code 3, request_code 2, minor_code 0
[0812/145922.630298:WARNING:cefsimple_linux.cc(17)] X error received: type 0, serial 472, error_code 3, request_code 2, minor_code 0
[0812/145922.634127:WARNING:x11_util.cc(1430)] X error received: serial 313, error_code 170 (GLXBadWindow), request_code 151, minor_code 32 (X_GLXDestroyWindow)
[0812/145922.634289:WARNING:x11_util.cc(1430)] X error received: serial 316, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0812/145922.653429:ERROR:browser_process_sub_thread.cc(203)] Waited 8 ms for network service

@magreenblatt
Copy link
Collaborator Author

Original comment by Akintoye Olorode (Bitbucket: aolorode).


Network service in Chromium 76+ may break existing use of LoadString & LoadUrl. It appears that these 2 methods now require a previously committed navigation to same origin in renderer.

@magreenblatt
Copy link
Collaborator Author

Original comment by Johnny Depp (Bitbucket: johnnydepp16).


Running into same issue with 3809 build of CEF, on linux. Passing --disable-features=NetworkService doesn’t help. Any updates on this issue?

@magreenblatt
Copy link
Collaborator Author

Duplicate of #2586.

@magreenblatt
Copy link
Collaborator Author

  • changed state from "new" to "duplicate"

@magreenblatt
Copy link
Collaborator Author

See new implementation in cefclient with issue #2586.

@magreenblatt
Copy link
Collaborator Author

Original comment by CephaluS (Bitbucket: CephaluS, GitHub: CephaluS).


The issue still persists using latest version cef_binary_77.1.18+g8e8d602+chromium-77.0.3865.120_windows64 despite being reported solved at #2586

@magreenblatt
Copy link
Collaborator Author

The fix is in v78 and newer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report Tests Related to tests
Projects
None yet
Development

No branches or pull requests

1 participant