Fix for firefox crashes on flash contents when using libflashsupport in hardy

Sponsored Link
If you start using Firefox 3 with Flash, odds are good that you'll experience Firefox crashing every few minutes while loading Flash. It seems Pulseaudio (Hardy's new sound system) is triggering a bug in Flashplayer, which causes Firefox to crash. Since Flash is closed-source software, there's no chance Ubuntu is able to fix the problem in time for Hardy Heron's release.


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

Sponsored Link

Incoming search terms:

Related posts

41 thoughts on “Fix for firefox crashes on flash contents when using libflashsupport in hardy

  1. This didn’t work out for me, i get the grey box as well when i open another web site with flash installed

    [Reply]

  2. 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

    [Reply]

  3. i dont know about u but i decided to go back on 7.10 gutsy gibbon and now im a happy man :D

    (i also had a problem with my fav media player -listen- in hardy heron :S)

    [Reply]

  4. 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.

    [Reply]

  5. 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?

    [Reply]

  6. 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”.

    [Reply]

  7. 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.

    [Reply]

  8. 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 )

    [Reply]

  9. 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

    [Reply]

  10. 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

    [Reply]

  11. 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.

    [Reply]

  12. 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?

    [Reply]

  13. 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)

    [Reply]

  14. 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.

    [Reply]

  15. 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.

    [Reply]

  16. 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.

    [Reply]

  17. 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.

    [Reply]

  18. 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!

    [Reply]

  19. 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.

    [Reply]

  20. 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.

    [Reply]

Leave a comment

Your email address will not be published. Required fields are marked *