为什么 Libreoffice 会导致我的整个系统崩溃?

为什么 Libreoffice 会导致我的整个系统崩溃?

我正在运行 Kubuntu 18.04.4 LTS。当我使用 Libreoffice(当前为 6.0.7.3)Writer 时,它经常导致我的整个系统崩溃。显示屏冻结约一分钟,之后我返回登录屏幕以开始新会话。我无法重现它,但我可以说它在我输入文本时总是发生,没什么奇怪的。

这是我/var/log/syslog重启系统之后的摘录:

Mar 26 10:20:55 t460s kernel: [ 4017.752650] [drm] GPU HANG: ecode 9:0:0x86dffffd, in Xorg [1213], reason: Hang on rcs0, action: reset
Mar 26 10:20:55 t460s kernel: [ 4017.752664] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Mar 26 10:20:59 t460s kernel: [ 4021.917063] asynchronous wait on fence i915:kwin_x11[1500]/1:af3e timed out
Mar 26 10:21:01 t460s kernel: [ 4024.327712] usb 1-3: USB disconnect, device number 3
Mar 26 10:21:01 t460s upowerd[1530]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C019.0003
Mar 26 10:21:01 t460s upowerd[1530]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0
Mar 26 10:21:01 t460s upowerd[1530]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
Mar 26 10:21:03 t460s kernel: [ 4025.725184] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Mar 26 10:21:11 t460s kernel: [ 4033.725157] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Mar 26 10:21:15 t460s kernel: [ 4037.801122] usb 1-3: new low-speed USB device number 8 using xhci_hcd
Mar 26 10:21:15 t460s kernel: [ 4037.956590] usb 1-3: New USB device found, idVendor=046d, idProduct=c019
Mar 26 10:21:15 t460s kernel: [ 4037.956600] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 26 10:21:15 t460s kernel: [ 4037.956606] usb 1-3: Product: USB Optical Mouse
Mar 26 10:21:15 t460s kernel: [ 4037.956612] usb 1-3: Manufacturer: Logitech
Mar 26 10:21:15 t460s kernel: [ 4037.960038] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C019.0004/input/input22
Mar 26 10:21:15 t460s kernel: [ 4038.017538] hid-generic 0003:046D:C019.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-3/input0
Mar 26 10:21:15 t460s mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3"
Mar 26 10:21:15 t460s mtp-probe: bus: 1, device: 8 was not an MTP device
Mar 26 10:21:15 t460s upowerd[1530]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C019.0004
Mar 26 10:21:15 t460s upowerd[1530]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0
Mar 26 10:21:15 t460s upowerd[1530]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
Mar 26 10:21:19 t460s kernel: [ 4041.757170] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Mar 26 10:21:31 t460s kernel: [ 4053.757186] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Mar 26 10:21:45 t460s kernel: [ 4067.741187] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Mar 26 10:22:01 t460s kernel: [ 4083.741187] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Mar 26 10:22:01 t460s kernel: [ 4084.457399] kauditd_printk_skb: 8 callbacks suppressed
Mar 26 10:22:01 t460s kernel: [ 4084.457401] audit: type=1400 audit(1585214521.816:1993): apparmor="ALLOWED" operation="unlink" profile="libreoffice-soffice//null-/usr/bin/kdeinit4" name="/run/user/1000/ksocket-jan/kdeinit4__0" pid=15441 comm="kdeinit4" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
Mar 26 10:22:01 t460s org.kde.ActivityManager[1370]: The X11 connection broke: I/O error (code 1)
Mar 26 10:22:01 t460s org.kde.ActivityManager[1370]: XIO:  fatal IO error 2 (Datei oder Verzeichnis nicht gefunden) on X server ":0"
Mar 26 10:22:01 t460s org.kde.ActivityManager[1370]:       after 1250 requests (1250 known processed) with 0 events remaining.
Mar 26 10:22:01 t460s org.kde.kuiserver[1370]: kuiserver: Fatal IO error: client killed
Mar 26 10:22:01 t460s org.kde.KScreen[1370]: The X11 connection broke: I/O error (code 1)
Mar 26 10:22:01 t460s org.kde.KScreen[1370]: XIO:  fatal IO error 0 (Erfolg) on X server ":0"
Mar 26 10:22:01 t460s org.kde.KScreen[1370]:       after 791 requests (791 known processed) with 0 events remaining.
Mar 26 10:22:01 t460s org.kde.kglobalaccel[1370]: The X11 connection broke: I/O error (code 1)
Mar 26 10:22:01 t460s org.kde.kglobalaccel[1370]: XIO:  fatal IO error 25 (Unpassender IOCTL (I/O-Control) für das Gerät) on X server ":0"
Mar 26 10:22:01 t460s org.kde.kglobalaccel[1370]:       after 1487 requests (1487 known processed) with 0 events remaining.
Mar 26 10:22:01 t460s org.kde.kwalletd5[1370]: The X11 connection broke: I/O error (code 1)
Mar 26 10:22:01 t460s org.kde.kwalletd5[1370]: XIO:  fatal IO error 25 (Unpassender IOCTL (I/O-Control) für das Gerät) on X server ":0"
Mar 26 10:22:01 t460s org.kde.kwalletd5[1370]:       after 789 requests (789 known processed) with 0 events remaining.
Mar 26 10:22:01 t460s dbus-daemon[1370]: [session uid=1000 pid=1370] Activating service name='org.kde.kglobalaccel' requested by ':1.17' (uid=1000 pid=1486 comm="/usr/bin/ksmserver " label="unconfined")
Mar 26 10:22:02 t460s kernel: [ 4085.137070] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
Mar 26 10:22:02 t460s org.kde.kglobalaccel[1370]: qt.qpa.screen: QXcbConnection: Could not connect to display :0
Mar 26 10:22:02 t460s org.kde.kglobalaccel[1370]: Could not connect to any X display.
Mar 26 10:22:02 t460s dbus-daemon[1370]: [session uid=1000 pid=1370] Activated service 'org.kde.kglobalaccel' failed: Process org.kde.kglobalaccel exited with status 1
Mar 26 10:22:02 t460s sddm[1185]: Display server stopped.
Mar 26 10:22:02 t460s sddm[1185]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Mar 26 10:22:02 t460s sddm[1185]: Removing display ":0" ...
Mar 26 10:22:02 t460s sddm[1185]: Adding new display on vt 1 ...
Mar 26 10:22:02 t460s sddm[1185]: Loading theme configuration from ""
Mar 26 10:22:02 t460s sddm[1185]: Display server starting...
Mar 26 10:22:02 t460s sddm[1185]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{ebcd8421-ec41-4952-8fae-c9ac0fee4c97} -background none -noreset -displayfd 20 -seat seat0 vt1
Mar 26 10:22:02 t460s sddm-helper[1317]: [PAM] Closing session
Mar 26 10:22:02 t460s sddm-helper[1317]: [PAM] Ended.
Mar 26 10:22:02 t460s org.kde.ActivityManager[1370]: Closing SQL connection:  "kactivities_db_resources_140647670131840_readwrite"

我不知道问题出在哪里。有人知道吗?

3月28日添加:

$ sudo dmidecode -s bios-version
N1CET37W (1.05)

$ sudo dmidecode -t 1,2
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x000F, DMI type 1, 27 bytes
System Information
        Manufacturer: LENOVO
        Product Name: 20FAS05P00
        Version: ThinkPad T460s
        Serial Number: PC0B704Z
        UUID: 1FBDB0CC-2928-11B2-A85C-E61EC0A73495
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_20FA_BU_Think_FM_ThinkPad T460s
        Family: ThinkPad T460s

Handle 0x0010, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: LENOVO
        Product Name: 20FAS05P00
        Version: Not Defined
        Serial Number: L1HF61S00XK
        Asset Tag: Not Available
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: Not Available
        Chassis Handle: 0x0000
        Type: Motherboard
        Contained Object Handles: 0

$ sudo lshw -C memory
  *-cache:0                 
      Beschreibung: L1 Cache
      Physische ID: 3
      Steckplatz: L1 Cache
      Größe: 64KiB
      Kapazität: 64KiB                                                                                                                                                                                                                                      
      Fähigkeiten: synchronous internal write-back data                                                                                                                                                                                                     
      Konfiguration: level=1                                                                                                                                                                                                                                
  *-cache:1                                                                                                                                                                                                                                                  
      Beschreibung: L1 Cache                                                                                                                                                                                                                                
      Physische ID: 4                                                                                                                                                                                                                                       
      Steckplatz: L1 Cache                                                                                                                                                                                                                                  
      Größe: 64KiB                                                                                                                                                                                                                                          
      Kapazität: 64KiB                                                                                                                                                                                                                                      
      Fähigkeiten: synchronous internal write-back instruction                                                                                                                                                                                              
      Konfiguration: level=1                                                                                                                                                                                                                                
  *-cache:2                                                                                                                                                                                                                                                  
      Beschreibung: L2 Cache                                                                                                                                                                                                                                
      Physische ID: 5                                                                                                                                                                                                                                       
      Steckplatz: L2 Cache                                                                                                                                                                                                                                  
      Größe: 512KiB                                                                                                                                                                                                                                         
      Kapazität: 512KiB                                                                                                                                                                                                                                     
      Fähigkeiten: synchronous internal write-back unified                                                                                                                                                                                                  
      Konfiguration: level=2                                                                                                                                                                                                                                
  *-cache:3                                                                                                                                                                                                                                                  
      Beschreibung: L3 Cache                                                                                                                                                                                                                                
      Physische ID: 6                                                                                                                                                                                                                                       
      Steckplatz: L3 Cache                                                                                                                                                                                                                                  
      Größe: 4MiB                                                                                                                                                                                                                                           
      Kapazität: 4MiB                                                                                                                                                                                                                                       
      Fähigkeiten: synchronous internal write-back unified                                                                                                                                                                                                  
      Konfiguration: level=3                                                                                                                                                                                                                                
  *-memory                                                                                                                                                                                                                                                   
      Beschreibung: Systemspeicher                                                                                                                                                                                                                          
      Physische ID: 8                                                                                                                                                                                                                                       
      Steckplatz: Systemplatine oder Hauptplatine                                                                                                                                                                                                           
      Größe: 20GiB                                                                                                                                                                                                                                          
    *-bank:0                                                                                                                                                                                                                                                
          Beschreibung: SODIMM DDR4 Synchron 2133 MHz (0,5 ns)                                                                                                                                                                                               
          Hersteller: 0000                                                                                                                                                                                                                                   
          Physische ID: 0
          Seriennummer: 00000000
          Steckplatz: ChannelA-DIMM0
          Größe: 4GiB
          Breite: 64 bits
          Takt: 2133MHz (0.5ns)
    *-bank:1
          Beschreibung: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-05-30 08:16+0000Last-Translator: Hendrik Knackstedt <Unknown>Language-Team: German <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-05-30 08:16+0000Last-Translator: Hendrik Knackstedt <Unknown>Language-Team: German <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719) [leer]
          Physische ID: 1
          Steckplatz: ChannelA-DIMM1
    *-bank:2
          Beschreibung: SODIMM DDR4 Synchron 2133 MHz (0,5 ns)
          Produkt: 9905663-008.A00G
          Hersteller: Kingston
          Physische ID: 2
          Seriennummer: 88184918
          Steckplatz: ChannelB-DIMM0
          Größe: 16GiB
          Breite: 64 bits
          Takt: 2133MHz (0.5ns)
    *-bank:3
          Beschreibung: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-05-30 08:16+0000Last-Translator: Hendrik Knackstedt <Unknown>Language-Team: German <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-05-30 08:16+0000Last-Translator: Hendrik Knackstedt <Unknown>Language-Team: German <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719) [leer]
          Physische ID: 3
          Steckplatz: ChannelB-DIMM1
  *-firmware
      Beschreibung: BIOS
      Hersteller: LENOVO
      Physische ID: e
      Version: N1CET37W (1.05 )
      date: 01/15/2016
      Größe: 128KiB
      Kapazität: 15MiB
      Fähigkeiten: pci pnp upgrade shadowing cdboot bootselect edd int13floppy720 int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification uefi
  *-memory UNGEFORDERT
      Beschreibung: Memory controller
      Produkt: Sunrise Point-LP PMC
      Hersteller: Intel Corporation
      Physische ID: 1f.2
      Bus-Informationen: pci@0000:00:1f.2
      Version: 21
      Breite: 32 bits
      Takt: 33MHz (30.3ns)
      Fähigkeiten: bus_master
      Konfiguration: latency=0
      Ressourcen: memory:f1244000-f1247fff

$ sysctl vm.swappiness
vm.swappiness = 60

答案1

您正在使用旧版本的 LibreOffice;这是最新动态

在此处输入图片描述

并且我建议(不知道问题的原因)按照以下 3 个步骤升级到最新版本,以防它能为您解决问题:

  1. 使用以下方式添加 LibreOffice PPAsudo add-apt-repository ppa:libreoffice/ppa

  2. 使用以下方式更新您的系统sudo apt update

  3. 升级或安装较新的 LibreOfficesudo apt install libreoffice

然后你就可以出发了。

答案2

我发现有两件事需要检查或更新......

记忆

您的内存数量很奇怪。查看后sudo lshw -C memory我发现您有一个 16G DIMM 和 4G(主板上)。RAM 大小不匹配意味着系统无法使用内存交错来最大化内存速度。假设您自己添加了一个 16G DIMM,我们应该运行内存测试。

笔记:计算机最大支持内存20G。

https://www.memtest86.com/并下载/运行他们的免费记忆测试来测试你的记忆力。至少完成一次所有 4/4 测试以确认记忆力良好。这可能需要几个小时才能完成。

BIOS

笔记:在执行 BIOS 更新之前备份重要文件

笔记:确认我拥有适合您计算机的正确网页

您有一个非常旧的 BIOS 版本 N1CET37W (1.05),发布于 2016 年。当前版本是 2019 年 12 月 12 日的 1.47。

此网页并下载适用于 Linux 的较新的 BIOS 更新。

答案3

您应该卸载libreoffice-kdelibreoffice 的 KDE 集成包。这将使您的 libreoffice 变得更丑陋但更稳定。

相关内容