![如何找出哪个应用程序有问题](https://linux22.com/image/1164583/%E5%A6%82%E4%BD%95%E6%89%BE%E5%87%BA%E5%93%AA%E4%B8%AA%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%9C%89%E9%97%AE%E9%A2%98.png)
有几天,每次我启动 Ubuntu(18.04)时,都会收到一个警报窗口,声称系统程序出现了问题,而我唯一能选择的选项是发送通知或关闭警报。
由于不知道哪个应用程序出现了问题,而且我根本不是 Linux 专家,所以我想知道是否有办法找出哪个应用程序出现了问题,以便尝试以某种方式解决问题。
谢谢大家
编辑
所以,我尝试查看,/var/crash/
但那里只有两个元素,而且都是三天前的,所以我认为与日常问题无关。所以我按照建议尝试了日志选项,但由于我无知无比,结果对我来说毫无意义。我在这里发布了其中的一部分,我认为这部分与时间码有关,希望有人能理解并向我解释。
mar 14 08:55:03 ezabba-Aspire kernel: tpm_crb MSFT0101:00: can't request region for resour
mar 14 08:55:03 ezabba-Aspire kernel: Problem loading UEFI:db X.509 certificate (-65)
mar 14 08:55:03 ezabba-Aspire kernel: Problem loading UEFI:db X.509 certificate (-65)
mar 14 08:55:03 ezabba-Aspire kernel: Couldn't get size: 0x800000000000000e
mar 14 08:55:31 ezabba-Aspire kernel: dell_smbios: Unable to run on non-Dell system
mar 14 08:55:31 ezabba-Aspire kernel: [drm:construct [amdgpu]] *ERROR* construct: Invalid
mar 14 08:55:31 ezabba-Aspire kernel: [drm:hwss_wait_for_blank_complete [amdgpu]] *ERROR*
mar 14 08:55:31 ezabba-Aspire kernel: kfd kfd: error getting iommu info. is the iommu enab
mar 14 08:55:31 ezabba-Aspire kernel: kfd kfd: Error initializing iommuv2 for device 1002:
mar 14 08:55:31 ezabba-Aspire kernel: kfd kfd: device 1002:9874 NOT added due to errors
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leaka
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leaka
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leaka
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leaka
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leaka
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leaka
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leaka
mar 14 08:55:31 ezabba-Aspire kernel: [drm:dc_create [amdgpu]] *ERROR* DC: Number of conne
mar 14 08:55:29 ezabba-Aspire systemd-backlight[815]: Failed to get backlight or LED devic
mar 14 08:55:29 ezabba-Aspire systemd-backlight[817]: Failed to get backlight or LED devic
mar 14 08:55:29 ezabba-Aspire systemd[1]: Failed to start Load/Save Screen Backlight Brigh
mar 14 08:55:29 ezabba-Aspire systemd[1]: Failed to start Load/Save Screen Backlight Brigh
mar 14 08:55:40 ezabba-Aspire bluetoothd[993]: Loading LTKs timed out for hci0
mar 14 08:55:48 ezabba-Aspire wpa_supplicant[1027]: dbus: wpa_dbus_get_object_properties:
mar 14 08:55:48 ezabba-Aspire wpa_supplicant[1027]: dbus: Failed to construct signal
mar 14 08:56:15 ezabba-Aspire spice-vdagent[1517]: Cannot access vdagent virtio channel /d
mar 14 08:57:19 ezabba-Aspire pulseaudio[1918]: [pulseaudio] backend-ofono.c: Failed to re
mar 14 08:57:25 ezabba-Aspire spice-vdagent[2035]: Cannot access vdagent virtio channel /d
lines 1-29...skipping...
-- Logs begin at Sat 2018-11-10 14:10:14 CET, end at Thu 2019-03-14 23:39:02 CET. --
mar 14 08:55:03 ezabba-Aspire kernel: tpm_crb MSFT0101:00: can't request region for resource [mem 0xbfbba000-0xbfbbdfff]
mar 14 08:55:03 ezabba-Aspire kernel: Problem loading UEFI:db X.509 certificate (-65)
mar 14 08:55:03 ezabba-Aspire kernel: Problem loading UEFI:db X.509 certificate (-65)
mar 14 08:55:03 ezabba-Aspire kernel: Couldn't get size: 0x800000000000000e
mar 14 08:55:31 ezabba-Aspire kernel: dell_smbios: Unable to run on non-Dell system
mar 14 08:55:31 ezabba-Aspire kernel: [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:2!
mar 14 08:55:31 ezabba-Aspire kernel: [drm:hwss_wait_for_blank_complete [amdgpu]] *ERROR* DC: failed to blank crtc!
mar 14 08:55:31 ezabba-Aspire kernel: kfd kfd: error getting iommu info. is the iommu enabled?
mar 14 08:55:31 ezabba-Aspire kernel: kfd kfd: Error initializing iommuv2 for device 1002:9874
mar 14 08:55:31 ezabba-Aspire kernel: kfd kfd: device 1002:9874 NOT added due to errors
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched
mar 14 08:55:31 ezabba-Aspire kernel: amdgpu: [powerplay] Voltage value looks like a Leakage ID but it's not patched
mar 14 08:55:31 ezabba-Aspire kernel: [drm:dc_create [amdgpu]] *ERROR* DC: Number of connectors is zero!
mar 14 08:55:29 ezabba-Aspire systemd-backlight[815]: Failed to get backlight or LED device 'backlight:acpi_video1': No such device
mar 14 08:55:29 ezabba-Aspire systemd-backlight[817]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
mar 14 08:55:29 ezabba-Aspire systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video1.
mar 14 08:55:29 ezabba-Aspire systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
mar 14 08:55:40 ezabba-Aspire bluetoothd[993]: Loading LTKs timed out for hci0
mar 14 08:55:48 ezabba-Aspire wpa_supplicant[1027]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
mar 14 08:55:48 ezabba-Aspire wpa_supplicant[1027]: dbus: Failed to construct signal
mar 14 08:56:15 ezabba-Aspire spice-vdagent[1517]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
mar 14 08:57:19 ezabba-Aspire pulseaudio[1918]: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.o
mar 14 08:57:25 ezabba-Aspire spice-vdagent[2035]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
mar 14 08:57:46 ezabba-Aspire gnome-session-binary[1390]: Unrecoverable failure in required component org.gnome.SettingsDaemon.Color.desktop
mar 14 08:57:46 ezabba-Aspire gnome-session-binary[1390]: CRITICAL: We failed, but the fail whale is dead. Sorry....
答案1
ubuntu 崩溃报告存储在 /var/crash 中。
您可以执行“ls -l /var/crash/”来获取错误报告列表。
记下最新情况并查看是否可以解决该应用程序遇到的任何问题。