打开 google-chrome 并启动任何页面都会导致“冻结”。当启动终端时,它显示一些错误:
ERROR: gpu_process_host.cc(956)] GPU process exited unexpectedly: exit_code=139
ERROR: gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
ERROR: command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
ERROR: chrome_browser_main_extra_parts_metrics.cc(228)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
ERROR: chrome_browser_main_extra_parts_metrics.cc(231)] crbug.com/1216328: Checking Bluetooth availability ended.
ERROR: chrome_browser_main_extra_parts_metrics.cc(234)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
ERROR: chrome_browser_main_extra_parts_metrics.cc(238)] crbug.com/1216328: Checking default browser status ended.
ERROR: platform_thread_posix.cc(147)] pthread_create: Resource temporarily unavailable (11)
Run Code Online (Sandbox Code Playgroud)
我删除了重复的行。实际上,当我将Ubuntu 18.04升级到20.04,并将chrome更新到最新版本时,就会出现这种情况。我不知道出了什么问题。我搜索了这些输出,但似乎没有人有类似的问题。
顺便说一句,升级后,vscode 有时会像 Chrome 一样冻结。不知道有没有什么关系...
你想做什么?这些错误显示在哪里?如果您使用 Selenium 并且在控制台中收到这些错误,请将这些选项添加到您的 Selenium 代码中 -
options = webdriver.ChromeOptions()
options.add_experimental_option('excludeSwitches', ['enable-logging'])
driver = webdriver.Chrome(options=options)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11184 次 |
| 最近记录: |