我在使用 ubuntu 14.10 和 15.04 时遇到了问题。我突然随机退出了用户会话。
以下是一些日志信息:
内核日志
首次注销:
May 3 16:34:59 rm-work kernel: [28558.808129] traps: metacity[7712] trap int3 ip:7fe10cb50d00 sp:7ffdb4f06a00 error:0
May 3 16:34:59 rm-work gnome-session[7637]: Unrecoverable failure in required component metacity.desktop
May 3 16:35:12 rm-work gnome-session[30100]: Entering running state
第二次退出:
May 4 00:50:24 rm-work kernel: [54634.236474] traps: metacity[30179] trap int3 ip:7f68e3eddd00 sp:7ffc5e2b9d30 error:0
May 4 00:50:24 rm-work gnome-session[30100]: Unrecoverable failure in required component metacity.desktop
May 4 00:50:42 rm-work gnome-session[27957]: Entering running state
系统日志
首次登出:
May 3 16:34:59 rm-work gnome-session[7637]: Avertissement du gestionnaire de fenêtres : Log level 6: The program 'metacity' received an X Window System error.
May 3 16:34:59 rm-work gnome-session[7637]: This probably reflects a bug in the program.
May 3 16:34:59 rm-work gnome-session[7637]: The error was 'BadRegion (invalid Region parameter)'.
May 3 16:34:59 rm-work gnome-session[7637]: (Details: serial 63596288 error_code 140 request_code 138 (XFIXES) minor_code 12)
May 3 16:34:59 rm-work gnome-session[7637]: (Note to programmers: normally, X errors are reported asynchronously;
May 3 16:34:59 rm-work gnome-session[7637]: that is, you will receive the error a while after causing it.
May 3 16:34:59 rm-work gnome-session[7637]: To debug your program, run it with the GDK_SYNCHRONIZE environment
May 3 16:34:59 rm-work gnome-session[7637]: variable to change this behavior. You can then get a meaningful
May 3 16:34:59 rm-work gnome-session[7637]: backtrace from your debugger if you break on the gdk_x_error() function.)
May 3 16:34:59 rm-work kernel: [28558.808129] traps: metacity[7712] trap int3 ip:7fe10cb50d00 sp:7ffdb4f06a00 error:0
May 3 16:34:59 rm-work gnome-session[7637]: gnome-session[7637]: WARNING: Child process 7712 was already dead.
May 3 16:34:59 rm-work gnome-session[7637]: WARNING: Child process 7712 was already dead.
May 3 16:34:59 rm-work gnome-session[7637]: WARNING: Application 'metacity.desktop' killed by signal 5
May 3 16:34:59 rm-work gnome-session[7637]: WARNING: App 'metacity.desktop' respawning too quickly
May 3 16:34:59 rm-work gnome-session[7637]: gnome-session[7637]: WARNING: Application 'metacity.desktop' killed by signal 5
May 3 16:34:59 rm-work gnome-session[7637]: gnome-session[7637]: WARNING: App 'metacity.desktop' respawning too quickly
May 3 16:34:59 rm-work gnome-session[7637]: Unrecoverable failure in required component metacity.desktop
May 3 16:34:59 rm-work gnome-session[7637]: CRITICAL: We failed, but the fail whale is dead. Sorry....
May 3 16:34:59 rm-work gnome-session[7637]: gnome-session[7637]: CRITICAL: We failed, but the fail whale is dead. Sorry....
第二次退出:
May 4 00:50:24 rm-work gnome-session[30100]: Avertissement du gestionnaire de fenêtres : Log level 6: The program 'metacity' received an X Window System error.
May 4 00:50:24 rm-work gnome-session[30100]: This probably reflects a bug in the program.
May 4 00:50:24 rm-work gnome-session[30100]: The error was 'BadRegion (invalid Region parameter)'.
May 4 00:50:24 rm-work gnome-session[30100]: (Details: serial 170024023 error_code 140 request_code 138 (XFIXES) minor_code 12)
May 4 00:50:24 rm-work gnome-session[30100]: (Note to programmers: normally, X errors are reported asynchronously;
May 4 00:50:24 rm-work gnome-session[30100]: that is, you will receive the error a while after causing it.
May 4 00:50:24 rm-work gnome-session[30100]: To debug your program, run it with the GDK_SYNCHRONIZE environment
May 4 00:50:24 rm-work gnome-session[30100]: variable to change this behavior. You can then get a meaningful
May 4 00:50:24 rm-work gnome-session[30100]: backtrace from your debugger if you break on the gdk_x_error() function.)
May 4 00:50:24 rm-work kernel: [54634.236474] traps: metacity[30179] trap int3 ip:7f68e3eddd00 sp:7ffc5e2b9d30 error:0
May 4 00:50:24 rm-work gnome-session[30100]: gnome-session[30100]: WARNING: Child process 30179 was already dead.
May 4 00:50:24 rm-work gnome-session[30100]: WARNING: Child process 30179 was already dead.
May 4 00:50:24 rm-work gnome-session[30100]: gnome-session[30100]: WARNING: Application 'metacity.desktop' killed by signal 5
May 4 00:50:24 rm-work gnome-session[30100]: WARNING: Application 'metacity.desktop' killed by signal 5
May 4 00:50:24 rm-work gnome-session[30100]: WARNING: App 'metacity.desktop' respawning too quickly
May 4 00:50:24 rm-work gnome-session[30100]: gnome-session[30100]: WARNING: App 'metacity.desktop' respawning too quickly
May 4 00:50:24 rm-work gnome-session[30100]: Unrecoverable failure in required component metacity.desktop
May 4 00:50:24 rm-work gnome-session[30100]: CRITICAL: We failed, but the fail whale is dead. Sorry....
May 4 00:50:24 rm-work gnome-session[30100]: gnome-session[30100]: CRITICAL: We failed, but the fail whale is dead. Sorry....
有什么办法可以修复它吗?
问候
答案1
如果您使用 gnome-flashback 会话,这是一个尚未解决但相对罕见的错误。部分原因是大多数人都使用默认 UI。查看更多详细信息并订阅以查看问题是否已解决: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1455916
临时修复 - 不要使用 gnome-flashback 会话。