Monday, August 06, 2007

Ubuntu : Firefox crashes related to VLC plugin

There is a lot of confusion about this topic so I'm going to keep it short and sweet.

I was using Ubuntu 6.06 + Firefox + VLC plugin, life was good, everything worked.

Then I upgraded to Ubuntu 6.10. Shortly there after I noticed that I couldn't stream audio of the x-mplayer2 variety. As soon as the page which initiates the stream loads Firefox would crash.

I tried a number of fixes but they didn't work :

-reinstalled Firefox
-reinstalled VLC + its plugins

When I ran Firefox from the command line upon crashing this is the only error I would get :
Segmentation fault (core dumped)
After much Googling it came to my attention that the plugin which handles such media types (the VLC plugin) may be to blame.


Long story short : I noticed the latest version of the VLC plugin is 0.8.6 which Synaptic told me I had installed. However about:plugins in Firefox told me the VLC plugin version was 0.8.4

It seems that when VLC upgraded it only upgraded the libvlcplugin.so in these locations :
/usr/lib/mozilla-firefox/plugins/libvlcplugin.so
/usr/lib/mozilla/plugins/libvlcplugin.so
and not in this location :
/home/Me/.mozilla/plugins/libvlcplugin.so
So I deleted the above copy of libvlcplugin.so and then used Synaptic to do another re-install of the VLC plugin. I then copied libvlcplugin.so from /usr/lib/mozilla-firefox/plugins/ to /home/Me/.mozilla/plugins/

Firefox no longer crashes when I visit the offending pages (sites that use the VLC plugin) however my streaming radio still doesn't work.

Hopefully this information will be of some help.

No comments:

//]]>