当前位置: 首页>>技术教程>>正文


Ubuntu 16.04 启动后 Chromium 立即关闭

,

问题描述

我尝试了其他线程的建议,但没有任何效果。 Chromium 会立即从启动器和命令行关闭。我已彻底删除 Chromium 并重新安装。火狐浏览器运行良好。尝试了以下方法:

sudo apt-get remove chromium --purge
rm -rf ~/.config/chromium
rm -rf ~/.cache/chromium
sudo rm -rf /etc/chromium

我已经使用 Ubuntu Software Updater 重新安装了好几次。

当我从命令行启动时,我得到的是:

chromium-browser --password-store=basic
Received signal 11 SEGV_MAPERR 000000000010
#0 0x7f85710a8425 base::debug::StackTrace::StackTrace()
#1 0x7f85710a880b <unknown>
#2 0x7f85713d3390 <unknown>
#3 0x557a2f3badc8 <unknown>
#4 0x557a2f3bd656 <unknown>
#5 0x557a2f3bddf9 <unknown>
#6 0x557a2f3be143 <unknown>
#7 0x7f8571123821 <unknown>
#8 0x7f85710a9eea base::debug::TaskAnnotator::RunTask()
#9 0x7f85710d2e90 base::MessageLoop::RunTask()
#10 0x7f85710d497d base::MessageLoop::DeferOrRunPendingTask()
#11 0x7f85710d583d <unknown>
#12 0x7f85710d6300 base::MessagePumpLibevent::Run()
#13 0x7f85710d1f15 base::MessageLoop::RunHandler()
#14 0x7f85710fc628 base::RunLoop::Run()
#15 0x7f8571128e36 base::Thread::ThreadMain()
#16 0x7f8571123726 <unknown>
#17 0x7f85713c96ba start_thread
#18 0x7f855aa783dd clone
r8: 000000000000002e  r9: 0000557a30e116ec r10: 0000000000000000 r11: 00007f855ab05f50
r12: 00007f84c9ff8ff0 r13: 0000000000000008 r14: 0000000000000008 r15: 00007f84c9ff8eb0
di: 0000000000000000  si: 00007f84c9ff8eb0  bp: 00007f84c9ff8f00  bx: 00007f84c9ff8eb0
dx: 0000000000000065  ax: 0000000000000000  cx: 0000557a33308720  sp: 00007f84c9ff8e60
ip: 0000557a2f3badc8 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000004
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000010
[end of stack trace]
Calling _exit(1). Core file will not be generated.

但是当我使用 Ubuntu 软件更新程序时,该应用程序允许我安装第二个 Chromium、第三个 Chromium 或更多。有时更新程序会看到现有的 Chromium,并显示 “Remove” 而不是 “Install.” 如果我选择 “Remove,”,它将删除其中一个 Chromium,但不会删除全部。尝试从命令行删除它们没有效果:

sudo apt-get remove chromium --purge
[sudo] password for karen: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'chromium' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libmircommon5 linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-headers-4.4.0-63
linux-headers-4.4.0-63-generic linux-headers-4.4.0-64
linux-headers-4.4.0-64-generic linux-headers-4.4.0-66
linux-headers-4.4.0-66-generic linux-headers-4.4.0-70
linux-headers-4.4.0-70-generic linux-headers-4.4.0-71
linux-headers-4.4.0-71-generic linux-headers-4.4.0-72
linux-headers-4.4.0-72-generic linux-headers-4.4.0-75
linux-headers-4.4.0-75-generic linux-headers-4.4.0-78
linux-headers-4.4.0-78-generic linux-image-4.4.0-31-generic
linux-image-4.4.0-62-generic linux-image-4.4.0-63-generic
linux-image-4.4.0-64-generic linux-image-4.4.0-66-generic
linux-image-4.4.0-70-generic linux-image-4.4.0-71-generic
linux-image-4.4.0-72-generic linux-image-4.4.0-75-generic
linux-image-4.4.0-78-generic linux-image-extra-4.4.0-31-generic
linux-image-extra-4.4.0-59-generic linux-image-extra-4.4.0-62-generic
linux-image-extra-4.4.0-63-generic linux-image-extra-4.4.0-64-generic
linux-image-extra-4.4.0-66-generic linux-image-extra-4.4.0-70-generic
linux-image-extra-4.4.0-71-generic linux-image-extra-4.4.0-72-generic
linux-image-extra-4.4.0-75-generic linux-image-extra-4.4.0-78-generic
linux-signed-image-4.4.0-59-generic linux-signed-image-4.4.0-62-generic
linux-signed-image-4.4.0-63-generic linux-signed-image-4.4.0-64-generic
linux-signed-image-4.4.0-66-generic linux-signed-image-4.4.0-70-generic
linux-signed-image-4.4.0-71-generic linux-signed-image-4.4.0-72-generic
linux-signed-image-4.4.0-75-generic linux-signed-image-4.4.0-78-generic
snap-confine torsocks ubuntu-core-launcher
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

现在我有三个 Chromium Launcher 图标,它们会在立即关闭之前闪烁 Chromium。

结果令人困惑,因为有时我能够使用其中一个 Chromium 来获取 Google 登录信息。当我登录时,Chromium 立即关闭。

以访客身份登录会产生相同的结果。另外,这是 fsdk 的输出:

sudo fsck -n fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) 
Warning! /dev/sda8 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. /dev/sda8: clean, 654869/57204736 files, 7153620/228803072 blocks fsck.fat 3.0.28 (2015-05-16) 
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. Automatically removing dirty bit. Leaving filesystem unchanged. /dev/sda1: 198 files, 8082/65536 clusters

唯一阻止 Chromium 折叠的是下面给出的答案

chromium-browser --disable-extensions

同一天有一篇相同的帖子,一个答案是使用 chrome 而不是 chromium。 Chrome 工作正常,我已经完全删除了 chrome。我认为这件事已经结束了。感谢 Alex O. \n Chromium crashes as soon as I log in

最佳回答

惊喜,惊喜!似乎是最新的演员 “fix.” 媒体路由器扩展默认为 59 启用,现在它像 58 那样崩溃,当您手动启用它时。

启动 chrome:

chromium-browser --disable-extensions

导航到 chrome://flags,搜索 “media router” 并将其设置为禁用。

错误报告位于 https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1702407

现在,错误报告中链接的测试包似乎可以解决该问题。尝试一下并报告你的结果。

次佳回答

1) 在命令行上启动 Chromium:

chromium-browser --disable-extensions

2) 在 Chromium 的地址栏中输入:

chrome://flags

3) 按ctrl-F,搜索”media router”,然后将其设置为”Disabled”。

来源:Ubuntu Bug 1702407 | Comment 19

第三种回答

这不是一个真正的解决方案,但如果你可以在没有扩展的情况下生活,

chromium-browser --disable-extensions

阻止了 chromium 对我的崩溃。

如果您想关闭生成 Chromium 进程的终端而不关闭 Chromium,请使用:

nohup chromium-browser --disable-extensions <&- >&- 2>&- &

编辑:这也是我今天开始的。

\\n

Chromium 59.0.3071.109 Built on Ubuntu , running on Ubuntu 16.04

\\n

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/14005.html,未经允许,请勿转载。