Fixing Clementine and other music players crashing in Ubuntu 10.10 Maverick Meerkat (gstreamer)

After my new installation of Ubuntu on my new rig, I was annoyingly unable to play music with Clementine. When Clementine was run from the command line, it would exit with “Segmentation fault”. A gdb backtrace showed that it was gstreamer that was crashing, so I found and updated from the PPA for GStreamer developers which has solved the issue.

Here are the steps on the command line required to use it:

sudo add-apt-repository ppa:gstreamer-developers/ppa
sudo apt-get update
sudo apt-get upgrade

Here’s my gdb backtrace in case anyone is having the same issue and searches for terms that appear in it.

GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-linux-gnu”.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>…
Reading symbols from /usr/bin/clementine…(no debugging symbols found)…done.
(gdb) run
Starting program: /usr/bin/clementine
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeaa22700 (LWP 5437)]
[New Thread 0x7fffdee24700 (LWP 5438)]
virtual bool QxtGlobalShortcutBackend::DoRegister()
[New Thread 0x7fffde5d9700 (LWP 5439)]
[New Thread 0x7fffdddd8700 (LWP 5440)]
[New Thread 0x7fffdd5d7700 (LWP 5441)]
[Thread 0x7fffdd5d7700 (LWP 5441) exited]
[New Thread 0x7fffdd5d7700 (LWP 5442)]
[New Thread 0x7fffdcdd6700 (LWP 5443)]
[New Thread 0x7fffd7fff700 (LWP 5444)]
[New Thread 0x7fffd77fe700 (LWP 5445)]
[New Thread 0x7fffd6ffd700 (LWP 5446)]
[New Thread 0x7fffd67fc700 (LWP 5447)]
[New Thread 0x7fffd5ffb700 (LWP 5448)]
[New Thread 0x7fffd57fa700 (LWP 5449)]
[New Thread 0x7fffd4ff9700 (LWP 5450)]
[New Thread 0x7fffcffff700 (LWP 5451)]
[New Thread 0x7fffcccd6700 (LWP 5453)]
[New Thread 0x7fffc7e8e700 (LWP 5454)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc7e8e700 (LWP 5454)]
0x00007fffced5be4c in orc_sse_set_mxcsr () from /usr/lib/liborc-0.4.so.0
(gdb) bt
#0  0x00007fffced5be4c in orc_sse_set_mxcsr () from /usr/lib/liborc-0.4.so.0
#1  0x00007fffced6209a in orc_compiler_sse_assemble () from /usr/lib/liborc-0.4.so.0
#2  0x00007fffced521f5 in orc_program_compile_full () from /usr/lib/liborc-0.4.so.0
#3  0x00007fffcf5fc177 in ?? () from /usr/lib/gstreamer-0.10/libgstvolume.so
#4  0x00007fffcf5fb27c in ?? () from /usr/lib/gstreamer-0.10/libgstvolume.so
#5  0x00007ffff403d161 in ?? () from /usr/lib/libgstbase-0.10.so.0
#6  0x00007ffff403d77d in ?? () from /usr/lib/libgstbase-0.10.so.0
#7  0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#8  0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#9  0x00007ffff403d7c9 in ?? () from /usr/lib/libgstbase-0.10.so.0
#10 0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#11 0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#12 0x00007ffff403d7c9 in ?? () from /usr/lib/libgstbase-0.10.so.0
#13 0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#14 0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#15 0x00007ffff403d7c9 in ?? () from /usr/lib/libgstbase-0.10.so.0
#16 0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#17 0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#18 0x00007ffff403d7c9 in ?? () from /usr/lib/libgstbase-0.10.so.0
#19 0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#20 0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#21 0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#22 0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#23 0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#24 0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#25 0x00007ffff47fc12d in ?? () from /usr/lib/libgstreamer-0.10.so.0
#26 0x00007ffff47fc9ee in ?? () from /usr/lib/libgstreamer-0.10.so.0
#27 0x00007fffc80b6675 in ?? () from /usr/lib/gstreamer-0.10/libgstflac.so
#28 0x00007fffcd1d758d in ?? () from /usr/lib/libFLAC.so.8
#29 0x00007fffcd1d7920 in FLAC__stream_decoder_process_single () from /usr/lib/libFLAC.so.8
#30 0x00007fffc80b4b80 in ?? () from /usr/lib/gstreamer-0.10/libgstflac.so
#31 0x00007ffff4825c93 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#32 0x00007ffff4ae973f in ?? () from /lib/libglib-2.0.so.0
#33 0x00007ffff4ae77e4 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007ffff76ec971 in start_thread () from /lib/libpthread.so.0
#35 0x00007ffff0ec592d in clone () from /lib/libc.so.6
#36 0×0000000000000000 in ?? ()