Fix for firefox crashes on flash contents when using libflashsupport in hardy
Posted by admin on April 26th, 2008
Email This Post
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Solution
First you need to download and Install nspluginwrapper from here
Now you need to install libflashsupport using the following command
sudo apt-get install libflashsupport
Now Run the following commands
sudo apt-get remove --purge flashplugin-nonfree
sudo apt-get install flashplugin-nonfree
Now you need to Restart firefox



April 27th, 2008 at 5:37 am
I have this problem and this will fix.
Thanks.
April 27th, 2008 at 6:12 pm
i did this and where the should be flash stuff is a grey box :S
April 27th, 2008 at 6:22 pm
This didn’t work out for me, i get the grey box as well when i open another web site with flash installed
April 28th, 2008 at 5:52 am
This isn’t a “fix”, per se. It is, however, a workaround to keep Firefox from crashing constantly. The nspluginwrapper simply displays the gray box, instead of allowing flash (more accurately, as mentioned above, the conflict between pulseaudio and flash) to crash Firefox. It will still require you to restart Firefox to display flash content again.
Monitor this site for updates on the situation: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/192888
May 1st, 2008 at 10:03 am
i dont know about u but i decided to go back on 7.10 gutsy gibbon and now im a happy man
(i also had a problem with my fav media player -listen- in hardy heron :S)
May 1st, 2008 at 4:54 pm
This will also greatly increase the CPU usage of flash.
May 2nd, 2008 at 9:17 am
I downloaded Opera to fix the problem … Result is about the same, if flash stops working it doesn’t take the browser with it, and in my impression there are much fewer crashes overall.
May 3rd, 2008 at 1:49 pm
Any 64bit package?
May 12th, 2008 at 5:51 am
thanks! work great for me!
May 15th, 2008 at 7:34 am
Recently, Firefox 2 crashes for no reason whatsoever. After disabling troublesome plugins (XPL, Flash, running in safe mode), now it just hangs. Will I have to switch back to IE?
May 28th, 2008 at 9:12 pm
markpersy: nspluginwrapper is available in Hardy’s multiverse repo for AMD64.
May 30th, 2008 at 3:34 pm
This is NOT a *fix*. Is a WORKAROUND, like any other of the dozens of sollutions spreading on web.
Please, call it workaround, not fix. It is very bad to Linux image that this is happening. But is worse to say that a workaround is a “fix”.
June 1st, 2008 at 2:00 am
I’ve been suffering crashes while watching flash on ubuntu since edgy at least. I chalked it up to flash and linux not playing nicely. Recently I did some distro shopping and low and behold not one crash with sabayon, arch, or slackware with at least a week’s time of mad flash viewing on each. In ubuntu I tried a gazillion suggestions from many forums, installed fresh, etc but nothing worked. I really like ubuntu but I’ve put in far too much time dealing with these crashes.
June 2nd, 2008 at 1:48 am
thanks for the fix, those crashes were the only thing that really annoyed me in ubuntu.
Sometimes i even had to reboot because of it! (oh the humanity! :p )
June 11th, 2008 at 9:38 pm
worked great. thanks alot for this solution. (:
June 25th, 2008 at 4:21 pm
flashplugin-nonfree doesn’t work anymore after I upgraded my firefox to firefox3
I had to install adobe flash player. But it seems to conflict with libflashsupport. And when I removed libflashsupport, it doesn’t crash
anymore when I go to youtube or somewhere else with flash content.
But now I can’t use libflashsupport anymore.
Any ideas?
Regards
July 3rd, 2008 at 4:15 am
Thanks for the “fix” or “workaround,” whatever one wants to call it. After a couple of months with Ubuntu Hardy Heron, I am now finally able to use the flash video for my information sites.
–MH Pathfinder
July 6th, 2008 at 5:00 am
Yes this is a work around but it does works non the less if you get a greyed out box simply reload it and all is well. But ubuntu must work on the flash and pulse audio problem these are major deal killers down the road.
July 7th, 2008 at 10:49 am
hi all
I got the same problem with firefow, plus pbs with deluge bittorent, and occasionnaly, xserver crashes…
but my pbs were solved ( i had just upgraded my bow, with new mobo, new proc, ram and video card… look like i’ve changed everything, by the way)
all problems were solved with 1 thing : looking for the bios settins, i found out my ddrIIram was not set a good frequency.. once solved, no longer crashes, everything run smoothly…
may be you can try this?
July 19th, 2008 at 7:27 am
Thanks a lot. This helped me, as I was having this problem.
July 19th, 2008 at 4:13 pm
Doesn’t work for me :S
I get the gray box on every single flash thing, no matter how many times I reload the page (every browser)
July 28th, 2008 at 12:00 am
Nearly every major website uses flash. Ubuntu needs to convince everyone to change their websites, or fix the flash-is-gray-square bug. I’m on 64-bit Athlon, btw. This is frustrating.
August 8th, 2008 at 3:13 pm
Thank you for this tip. Works like a charm for a bug that is awful and frustrating. Why can’t Ubuntu fix such bugs through updates? It is just plain silly to leave to the user to search for solutions to such everyday problems. Thanks again.
August 10th, 2008 at 5:41 am
I did this and I can’t say I’m too happy, my fault I didn’t read the comments.
Any ideas to go back to the way I had it ?
thanks.
August 13th, 2008 at 5:31 pm
That solution didn’t fix the problem on my 64bit AMD version of Ubuntu Hardy Heron 8.04 installation. I installed the Swiftweasel web browser hoping that it would run without Flash problems but it also has the same issue.
September 1st, 2008 at 11:54 pm
Thanks, though this hasn’t completely solved the issue, it has reduced it from painful to bearable
September 17th, 2008 at 6:08 pm
I did the “fix” and I no longer had the crashes happening, but as others here I had a blank box where the flash video should have been. I did some looking around and I also installed swfdec-mozilla and dependencies (sudo aptitude install swfdec-mozilla). I could view (with sound) the youtube videos again without crashing. This was on a 32 bit system. I hope this helps and good luck!
September 25th, 2008 at 4:24 am
I’ve found a reasonable workaround. Remove the nspluginwrapper as well as the flashplugin-nonfree. Re-install flashplugin-nonfree. Go to System > Preferences > Sound. Change all the playback methods to ALSA. This will effectively disable Pulseaudio, and avoid the grey screen of death that is prevalent with the offered solution. Hopefully they can get the bugs worked out of Pulse ASAP.
October 3rd, 2008 at 8:31 pm
I am wondering if this is still a valid workaround or is there a more permanent solution? I have numerous firefox 3 crashes in ubuntu and they seem to happen when I click on links that launch a popup or on video-related links. The errors are related to my utils.js file.
I am not sure how to even diagnose where the problems are coming from.
Thanks for any help.
October 4th, 2008 at 12:20 am
@29: The official PulseAudio website is keeping track to resolving this issue:
http://pulseaudio.org/wiki/PerfectSetup#FlashPlayer
Currently, there’s a Ubuntu-specific link to this forum thread:
http://ubuntuforums.org/showthread.php?p=4928900
October 7th, 2008 at 5:19 am
hey thnx for the nspluginwrapper, its working good so far for me, i’ve been watching alota videos on youtube jus to see it crash cuz thts wat always happen when i go there, but to my surprise i havent had one crash yet.
this plugin is a life saver, the only drawback is it makes the video loads jus a lil bit slower than usual but thts bearable
thnx again !
December 30th, 2008 at 10:24 am
I had problems with Firefox and IE crashing all the time. I’ve just upgraded my laptops RAM from 512Mb to 2Gb and it’s stopped crashing. My guess is that a lot of internet sites now have videos and gizmos etc running on them and my RAM wasn’t man enough to deal with it.