For the last few days, certain desktop applications have started dying whenever the Ctrl, Alt or Shift keys are pressed, or the GUI is right-clicked. This happens on keydown/mousedown.
For example, it happens in:
- Nautilus
- Update Manager
- Rhythmbox Music Player
- Gnome Screenshot
- Gedit (only seems to crash on right-click and some keystrokes such as Ctrl+S)
It does not happen in all applications. For example, Chrome, Clion (IDE), Skype, gitk are unaffected.
If I launch nautilus
from the command line, then press Ctrl:
$ nautilus
Segmentation fault
Running it with gdb
shows the following backtrace:
#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 ?? ()
I've noticed that nautilus looks different since this started happening:
Any ideas how I can fix this?
$ 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
The contents of /etc/apt/sources.list
are:
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
I believe you have installed a PPA (probably the elementary-os/daily or the ricotz/testing) that installed a library (or libraries) of GNOME that is (are) incompatible with your system.
You should purge the PPA that installed the newer version of the library (libraries).
If you do not have installed
ppa-purge
, runOnce installed remove the PPA with