首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Google Chrome总是在打开页面后崩溃

Google Chrome总是在打开页面后崩溃
EN

Stack Overflow用户
提问于 2021-09-29 04:34:29
回答 1查看 7.3K关注 0票数 1

打开google-chrome并启动任何页面都会导致“冻结”。当使用终端启动时,会显示一些错误:

代码语言:javascript
运行
复制
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一样死机。我不知道有没有什么关系...

EN

回答 1

Stack Overflow用户

发布于 2021-10-06 05:13:23

你想做什么?这些错误显示在哪里?如果您正在使用Selenium,并且在控制台中得到这些错误,那么将这些选项添加到您的Selenium代码中-

代码语言:javascript
运行
复制
options = webdriver.ChromeOptions()
options.add_experimental_option('excludeSwitches', ['enable-logging'])
driver = webdriver.Chrome(options=options)
票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69370457

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档