Wednesday, April 25, 2012

Tip: Fix "pa_stream_writable_size() failed: connection terminated" GNOME Totem error

One of these day I launched a Matroska (.mkv) video when all of a sudden Totem crashes with the following error:
 pa_stream_writable_size() failed: connection terminated  
This error popped-up on CentOS 6.2 however upon investigating the error on Google I came across bug reports on several distribution ranging from CentOS 6, SL 6, Fedora 11-14, Ubuntu 9.10-10.10, etc.

The solution consists of changing PulseAudio configuration and reloading it:

  1. $ su
  2. # echo "resample-method = trivial" >> /etc/pulse/daemon.conf
  3. # exit
  4. $ pulseaudio -k

References:
https://bugzilla.redhat.com/show_bug.cgi?id=566915
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/496616
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/644644
http://pulseaudio.org/ticket/759

3 comments:

Anonymous said...

I had this error just now on:
Centos 6 using Totem Movie Player 2.28.6

The solution worked like a charm!

tangram said...

Good to know :)

Anonymous said...

great job... works fine...