Ubuntu 18.04
我最近发现从 shell 运行时(从菜单->进程运行刚退出)chrome 和 chromium 都会返回以下错误:
Segmentation fault (core dumped)
ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
我已尝试过:
sudo apt-get purge google-chrome-stable
sudo apt-get purge chromium-browser
sudo apt-get autoremove
rm -rf ~/.config/google-chrome
#download chrome then
sudo dpkg -i google-chrome-stable_current_amd64.deb
#then try again
google-chrome
#get same error as above
然后我尝试:
apport-bug google-chrome --save chrome_bug_report.txt
并出现以下对话框:
Problem in google-chrome, the problem cannot be reported, this report is about a package that is not installed
尝试过
strace google-chrome-stable
抛出错误:
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x4} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault
最后检查尝试以 root 身份运行:
sudo google-chrome --no-sandbox
[0924/200911.107145:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
注意我通过 Xvnc 连接到机器
有什么想法可以尝试吗?
答案1
您可以使用以下解决方法:
sudo google-chrome --no-sandbox
在新的 Windows 11 笔记本电脑上通过 VMware Workstation 16 运行 kali-linux-2018.4-amd64.iso 时也出现同样的问题。
通过从收藏夹菜单中选择图标,Chrome 根本无法打开,但是输入上述命令后它确实打开了(尽管出现 naCl_helper 错误)。