编辑于 14/3 晚上 10 点 我一直在尝试查看是否是 docker 导致的,因为我运行了很多东西,而且它是唯一触发崩溃的进程。我尝试重新安装并清除它
docker system prune -a --volumes
sudo apt-get install --reinstall docker.io
sudo curl -L ttps://github.com/docker/compose/releases/download/1.22.0/docker-compose-uname -s-uname -m -o /usr/local/bin/docker-compose
但错误仍然发生。以下是一次崩溃的 Kern.loghttps://pastebin.com/jZDBa5gb
Memtest86 运行完毕,结果正常。sudo dmidecode -t 1,2:
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 20217
Version: Lenovo IdeaPad Y510P
Serial Number: 1018244601447
UUID: 8CB2CD8D-02A5-E311-9302-28D244654B6E
Wake-up Type: Power Switch
SKU Number: LENOVO_BI_IDEAPAD
Family: IDEAPAD
Handle 0x0002, DMI type 2, 16 bytes
Base Board Information
Manufacturer: LENOVO
Product Name: VIQY0Y1
Version: 31900058STD
Serial Number: YB02487327
Asset Tag: No Asset Tag
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Type2 - Board Chassis Location
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
编辑于 13/3 上午 11 点
我可以通过在分离模式下启动 docker-compose 中的某个容器(在后台运行容器)来始终重现此错误。我有其他不会导致该错误的项目。
还请注意,如果可能相关,在所有会话崩溃和几次重启的某个时刻,我的锁屏现在也再次正确加载了。我没有尝试修复这个问题,也没有亲自做任何我期望改变它的事情。后来我发现了这个问题,它显示了我看到的登录信息(尽管 gnome 灰色的登录信息有黑色背景)Ubuntu 16.04 上奇怪的锁屏
原始问题
我很快就看到了我认为是 fsck 运行的内容,显示干净,然后我需要登录到新会话,丢失之前所做的一切。我不确定该看什么来解决这个问题。
如果我让机器连续几天开机,这种情况会更常见,但这可能是我的错觉。最近一次会话丢失,我上次重新启动时显示是 2 天前。
reboot system boot 4.15.0-88-generi Tue Mar 10 22:33 still running
我在通过 USB SSD 运行 Ubuntu 16.04。
我最近第一次更新了 chrome(我是 linux 新手),我丢失了好看的锁屏,我猜是 lightDM 在更新时搞砸了,我并不担心,但可能与此有关。它弹出关于 GRUB 的提示,我说没有变化或类似情况,然后安装继续。Chrome 现在是最新的,可以正常工作。安装 chrome 的 Bash 历史记录:
sudo apt-get update
apt list --installed | grep 'chrome'
sudo apt-get upgrade google-chrome-stable
我的笔记本电脑上的蓝牙已关闭,我刚刚收到此错误(在日志中查看)但我的桌面上有一个无线鼠标。
sudo less /var/log/syslog(详细但希望我已经发现了其中的问题):
Mar 12 22:22:08 maude dbus[819]: [system] Activating via systemd: service name=
'org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service'
Mar 12 22:22:08 maude systemd[1]: Starting Locale Service...
Mar 12 22:22:08 maude gnome-session-binary[25678]: Entering running state
Mar 12 22:22:08 maude gnome-session[25678]: (process:25999): indicator-applicat
ion-service-WARNING **: Unable to get watcher name 'org.kde.StatusNotifierWatche
r'
Mar 12 22:22:08 maude gnome-session[25678]: (process:25999): indicator-applicat
ion-service-WARNING **: Name Lost
Mar 12 22:22:08 maude gnome-session[25678]: (nautilus:25989): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
Mar 12 22:22:08 maude gnome-session[25678]: (nautilus:25989): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
Mar 12 22:22:08 maude gnome-session[25678]: (nautilus:25989): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Mar 12 22:22:08 maude gnome-session[25678]: (nautilus:25989): GLib-GObject-WARNING **: invalid (NULL) pointer instance
Mar 12 22:22:08 maude gnome-session[25678]: (nautilus:25989): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Mar 12 22:22:08 maude gnome-session[25678]: (nautilus:25989): GLib-GObject-CRIT
ICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' f
ailed
Mar 12 22:22:08 maude systemd[1]: Starting Snappy daemon...
Mar 12 22:22:08 maude snapd[26012]: AppArmor status: apparmor is enabled and al
l features are available
Mar 12 22:22:08 maude snapd[26012]: daemon.go:338: started snapd/2.40 (series 1
6; classic) ubuntu/16.04 (amd64) linux/4.15.0-88-generic.
Mar 12 22:22:08 maude systemd[1]: Started Snappy daemon.
Mar 12 22:22:09 maude dbus[819]: [system] Successfully activated service 'org.f
reedesktop.locale1'
Mar 12 22:22:09 maude systemd[1]: Started Locale Service.
Mar 12 22:22:13 maude snapd[26012]: daemon.go:576: gracefully waiting for runni
ng hooks
Mar 12 22:22:13 maude snapd[26012]: daemon.go:578: done waiting for running hoo
ks
Mar 12 22:22:13 maude snapd[26012]: daemon stop requested to wait for socket ac
tivation
Mar 12 22:22:15 maude rtkit-daemon[1278]: Supervising 8 threads of 2 processes
of 2 users.
Mar 12 22:22:15 maude rtkit-daemon[1278]: message repeated 3 times: [ Supervisi
ng 8 threads of 2 processes of 2 users.]
Mar 12 22:22:15 maude rtkit-daemon[1278]: Successfully made thread 26204 of pro
cess 26128 (n/a) owned by '1001' RT at priority 10.
Mar 12 22:22:15 maude rtkit-daemon[1278]: Supervising 9 threads of 3 processes
of 2 users.
Mar 12 22:22:17 maude rtkit-daemon[1278]: message repeated 12 times: [ Supervis
ing 9 threads of 3 processes of 2 users.]
Mar 12 22:22:17 maude rtkit-daemon[1278]: Successfully made thread 26373 of pro
cess 26183 (n/a) owned by '1001' RT at priority 10.
Mar 12 22:22:17 maude rtkit-daemon[1278]: Supervising 10 threads of 4 processes
of 2 users.
Mar 12 22:22:19 maude gnome-session[25678]: (gnome-software:26000): As-WARNING
**: failed to rescan: Failed to parse /home/adam/.local/share/applications/mimea
pps.list.new file: cannot process file of type text/plain
Mar 12 22:22:19 maude gnome-session[25678]: (gnome-software:26000): As-WARNING
**: failed to rescan: Failed to parse /home/adam/.local/share/applications/mimea
pps.list file: cannot process file of type text/plain
Mar 12 22:22:19 maude gnome-session[25678]: (gnome-software:26000): As-WARNING
**: failed to rescan: Failed to parse /home/adam/.local/share/applications/mimea
pps.list.new file: cannot process file of type text/plain
Mar 12 22:22:19 maude gnome-session[25678]: (gnome-software:26000): As-WARNING
**: failed to rescan: Failed to parse /home/adam/.local/share/applications/mimea
pps.list file: cannot process file of type text/plain
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.504965:ERROR:main_dele
gate.cc(853)] Could not load cef_100_percent.pak
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.508653:ERROR:main_dele
gate.cc(862)] Could not load cef_200_percent.pak
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.541148:INFO:HandlerRen
dererProcess.cpp(6)] HandlerRendererProcess created
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.545022:ERROR:main_dele
gate.cc(853)] Could not load cef_100_percent.pak
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.545095:ERROR:main_dele
gate.cc(862)] Could not load cef_200_percent.pak
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.772297:INFO:HandlerRen
dererProcess.cpp(6)] HandlerRendererProcess created
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.774384:ERROR:main_dele
gate.cc(853)] Could not load cef_100_percent.pak
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.774444:ERROR:main_dele
gate.cc(862)] Could not load cef_200_percent.pak
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.822769:ERROR:gl_implem
entation.cc(280)] Failed to load /tmp/.mount_jetbraIeq6Xx/usr/share/jetbrains-to
olbox/swiftshader/libGLESv2.so: /tmp/.mount_jetbraIeq6Xx/usr/share/jetbrains-too
lbox/swiftshader/libGLESv2.so: cannot open shared object file: No such file or d
irectory
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.853511:ERROR:viz_main_
impl.cc(170)] Exiting GPU process due to errors during initialization
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.868778:INFO:HandlerRen
dererProcess.cpp(10)] HandlerRendererProcess disposed
Mar 12 22:22:19 maude gnome-session[25678]: [0312/222219.870671:WARNING:gpu_pro
cess_host.cc(1205)] The GPU process has crashed 1 time(s)
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.204970:INFO:HandlerRen
dererProcess.cpp(15)] Started CEF-render process
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.373413:INFO:HandlerRen
dererProcess.cpp(6)] HandlerRendererProcess created
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.380080:ERROR:main_dele
gate.cc(853)] Could not load cef_100_percent.pak
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.380159:ERROR:main_dele
gate.cc(862)] Could not load cef_200_percent.pak
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.384810:WARNING:gpu_pro
cess_host.cc(982)] Reinitialized the GPU process after a crash. The reported ini
tialization time was 0 ms
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.716879:INFO:CONSOLE(66
)] "Updated model size: 320041", source: qrc://ui/index.js (66)
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.741085:INFO:CONSOLE(66
)] "Initial model size: 320006", source: qrc://ui/index.js (66)
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.760034:INFO:CONSOLE(29
)] "`size`, `width` and `height` props are not recommended to use in Ring UI `Ic
on` component. The intrinsic sizes of SVG icon (`width` and `height` SVG attribu
tes) are used instead.
Mar 12 22:22:20 maude gnome-session[25678]: We strongly recommend to use icons
handcrafted for particular sizes. If your icon doesn't exist in the desired size
, please ask your designer to draw one. "Responsive" checkmark should be uncheck
ed when exporting icon.'", source: qrc://ui/index.js (29)
Mar 12 22:22:20 maude gnome-session[25678]: [0312/222220.925341:INFO:CONSOLE(66
)] "Updated model size: 475149", source: qrc://ui/index.js (66)
Mar 12 22:22:24 maude bluetoothd[1233]: Endpoint unregistered: sender=:1.607 pa
th=/MediaEndpoint/A2DPSource
Mar 12 22:22:24 maude bluetoothd[1233]: Endpoint unregistered: sender=:1.607 pa
th=/MediaEndpoint/A2DPSink
Mar 12 22:22:24 maude systemd[1]: Stopping User Manager for UID 108...
Mar 12 22:22:24 maude systemd[24282]: Reached target Shutdown.
Mar 12 22:22:24 maude systemd[24282]: Starting Exit the Session...
Mar 12 22:22:24 maude systemd[24282]: Stopped target Default.
Mar 12 22:22:24 maude systemd[24282]: Stopped target Basic System.
Mar 12 22:22:24 maude systemd[24282]: Stopped target Timers.
Mar 12 22:22:24 maude systemd[24282]: Stopped target Paths.
Mar 12 22:22:24 maude systemd[24282]: Stopped target Sockets.
Mar 12 22:22:24 maude systemd[24282]: Received SIGRTMIN+24 from PID 26498 (kill).
Mar 12 22:22:24 maude systemd[1]: Stopped User Manager for UID 108.
Mar 12 22:22:24 maude systemd[1]: Removed slice User Slice of lightdm.
Mar 12 22:22:28 maude org.gnome.zeitgeist.Engine[25520]: ** (zeitgeist-datahub:26540): WARNING **: zeitgeist-datahub.vala:229: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
在关机之前,我需要在 docker 中做一些工作,希望可以推迟这个错误的发生,但它又发生了:
2020-03-13 06:59:32 ~
$ free -h
total used free shared buff/cache available
Mem: 11G 1.6G 8.1G 72M 1.9G 9.5G
Swap: 7.9G 0B 7.9G
2020-03-13 06:59:43 ~
$ grep -i swap /etc/fstab
# swap was on /dev/sda5 during installation
UUID=79c1eda3-903c-4a32-8bc3-a40c90f86f7c none swap sw 0 0
答案1
通过查看您的日志并查看问题描述,很难确定任何一个原因。错误无处不在。
该系统看起来不像是普通的 16.04 系统,因为我看到了对 gnome-session 的引用,如果我没记错的话,它直到很晚的系统才出现。
在我推荐全新安装 Ubuntu 之前,让我们先检查一下几件事。
记忆
然后,转到https://www.memtest86.com/并下载/运行他们的免费记忆测试来测试你的记忆力。至少完成一次所有 4/4 测试以确认记忆力良好。这可能需要几个小时才能完成。
BIOS
让我们检查一下您的 BIOS 版本。执行sudo dmidecode -t 1,2
和sudo dmidecode -s bios-version
,并将该输出添加到您的问题中。告诉我您计算机的确切品牌/型号。
- 更新 #1:您拥有的版本是 74CN44WW (V3.05)。您的联想 IdeaPad Y510P 的最新 BIOS 是版本 74CN47WW (V3.08),可从以下网址下载这里。更新 BIOS 之前请对重要文件进行备份。