firefox hangs with flash plugin installed on certain sites

Bug #302 reported by Adam Lydick
20
Affects Status Importance Assigned to Milestone
libflash (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

Repro:
* Install libflash-mozplugin
* Visit: http://mysterion.org/~danw/blog/2005/03/stetic
* Try to click on the flash presentation
* Firefox becomes unresponsive (all tabs)
* Kill firefox.
* Uninstall libflash-mozplugin.
* Visit the site again and click on the flash presentation.
* No hang, but the content obviously ...

Repro:
* Install libflash-mozplugin
* Visit: http://mysterion.org/~danw/blog/2005/03/stetic
* Try to click on the flash presentation
* Firefox becomes unresponsive (all tabs)
* Kill firefox.
* Uninstall libflash-mozplugin.
* Visit the site again and click on the flash presentation.
* No hang, but the content obviously cannot be rendered.

Revision history for this message
Adam Lydick (lydickaw) wrote :

Problem "solved": esd was blocking the audio device, so killing it until I'm done watching the flash animation works around the problem.

The real bug is that libflash and gnome need to play nice with the sound device. I'm not sure what the proper fix for this is.

Revision history for this message
Jeroen (jeroenubuntu) wrote :

The 'resolution' doesn't work here. Also, Firefox doesn't become unresponsive here, but disappears as if I've closed it. This really needs to be fixed, so we can Freely watch Flash movies, which are (sadly) very much widespread.

jeroen@breezy:~$ firefox http://mysterion.org/~danw/blog/2005/03/steticzilla.html
The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 1220 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
jeroen@breezy:~$ firefox http://mysterion.org/~danw/blog/2005/03/steticzilla.html --sync

(firefox-bin:21571): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)
*** loading the extensions datasource
NP_Initialize
New
SetWindow
Destroy
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 31 error_code 171 request_code 147 minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
jeroen@breezy:~$

Changed in libflash:
assignee: nobody → motu
Revision history for this message
Jeroen (jeroenubuntu) wrote :

It doesn't seem to happen anymore, at least not on this site. It _does_ make Fx _very_ slow, though. Viewing flash with a free player is therefore still not as good as it should be :-(

Revision history for this message
Benjamin Montgomery (bmonty) wrote :

flash works fine with breezy's firefox. No issues with loading pages or sound. I tested with www.albinoblacksheep.com. Does this problem still occur for you or can we close this bug?

Changed in libflash:
status: New → Accepted
Revision history for this message
Adam Lydick (lydickaw) wrote :

Still doesn't seem to be working for me. I tried installing libflash-mozplugin and visited a few flash sites. Firefox (variously) crashed, hung, or just failed to display the flash content. The same site would do all of these things (seemingly at random), so it don't have a good repro.

I tried "penguin calls" on albino black sheep: (crashed once, just never loaded once)
http://www.albinoblacksheep.com/flash/penguincalls.php

I also tried Strongbad Email: (never loaded, and when I came back 10 minutes later it was hung hard with ~0% CPU usage)
http://www.homestarrunner.com/sbemail.html

If you have a working configuration, have you done anything unusual to your sound setup? I've upgraded this machine in small steps since Breezy was first branched off of Hoary, so it's possible that I have some odd configuration cruft that isn't in recent releases.

Revision history for this message
Benjamin Montgomery (bmonty) wrote :

Ok, I tried this on a fresh breezy colony 5 install and got the same result. I'm not sure why it works on my other box.

Revision history for this message
Jeroen (jeroenubuntu) wrote :

I did "firefox http://mysterion.org/~danw/blog/2005/03/steticzilla.html" for a few minutes, and it worked perfectly. Wasn't slow or anything, could've been a little bit smoother, though.

http://www.albinoblacksheep.com/flash/penguincalls.php: Just keeps loading, and does nothing (no crash either). The same goes for http://www.homestarrunner.com/sbemail.html.

Revision history for this message
Ken Fallon (ubuntu-fallon) wrote :

The site http://www.dolfinarifun.nl/dolfinarium/flashintro/inter1.htm is crashing firefox when run normally and hangs it when run in safe mode.

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4

Output of $firefox http://www.dolfinarium.nl/ -sync is available at http://fallon.ie/bug302.html
Copy of the offending HTML is at http://fallon.ie/inter1.htm.txt

Revision history for this message
Realtime (peter-icb) wrote :

Firefox also hangs here when loading a flash:

Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4

When watching a Website with flash with Konqueror the flashplugin crashes with the following debug msg:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912572572240 (LWP 5754)]
0x00002aaaabaa0752 in nanosleep () from /lib/libc.so.6
#0 0x00002aaaabaa0752 in nanosleep () from /lib/libc.so.6
#1 0x00002aaaabaa05f0 in sleep () from /lib/libc.so.6
#2 0x00002aaaac408cc5 in KCrash::startDrKonqi ()
   from /usr/lib/libkdecore.so.4
#3 0x00002aaaac42ea7c in KCrash::defaultCrashHandler ()
   from /usr/lib/libkdecore.so.4
#4 0x00002aaaaba3f1b0 in killpg () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Revision history for this message
dominik (dilorenzo) wrote :

Hi!
I've got the problem since upgrading from dapper to edgy.

Without flashplugin-nonfree:

dominik@dominik-laptop:~$ firefox www.wetter.de
** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

With flashplugin-nonfree 7.0.68~ubuntu2 installed, firefox suddenly closes while loading website:

dominik@dominik-laptop:~$ firefox www.wetter.de
** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 118 error_code 8 request_code 146 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Since I need flash for many websites I visit, it is impossible for me to use firefox at the moment and I have to use nonfree opera :(

Thanks,
Dominik

Revision history for this message
Donald Kittle (donald) wrote :

I have similar problems. I upgraded my laptop from Dapper to Edgy and Firefox crashed every time I visit any site with flash in it. Oddly, I did a fresh install of Edgy in a VMware environment at work and I can view flash sites in Firefox just fine.

Revision history for this message
Ben Bromley (benuski) wrote :

I have the same problem on the Edgy version of firefox, which is Beta 2. I'll go to a site with flash on it, such as espn.com, and it will hang until killed when I'm running the debugger, but will usually just crash automatically when not running the debugger.

Revision history for this message
Jussi Kukkonen (jku) wrote :

I see the same problem as Dominik, Donald and Ben. I too am on Edgy that was upgraded from Dapper... New profile, no extensions.

I'm afraid re-using this old bug was a mistake though -- the symptoms are not exactly same (original bug description talks about a hang, not a crash)... I hope the developers see this.

Revision history for this message
Jussi Kukkonen (jku) wrote :

Found a workaround for the bug: setting xserver bitdepth to 24 (it was 16 because of maemo development. long story) stopped the crashing.

Revision history for this message
protoman (protomank) wrote :

Same here. Upgrated to edgy and flash kills firefox. I am using 24 bit color, so that not a solution to me.
Tryed both the aprt-get installed flash plaeyr as the manually installed flash player 9 downloaded from macromedia.

Revision history for this message
Jeroen (jeroenubuntu) wrote :

Please note that libflash-mozplugin is different from the proprietary Macromedia flash player.

Revision history for this message
Jeroen (jeroenubuntu) wrote :

The original bugs (firefox becomes unresponsive) is fixed. GPLFlash is still quite a bad app, but other bugs should go somewhere else.

Changed in libflash:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.