Ubuntu 16.04 启动时 Chromium 立即关闭

Ubuntu 16.04 启动时 Chromium 立即关闭

我尝试了其他帖子中的建议,但都不起作用。Chromium 立即从启动器和命令行关闭。我彻底删除了 Chromium 并重新安装。Firefox 运行良好。尝试了以下方法:

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

我已使用 Ubuntu 软件更新程序重新安装多次。

当我从命令行启动时,我得到的结果如下:

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 并显示“删除”而不是“安装”。如果我选​​择“删除”,它会删除其中一个 Chromium,但不会删除所有 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 运行良好,我已经完全删除了 chromium。我认为这件事已经结束了。感谢 Alex O. 我一登录 Chromium 就崩溃了

答案1

太令人惊讶了!这似乎是最新的 Cast “修复”。媒体路由器扩展在 59 中默认启用,现在当您手动启用它时,它会像 58 一样崩溃。

使用以下命令启动 Chrome:

chromium-browser --disable-extensions

导航到 chrome://flags,搜索“媒体路由器”并将其设置为已禁用。

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

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

答案2

1)使用以下命令在命令行上启动 Chromium:

chromium-browser --disable-extensions

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

chrome://flags

3)Ctrl-F并搜索“媒体路由器",然后将其设置为"已禁用“。

来源: Ubuntu Bug 1702407 | 评论 19

答案3

这不是一个真正的解决方案,但如果你可以不使用扩展,

chromium-browser --disable-extensions

已经阻止了铬崩溃。

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

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

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

Chromium 59.0.3071.109 基于 Ubuntu 构建,在 Ubuntu 16.04 上运行

答案4

/usr/lib/chromium-browser 中发生了一些变化

将文件从备份复制到该目录后浏览器再次正常工作。

如果再次发生,我会发布哪些文件被更改或被删除。

相关内容