CTRL、ALT、SHIFT 或右键单击可关闭某些窗口

CTRL、ALT、SHIFT 或右键单击可关闭某些窗口

在过去的几天里,某些桌面应用程序开始死机,只要按下CtrlAltShift键,或者右键单击 GUI。这种情况发生在按下键盘/按下鼠标时。

例如,它发生在:

  • 鹦鹉螺
  • 更新管理器
  • Rhythmbox 音乐播放器
  • Gnome 截图
  • Gedit(仅在右键单击和某些按键(例如Ctrl+ S)时崩溃)

并非所有应用程序都会发生这种情况。例如,Chrome、Clion (IDE)、Skype、gitk 不受影响。

如果我nautilus从命令行启动,则按Ctrl

$ nautilus
Segmentation fault

运行它gdb显示以下回溯:

#0  0x0000000000000000 in ?? ()
#1  0x00007ffff474a1c8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x00007ffff475abe7 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007ffff4763098 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff4763352 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff6ea616b in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#6  0x00007ffff6f1b095 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#7  0x00007ffff6ea61d2 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#8  0x00007ffff6dbc027 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#9  0x00007ffff6ea61d2 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff6ee20a1 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff6ea61d2 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#12 0x00007ffff6e68fd0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#13 0x00007ffff6ea61d2 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#14 0x00007ffff6fe2d49 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007ffff6ea61d2 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff6ea62ab in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff6fe9233 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#18 0x00007ffff474a1c8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff475abe7 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff4763098 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff4763352 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff6fd895c in gtk_widget_show () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x000000000047563c in ?? ()
#24 0x0000000000479871 in ?? ()
#25 0x00007ffff6ea818e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#26 0x00007ffff474a3f7 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff4762708 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff4763352 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff6fcee5c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007ffff6ea5cf8 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007ffff6ea76f7 in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#32 0x00007ffff6a5bc22 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#33 0x00007ffff4476bd4 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff4476e18 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff4476ebc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff4a2e0bc in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#37 0x000000000042b561 in ?? ()
#38 0x00007ffff394aec5 in __libc_start_main (main=0x42b4a0, argc=0x1, argv=0x7fffffffdf98, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffdf88) at libc-start.c:287
#39 0x000000000042b5c3 in ?? ()

自从发生这种情况以来,我注意到鹦鹉螺看起来有所不同:

在此处输入图片描述

有什么想法可以修复此问题吗?

$ uname -a
Linux bert 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty

其内容/etc/apt/sources.list为:

deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
# deb http://archive.canonical.com/ lucid partner
deb-src http://archive.canonical.com/ lucid partner
# deb http://ppa.launchpad/gnurubuntu/rubuntu/ubuntu raring main
# deb-src http://ppa.launchpad/gnurubuntu/rubuntu/ubuntu raring main
# deb-src http://repos.codelite.org/ubuntu/ raring universe

答案1

我相信您安装了 PPA(可能是 elementary-os/daily 或 ricotz/testing),它安装了与您的系统不兼容的 GNOME 库(或多个库)。

您应该清除安装了新版本库的 PPA。

如果你没有安装ppa-purge,请运行

sudo apt-get install ppa-purge

安装完成后,使用以下命令删除 PPA

sudo ppa-purge [ppa:ppa_team/ppa_name]

相关内容