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!

相关内容