偶爾 Gnome 桌面崩潰,[2175]:cr_parser_new_from_buf:斷言「a_buf && a_len」失敗,20.04.3 LTS

偶爾 Gnome 桌面崩潰,[2175]:cr_parser_new_from_buf:斷言「a_buf && a_len」失敗,20.04.3 LTS

使用 Nvidia GeForce RTX 3080 運行 Digital Storm 伺服器,桌面偶爾會崩潰或凍結。我們已經運行了 20.04.3 LTS、GNOME Shell 3.36.9 和 5.11.0-34-generic 核心的所有 apt 更新和升級。

日誌顯示:

Sep 28 13:45:43  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:45:43  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:45:43  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:45:43  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:45:43  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:45:43  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:45:43  gnome-shell[2175]: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Sep 28 13:45:43  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:45:43  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:46:53  /usr/lib/gdm3/gdm-x-session[2047]: (II) event20 - RH USB Gaming Mouse: SYN_DROPPED event - some input events have been lost.
Sep 28 13:46:53  rtkit-daemon[1231]: Supervising 5 threads of 3 processes of 2 users.
Sep 28 13:46:53  rtkit-daemon[1231]: Successfully made thread 18807 of process 1957 owned by '1001' RT at priority 5.
Sep 28 13:46:53  rtkit-daemon[1231]: Supervising 6 threads of 3 processes of 2 users.
Sep 28 13:47:00  dbus-daemon[1000]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.81' (uid=1001 pid=2175 comm="/usr/bin/gnome-shell " label="unconfined")
Sep 28 13:47:00  systemd[1]: Starting Fingerprint Authentication Daemon...
Sep 28 13:47:00  dbus-daemon[1000]: [system] Successfully activated service 'net.reactivated.Fprint'
Sep 28 13:47:00  systemd[1]: Started Fingerprint Authentication Daemon.
Sep 28 13:47:08  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:47:08  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:47:08  NetworkManager[1003]: <info>  [1632851228.7464] agent-manager: agent[de0546a1ee00c48c,:1.81/org.gnome.Shell.NetworkAgent/1001]: agent registered
Sep 28 13:47:08  dbus-daemon[1962]: [session uid=1001 pid=1962] Activating service name='org.freedesktop.FileManager1' requested by ':1.37' (uid=1001 pid=2175 comm="/usr/bin/gnome-shell " label="unconfined")
Sep 28 13:47:08  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:47:08  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:47:08  dbus-daemon[1962]: [session uid=1001 pid=1962] Activating service name='org.gnome.Nautilus' requested by ':1.37' (uid=1001 pid=2175 comm="/usr/bin/gnome-shell " label="unconfined")
Sep 28 13:47:08  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:47:08  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:47:08  dbus-daemon[1962]: [session uid=1001 pid=1962] Successfully activated service 'org.gnome.Nautilus'
Sep 28 13:47:08  org.gnome.Nautilus[18843]: Failed to register: Unable to acquire bus name 'org.gnome.Nautilus'
Sep 28 13:47:08  dbus-daemon[1962]: [session uid=1001 pid=1962] Successfully activated service 'org.freedesktop.FileManager1'
Sep 28 13:47:09  gnome-shell[2175]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
Sep 28 13:47:09  gnome-shell[2175]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Sep 28 13:47:09  gnome-shell[2175]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).

可能無關我還看到:

fwupd[19086]: ERROR:esys:src/tss2-esys/esys_context.c:69:Esys_Initialize() Initialize default tcti. ErrorCode (0x000a000a)

這聽起來類似,有相同的錯誤,但現在是 21.04。我們最近禁用了冬眠功能,或者至少我們認為我們做到了。

sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target

● sleep.target
     Loaded: masked (Reason: Unit sleep.target is masked.)
     Active: inactive (dead)

● suspend.target - Suspend
     Loaded: loaded (/lib/systemd/system/suspend.target; static; vendor preset: enabled)
     Active: inactive (dead)
       Docs: man:systemd.special(7)

● hibernate.target
     Loaded: masked (Reason: Unit hibernate.target is masked.)
     Active: inactive (dead)

● hybrid-sleep.target
     Loaded: masked (Reason: Unit hybrid-sleep.target is masked.)
     Active: inactive (dead)

答案1

事實證明,這些消息有點轉移注意力。儘管 GDM 可能仍然存在問題,但真正的問題是至少有一個記憶體模組損壞,這就是導致凍結的原因。更煩人的是我們無法運行 Memtest86,因為系統需要工作記憶體晶片才能引導到 USB/DVD!

相關內容