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

Linux: 100% CPU when using external-message-pump with Version 84+ #3002

Open
magreenblatt opened this issue Aug 19, 2020 · 5 comments
Open
Labels
bug Bug report Framework Related to framework code or APIs linux Linux platform

Comments

@magreenblatt
Copy link
Collaborator

Original report by Stephan Engelmann (Bitbucket: Stephan Engelmann).


This issue is related to Issue #2809. I already reported my findings there, but was unsure if it was the right place, as the ticket was already closed.

We tested the fix using the CEF Automated build cef_binary_84.4.1+gfdc7504+chromium-84.0.4147.105_linux64.tar.bz2.

After building the test applications and starting the cefclient application with the external message pump flag one core is always using 100% CPU.

./cefclient --external-message-loop


@magreenblatt
Copy link
Collaborator Author

Original changes by Stephan Engelmann (Bitbucket: Stephan Engelmann).


  • edited description

1 similar comment
@magreenblatt
Copy link
Collaborator Author

Original changes by Stephan Engelmann (Bitbucket: Stephan Engelmann).


  • edited description

@magreenblatt
Copy link
Collaborator Author

Original comment by Stephan Engelmann (Bitbucket: Stephan Engelmann).


I removed a lot of possibly not relevant information from the ticket.

@magreenblatt
Copy link
Collaborator Author

Original comment by Salvador Diaz Fau (Bitbucket: salvadordf, GitHub: salvadordf).


We also detected this issue using CEF4Delphi demos in Linux with CEF 88.1.6

@magreenblatt
Copy link
Collaborator Author

Original comment by Salvador Diaz Fau (Bitbucket: salvadordf, GitHub: salvadordf).


I just tested this issue with the latest cefclient again (CEF 88.2.8) and I can reproduce it only when I execute this command :

./cefclient --multi-threaded-message-loop

If I remove the multi-threaded-message-loop switch then cefclient works perfectly and no core is used at 100%

Edit: fixed the command that reproduces this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report Framework Related to framework code or APIs linux Linux platform
Projects
None yet
Development

No branches or pull requests

1 participant