打开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)
我删除了重复的行。实际上,当我将Ubuntu 18.04升级到20.04,并将chrome更新到最新版本时,就会出现这种情况。我不知道问题出在哪里。我搜索了这些输出,但似乎没有人有类似的问题。
顺便说一下,在升级之后,vscode有时会像chrome一样死机。我不知道有没有什么关系...
发布于 2021-10-06 05:13:23
你想做什么?这些错误显示在哪里?如果您正在使用Selenium,并且在控制台中得到这些错误,那么将这些选项添加到您的Selenium代码中-
options = webdriver.ChromeOptions()
options.add_experimental_option('excludeSwitches', ['enable-logging'])
driver = webdriver.Chrome(options=options)
https://stackoverflow.com/questions/69370457
复制相似问题