Google Chrome 仅显示白色网站,没有响应并且占用所有 CPU

Google Chrome 仅显示白色网站,没有响应并且占用所有 CPU

最近几天,我在使用 Google Chrome 时遇到了以下问题:

当我启动 chrome 时,它​​会打开正常窗口,但网页只是一个白页。我无法使用菜单打开设置,也无法在地址栏中使用 chrome://settings 打开设置。此外,chrome 占用了我所有的 CPU。

我在 XPS 13 - 9310 上运行 Ubuntu 22.04。

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy

我在一些页面上找到了该设置--enable-logging,并使用此标志启动了 chrome。它生成以下日志文​​件:

$ batcat -p .config/google-chrome/chrome_debug.log
[1367400:1367458:1030/093208.127999:WARNING:external_pref_loader.cc(300)] You are using an old-style extension deployment method (external_extensions.json), which will soon be deprecated. (see http://developer.chrome.com/extensions/external_extensions.html)
[1367400:1367400:1030/093208.164084:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[1367449:1367449:1030/093208.190008:WARNING:sandbox_linux.cc(380)] InitializeSandbox() called with multiple threads in process gpu-process.
[1367400:1367400:1030/093223.586917:WARNING:controller_impl.cc(1190)] Background download complete, client: 6, completion type: 0, file size:265060
[1367400:1367400:1030/093224.753407:WARNING:controller_impl.cc(1190)] Background download complete, client: 6, completion type: 0, file size:4951
[1367400:1367400:1030/093224.857765:WARNING:controller_impl.cc(1190)] Background download complete, client: 6, completion type: 0, file size:9419
[1367400:1367400:1030/093228.584823:WARNING:controller_impl.cc(1190)] Background download complete, client: 6, completion type: 0, file size:34864416
[1367400:1367400:1030/093408.850017:WARNING:pref_notifier_impl.cc(41)] Pref observer for media_router.cast_allow_all_ips found at shutdown.

Chrome 的版本是

google-chrome --version
Google Chrome 106.0.5249.119

在另一个页面上,我找到了标志--no-sandbox。当我使用此标志启动chrome时,它可以正常工作。

有没有办法在设置中永久设置此标志?使用标志时,我可以转到设置并看到它已被禁用。当我不使用该标志时,我无法打开设置来禁用它。

  • 有没有办法修复没有此标志运行时出现的问题?

相关内容