Flash plugin problem with ARGB visuals causes crash

Bug #14911 reported by LeitoMonk
488
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Invalid
Critical
firefox (Ubuntu)
Invalid
Medium
Unassigned
flashplugin-nonfree (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Firefox crash randomly when load some sites and the debug message is:

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 104 error_code 8 request_code 145 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.)

i've try with mozilla-firefox --sync and return the same result

Tags: flash
Revision history for this message
bettlebrox (micktimony) wrote :

Created an attachment (id=2048)
Output from strace on firefox

I been having the same problems for the past 2 or 3 days. It seems to happen
after I open more than 4 tabs. Running firefox with the --sync and/or -debug
flags does not provide any more info.

I ran firefox with strace and it seems to be complaining about some fonts? I've
attached the partial out from strace, e-mail me if you need more info.

Revision history for this message
bettlebrox (micktimony) wrote :

(In reply to comment #1)
> Created an attachment (id=2048) [edit]
> Output from strace on firefox
>
> I been having the same problems for the past 2 or 3 days. It seems to happen
> after I open more than 4 tabs. Running firefox with the --sync and/or -debug
> flags does not provide any more info.
>
> I ran firefox with strace and it seems to be complaining about some fonts? I've
> attached the partial out from strace, e-mail me if you need more info.
>
I tracked the problem down to the flash plugin.

I removed all extensions and themes, and all plugins. With no plugins the
browser was stable. Then I added plugins back one by one, and the browser
started crashing on the Flash plugin (libflashplayer.so).

I'll try browsing with the libflash-mozplugin for a while and see how it behaves.

Revision history for this message
Daniel Robitaille (robitaille) wrote :

*** Bug 16135 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Robitaille (robitaille) wrote :

*** Bug 16243 has been marked as a duplicate of this bug. ***

Revision history for this message
Gregory Oschwald (osch0001) wrote :

I had this same problem occur. In my case, it was due to the flash player
trying to play sounds and being unable to. I modified
/etc/mozilla-firefox/mozilla-firefoxrc and changed FIREFOX_DSP from "auto" to
"none". Since doing this, everything seems to work great. I did not verify if
this happened in other plugins that use sound or not.

Revision history for this message
Mathieu Leduc-Hamel (marrakis) wrote :

You may add the following line in your firefox starting script (/usr/bin/firefox):

export XLIB_SKIP_ARGB_VISUALS=1

It solve my problems too.

(In reply to comment #5)
> I had this same problem occur. In my case, it was due to the flash player
> trying to play sounds and being unable to. I modified
> /etc/mozilla-firefox/mozilla-firefoxrc and changed FIREFOX_DSP from "auto" to
> "none". Since doing this, everything seems to work great. I did not verify if
> this happened in other plugins that use sound or not.

Revision history for this message
bettlebrox (micktimony) wrote :

(In reply to comment #6)

Setting FIREFOX_DSP to none did not solve the problem but
XLIB_SKIP_ARGB_VISUALS=1 did solve it.

Thanks
Mick

> You may add the following line in your firefox starting script (/usr/bin/firefox):
>
> export XLIB_SKIP_ARGB_VISUALS=1
>
> It solve my problems too.
>
> (In reply to comment #5)
> > I had this same problem occur. In my case, it was due to the flash player
> > trying to play sounds and being unable to. I modified
> > /etc/mozilla-firefox/mozilla-firefoxrc and changed FIREFOX_DSP from "auto" to
> > "none". Since doing this, everything seems to work great. I did not verify if
> > this happened in other plugins that use sound or not.

Revision history for this message
Soren Hansen (soren) wrote :

Created an attachment (id=2613)
Adds the XLIB_SKIP_ARGB_VISUALS to the wrapper script

Attached a patch to add the XLIB_SKIP_ARGB_VISUALS environment variable to the
firefox wrapper script.

Revision history for this message
In , Dominik-dresel (dominik-dresel) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050724 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050724 Firefox/1.0.6

If you display a webpage with a flash animation in it (for example
http://www.stadtplandienst.de) Firefox will crash.

This crash only appears when the following things are true:
XServer uses the composite extension und has the color-depth set to 16 bit.
If the composite extension is switched off or the color-depth is set to 24 bit,
the problem doesn´t occour.

If the flash-plugin itself is renamed or deleted, everything works only the
flash is not shown any more ("Click here to download the plugin").

Reproducible: Always

Steps to Reproduce:
1. Set x-server to use the composite extension and set the color depth to 16 bit
2. Start firefox, goto a webpage with flash e.g. www.stadtplandienst.de
3. Crash
Actual Results:
In the console, the following message is shown and the programm will die with
all remaining processes.

Errormessage:
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 164 error_code 8 request_code 147 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.)
firefox-bin exited with non-zero status (1)

Expected Results:
Not crash und show flash correct

Revision history for this message
In , Dominik-dresel (dominik-dresel) wrote :

Created an attachment (id=192427)
Buildconfig of firefox

Revision history for this message
In , Dominik-dresel (dominik-dresel) wrote :

Created an attachment (id=192428)
Plugins installed in firefox

Revision history for this message
In , Dominik-dresel (dominik-dresel) wrote :

Created an attachment (id=192429)
XOrg-configuration-file

Revision history for this message
In , hamacker (sirhamacker) wrote :

Yes, the same problem.
My configuration is Pentium4, 512M RAM, Debian sid, Xorg 6.8.2 :
X Window System Version 6.8.2 (Debian 6.8.2.dfsg.1-5 20050810052028
<email address hidden>)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.12-1-686 i686 [ELF]
Current Operating System: Linux toshiba 2.6.12-1-686 #1 Tue Aug 9 13:00:08 UTC
2005 i686
Build Date: 10 August 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.12-1-686 (buildd@ninsei) (gcc version 4.0.2
20050806 (prerelease) (Debian 4.0.1-4)) #1 Tue Aug 9 13:00:08 UTC 2005 T

Its was test in deekpark 2 and snapshot 20050815.
Flash version 7 (lastest).

Konqueror use the same plugin but does not crash and runs well in xorg.

If XFree (not xorg) everthing is OK.

Revision history for this message
In , hamacker (sirhamacker) wrote :

To workaround this problem :
export XLIB_SKIP_ARGB_VISUALS=1
firefox&

in terminal.

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

Please provide a talkback ID for the crash. http://kb.mozillazine.org/Talkback

Revision history for this message
In , hamacker (sirhamacker) wrote :

In my first installation I turn off the agent talkback, how can I turn on, again ?
(using deeppark)

Revision history for this message
In , Tom-chiverton (tom-chiverton) wrote :

This bug is happening to me also, according to the Xorg guys @
https://bugs.freedesktop.org/show_bug.cgi?id=1336 this is a bug in 'flash plugin'.

This isn't unconfirmed, as a number of people have this problem, and have had it
for some time (just look on google). It's still there in the 1.5 beta
(Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4)n too.

Is there anything that can be done to go forward with this ? I'd include a
talkback ID, but (on this linux box) it doesn't appear to generate one.

Revision history for this message
Ian Jackson (ijackson) wrote :

Can you confirm whether this problem still exists with breezy's firefox ?
(1.0.6-1ubuntu13, or the preview snapshot version)

If so, please provide a URL and recipe to reproduce the problem.

Thanks.

Revision history for this message
bettlebrox (micktimony) wrote :

(In reply to comment #9)
> Can you confirm whether this problem still exists with breezy's firefox ?
> (1.0.6-1ubuntu13, or the preview snapshot version)
>
> If so, please provide a URL and recipe to reproduce the problem.
>
> Thanks.
I do not see the problem with Breezy's Firefox. Please close this bug.

Thanks

Revision history for this message
Ian Jackson (ijackson) wrote :

Thank you for your reply. I'm closing the bug now.

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 308024 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 258497 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 265426 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 268060 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 279837 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 285008 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 309624 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

I am going to leave this unconfirmed Gavin said that this is likely an external
problem.

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

For all of you who are seeing this, do you see this in the latest version of Flash? http://plugindoc.mozdev.org/linux.html#Flash

Revision history for this message
In , Jim Bray (jimsantelmo) wrote :

 The plugin site referred to in the last comment lists the current version
of the flash plugin as 7.0r25, which I had, but the version one will get
if one pulls the thing down is 7.0 r61. I installed this and tested. The bug
is still present in Firefox 1.5-rc3 (and/or flash 7.0r61, and/or the xorg
server...).

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

So I was thinking... is there any reason why we can't add `export XLIB_SKIP_ARGB_VISUALS' to the Firefox mozilla.in file in order to stop this from happening? It sounds like Flash is abusing the "extra visuals". http://xorg.freedesktop.org/X11R6.8.0/doc/RELNOTES5.html

Revision history for this message
In , Jim Bray (jimsantelmo) wrote :

 It's pretty clear this is a flash problem. Hopefully someone has told them about
it.
  As a wishlist item: it would be nice if plugins could be encapsulated somehow
so that instead of the browser crashing, the plugin crashes and is disabled. It
looks like Firefox is getting an X error and just throwing in the towel. A little
more robustness and perseverance would be a good thing if possible.

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

Jim the last bit is Bug 156493 'Browser should tolerate plug-in (plugin) malfunctions, like with a separate (own) process' or bug 230017 'RFE: Run plugins in a separate thread'.

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

*** Bug 319548 has been marked as a duplicate of this bug. ***

Revision history for this message
Ian Jackson (ijackson) wrote :

In fact, I think this bug still exists for other people.

Revision history for this message
Ian Jackson (ijackson) wrote :

*** Bug 23392 has been marked as a duplicate of this bug. ***

Revision history for this message
Ian Jackson (ijackson) wrote :

*** Bug 25681 has been marked as a duplicate of this bug. ***

Revision history for this message
Sam Liddicott (sam-liddicott) wrote :

I do see this with breezy firefox, please see the comments on
http://bugzilla.ubuntu.com/show_bug.cgi?id=19565
where we show that it is an ALSA bug.

Revision history for this message
Juan Jose Amor Iglesias (jjamor) wrote :

Hi

I did 'export XLIB_SKIP_ARGB_VISUALS=1 ; firefox' and then loaded some flash pages.

The patch didn't work :-(

An inmediate test is trying to play any Youtube.com video.

Revision history for this message
Hervé Cauwelier (hcauwelier-deactivatedaccount) wrote :

Commenting the Composite section in x.org solved my issue.

Revision history for this message
Michael R. Head (burner) wrote :

This is going to be a big problem in edgy because the Composite extension seems to be enabled by default.

Adding "export XLIB_SKIP_ARGB_VISUALS=1" to /etc/firefox/firefoxrc should workaround the problem for now.

Changed in firefox:
status: Unconfirmed → Confirmed
Ian Jackson (ijackson)
Changed in firefox:
assignee: ijackson → nobody
Changed in firefox:
status: Unknown → Confirmed
Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 346598 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Eugene86 (eugene86) wrote :

*** Bug 353538 has been marked as a duplicate of this bug. ***

Revision history for this message
Gerv (gerv) wrote :

Having upgraded from Dapper to Edgy, I also see this. It requires Composite and 16-bit visuals. The priority of this bug must be raised; now Composite is on by default, a lot more people are going to see this.

The relevant Firefox bug is:
http://bugzilla.mozilla.org/show_bug.cgi?id=304370

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

*** Bug 355785 has been marked as a duplicate of this bug. ***

Revision history for this message
Mikkel Høgh (mikl) wrote :

>I did 'export XLIB_SKIP_ARGB_VISUALS=1 ; firefox' and then loaded some flash pages.

Try running 'XLIB_SKIP_ARGB_VISUALS=1 firefox' instead or inserting the export into one of the files as described above. That fixed it for me :)

Revision history for this message
Tomasz Czapiewski (xeros) wrote :

It seems that now Edgy's firefox 2.0rc2 (1.99+2.0rc2+dfsg-0ubuntu1) has this bug, too.
Tried running firefox even with '--sync --safe-mode' command line options but it didn't help.
Gdb didn't say anything usefull, too.

Running 'XLIB_SKIP_ARGB_VISUALS=1 firefox' is a good workaround to run without crashes.

Revision history for this message
Tomasz Czapiewski (xeros) wrote :

It looks that new flashplugin-nonfree (7.0.68~ubuntu3) and firefox (1.99+2.0rc2+dfsg-0ubuntu2) didn't fix this bug either.
Even removing packages: "firefox libnss3 libnss-dev firefox-dev firefox-themes-ubuntu firefox-gnome-support libnspr4 libnspr-dev libmyspell3c2", then installing them and deleting firefox profile didn't fix that problem.

Revision history for this message
Léo Studer (leo-studer-wanadoo) wrote :

This bug sound like the same as mine, find the complete bug report attached. Firefox crashed while opening a SimpleViewer flash photo gallery in a popu window.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

This still happens in Edgy RC.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Unfortunately it also seems to still happen with the new Flash 7 beta.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Sorry, that should be "new Flash *9* beta" see http://labs.adobe.com/technologies/flashplayer9/

Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

*** Bug 188302 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

*** Bug 189761 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

*** Bug 317209 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

*** Bug 344910 has been marked as a duplicate of this bug. ***

Revision history for this message
In , L. David Baron (dbaron) wrote :

Is this still a problem with the Flash 9 beta? If so, it's probably worth reporting a bug to the Flash folks since they're actively working on the Linux plugin these days. See http://labs.adobe.com/technologies/flashplayer9/ .

Revision history for this message
In , Landolini-yahoo (landolini-yahoo) wrote :

(In reply to comment #30)
> Is this still a problem with the Flash 9 beta? If so, it's probably worth
> reporting a bug to the Flash folks since they're actively working on the Linux
> plugin these days. See http://labs.adobe.com/technologies/flashplayer9/ .
>
the problem is both with flash 7.x and 9 beta.

Revision history for this message
In , Mozbugs-bollans (mozbugs-bollans) wrote :

Bug 356882 seems to be a duplicate (slightly different error message)
I have reported it to Adobe.

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

*** Bug 356882 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Landolini-yahoo (landolini-yahoo) wrote :

(In reply to comment #29)
> *** Bug 344910 has been marked as a duplicate of this bug. ***
>

I've built Firefox with options you suggested but I've no more
informations ,but the same message

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

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

*** Bug 357735 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

*** Bug 358288 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

jmott, you work on Flash 9 for Adobe, right? Do they know about this problem, or can you forward this bug to the appropriate people?

Revision history for this message
In , aconbere (aconbere) wrote :

*** Bug 358407 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Vbordug (vbordug) wrote :

*** Bug 358507 has been marked as a duplicate of this bug. ***

Revision history for this message
In , teofilis (teofilis) wrote :

*** Bug 358525 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Tomas-kaluza (tomas-kaluza) wrote :

I have two comments that are worth to mention:
 1. The very same plugin worked just perfectly in Firefox 1.5.0.7, at least in my case, under same settings of X.org
 2. I know that the problem is not on Your side, but I do agree with the opinion that the whole Firefox should not crash when there is a problem in the plugin. Because if I did not like Firefox so much, I would not spend several days trying to find out, where the problem is, but I would swith to Opera, where the plugin did not work, but the browser was running, or to old firefox 1.5.0.7 and I would abbandon 2.0 for good.

Revision history for this message
Nick Booker (nmbooker) wrote :

Yep it's the same for me in Edgy, same debugging output at the console. It didn't happen in Dapper so this seems to be a regression. Interestingly it only happens on the machine I've newly built with Edgy final release Live CD - the ones I've kept up to date having installed from the Edgy Beta live cd seem to cope with Flash fine.

export XLIB_SKIP_ARGB_VISUALS=1 fixes it as it did in Breezy.

This is the same with both the flashplugin-nonfree and the self-installed copy of Flash 9 beta as Aaron Whitehouse pointed out.

Revision history for this message
Adam Guthrie (ispiked) wrote :

People are reporting this bug like crazy on launchpad as well as on bugzilla.mozilla.org. Something needs to be done. A lot of people are not going to have the intelligence to come and find this bug and see what the possible workaround are -- they'll just stop using Ubuntu because they can't browse the Internet.

There are two easy workarounds that've been mentioned in this bug.
 1. Make the default color depth to be 24.
 2. Set XLIB_SKIP_ARGB_VISUALS to 1 in the firefox startup script.

I'm not totally sure what either one of those things does, but I think someone with that knowledge needs to evaluate them and make a patch and get it into the firefox package ASAP.

On a sidenote, is this crash mentioned anywhere in user-facing documentation? It's pretty easy to find a solution to this by searching for "firefox crash" on the forums, but I'm afraid not everyone will be able to find this.

Revision history for this message
Ian Jackson (ijackson) wrote :

Sigh. I suppose we'll have to do this. I think I should have the wrapper script try to detect whether flash is installed (and it has to be in the wrapper script as the user might have downloaded and installed it directly rather than using the package from multiverse). That way at least people who aren't using buggy proprietary software don't have to lose the ARGB functionality semi-at-random.

Changed in firefox:
assignee: nobody → ijackson
Revision history for this message
ricks1950 (rspencer) wrote : Re: [Bug 14911] Re: Flash plugin problem with ARGB visuals causes crash

Quoting Ian Jackson <email address hidden>:

> Sigh. I suppose we'll have to do this. I think I should have the
> wrapper script try to detect whether flash is installed (and it has to
> be in the wrapper script as the user might have downloaded and installed
> it directly rather than using the package from multiverse). That way at
> least people who aren't using buggy proprietary software don't have to
> lose the ARGB functionality semi-at-random.
>
> ** Changed in: firefox (Ubuntu)
> Assignee: (unassigned) => Ian Jackson
>
> --
> Flash plugin problem with ARGB visuals causes crash
> https://launchpad.net/bugs/14911
>

I fixed my particular problem by setting the color depth to 24 bits --
why the installer chose 16 bit is beyond me -- the machine has 16 MB
video RAM and the display is 1024X768 flat panel.

Revision history for this message
Sam Liddicott (sam-liddicott) wrote : Re: [Bug 14911] Re: Flash plugin problem with ARGB visuals causes crash

* ricks1950 wrote, On 31/10/06 14:09:
> Quoting Ian Jackson <email address hidden>:
>
>
>> Sigh. I suppose we'll have to do this. I think I should have the
>> wrapper script try to detect whether flash is installed (and it has to
>> be in the wrapper script as the user might have downloaded and installed
>> it directly rather than using the package from multiverse). That way at
>> least people who aren't using buggy proprietary software don't have to
>> lose the ARGB functionality semi-at-random.
>>
>> ** Changed in: firefox (Ubuntu)
>> Assignee: (unassigned) => Ian Jackson
>>
>> --
>> Flash plugin problem with ARGB visuals causes crash
>> https://launchpad.net/bugs/14911
>>
>>
>
> I fixed my particular problem by setting the color depth to 24 bits --
> why the installer chose 16 bit is beyond me -- the machine has 16 MB
> video RAM and the display is 1024X768 flat panel.
>
This explains why I haven't had the problem (it beats me why I'm on the
bug list, I think one of my bugs was erroneously merged, I'll check into
that).

I also question why the installer chooses 16 bits.

Sam

Revision history for this message
In , shoshani (mshoshani) wrote :

I reported one of these duplicate bugs, and would like to offer a new development. My problems with this started when I upgraded my Ubuntu from Dapper to Edgy. When I was running Dapper I had flashplugin-mozilla installed; somehow in the upgrade that was removed and flashplugin-nonfree was installed instead.

Tonight I removed flashplugin-nonfree and installed flashplugin-mozilla, and Firefox worked with Flash pages exactly the way it had before the upgrade. Firefox no longer crashes when it encounters embedded Flash material.

I have absolutely no idea what is different in the code between the two versions of flashplugin, but apparently it makes a difference to Firefox.

Revision history for this message
Martin Gustafsson (martin-gustafsson) wrote :

"That way at least people who aren't using buggy proprietary software don't have to lose the ARGB functionality semi-at-random."
Nedit triggers the same bug https://launchpad.net/distros/ubuntu/+source/nedit/+bug/57808

Revision history for this message
In , Mozbugs-bollans (mozbugs-bollans) wrote :

It seems that this might now be fixed in the next build of flash 9.
For details (and workarounds) see the post from October 30th at http://www.kaourantin.net/

Revision history for this message
Ian Jackson (ijackson) wrote : Re: [Bug 14911] Re: Flash plugin problem with ARGB visuals causes crash

Martin Gustafsson writes ("[Bug 14911] Re: Flash plugin problem with ARGB visuals causes crash"):
> Nedit triggers the same bug https://launchpad.net/distros/ubuntu/+source/nedit/+bug/57808

You mean nedit crashes firefox when invoked by firefox when there are
ARGB visuals ? If so, could you point me at the relevant bug report ?
You mention bug 57808 but that's just this one! And, isn't this just
a bug in nedit that should be fixed ?

Ian.

Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

*** Bug 359929 has been marked as a duplicate of this bug. ***

Revision history for this message
Andrew Jorgensen (ajorg) wrote :

There are several graphics chipsets which don't support DRI (acceleration) in 24-bit mode. ATI Rage 128 is one of them (very common in somewhat older laptops). I need to use 16-bit cause 24-bit makes the system noticeably slower.

Conversely, what would it hurt to put export XLIB_SKIP_ARGB_VISUALS=1 in the firefox start-up script? Would it change the appearance or functionality of anything in any way?

Revision history for this message
R. Pereira Braga (rpereira) wrote :

I use 3D extensions (AIXGL, Beryl), my graphic chipset board support 24-bit mode (Intel 955GMA) and the crashes continues.

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi,
Firefox still crashes with me, even after trying all patches above,
whether it be disabling composite (which I have to do anyway since it clashes with fglrx),
or adding XLIB_SKIP_ARGB_VISUALS=1 in /etc/firefox/firefoxrc.

Nothing works.

Revision history for this message
Ramaddan (ramaddan) wrote :

Sorry, forgot to mention, I'm still using Flash version 7.

Revision history for this message
Tomasz Czapiewski (xeros) wrote :

I have installed flashplayer plugin 9 beta 2 from labs.adobe.com site and it looks that this bug in flashplayer has been fixed there.
Firefox works without problems now in 16bit depth and without XLIB_SKIP_ARGB_VISUALS setting.
Now we need to get this packaged for ubuntu.

Revision history for this message
Daniel Robitaille (robitaille) wrote :

It's not an official solution, but Seveas's Ubuntu repositories contains Flash 9 packages for both Dapper and Edgy:
   http://seveas.imbrandon.com/

Revision history for this message
Stephan (stephan-doerner) wrote :

Here's another repository, especially for German users:

http://www.geole.info/Repository-fuer-Debianpakete-deb.9.0.html

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi,
I'm still getting the crashes though, even with this new beta version.
Or is there another problem with Firefox that I'm missing?

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 361342 has been marked as a duplicate of this bug. ***

Revision history for this message
nebulae (nebulae) wrote :

I'm having the same problem. Ive tried every fix listed here, and Im using flashplayer 9 from adobe labs. Ive been trying to get this fixed for a few days now, because I was in the middle of working on a project when i switched to ubuntu, and now I can't load it without firefox (and mozilla, and Galeon, etc. obviously a flashplayer issue ) crashing. I have, however, narrowed down the code that the crash happens ( the only error the browser gives me is "segmentation fault" ):

basically, I'm using javascript to talk to flash and open up a socket connection to a service listening for it:

this.connect=function(url,port){
            __checkFlash(); // checks the flashplayer version
            __flash.SetVariable("__serverUrl",url);
            __flash.SetVariable("__serverPort",port);
            try {
                // boom here. - of course, nothing is alerted, no exception caught.
                 __flash.TCallLabel("_root","__connect");
            } catch(e){
                alert(e.description);
            }
            var sent = __flash.GetVariable("__sentinel");
            return sent;
        };

ANY fix for this would be so completely appreciated - currently working through remote desktop into my windows machine, and needless to say, not loving it :-)

Revision history for this message
nebulae (nebulae) wrote :

Ive come across a temp fix, I can successfully run firefox through wine after finding this how-to - http://www.howtoforge.com/ubuntu_flash_player - I skipped over the installing flashplayer 8.5 section and installed it through the browser prompt instead and everything seems to be working ok. This will do, I guess, until adobe provides us with a more stable flash player :-)

Revision history for this message
MarioGonzalez (gonzalemario) wrote :

 I confirm this bug. I've got ubuntu edgy installed in my machine and I think IMO this is _not_ a "medium importance" bug, it's a "critical bug" instead. If you've got 2 or more firefox windows open or lots of tabs open, all of them are closed, if one of them start to load a page with flash content.

  Sorry but, firefox is useless with that bug :(

Revision history for this message
John Stevens (jsteve54302) wrote :

Stats:
Ubuntu Edgy 6.10 / Beryl
Firefox 2.0
Xorg set to 24bit Color (no other color depths defined in xorg.conf)
AMD 64 X2 4800+
4 GB Dual Channel RAM
107 GB Ubuntu Partiton (7.04GB used)
EVGA GeForce 7950 GT KO 512 MB GDDR3 (with nVidia's most recent _STABLE_ drivers)

I agree. Firefox is at best useless with these problems. If you're running a web-based admin app when Firefox crashes, you could even do enough damage to your system to require a complete reinstall of linux, or at least make it very difficult to fix. To make things worse, Beryl requires both ARGB_Visuals and Composite to function proberly, and with Edgy and the new nVidia drivers making Beryl much easier to install, the number of people running it is growing very rapidly, making these workarounds completely unacceptable. This needs to be fixed, and yesterday if not sooner. Another problem that seems related (at least on my system) is that Firefox sometimes slows to a crawl, grabs almost 100% of _both_ CPU core's cycles, and then freezes entirely on the next navigation (or exit) attempt, after contacting the site I'm navigating to but before starting to redraw the screen, and with no crash report generated. The only way to get Firefox back when this happens is to force-quit the active window and kill every process containing the string "firefox" in it's name with Gnome System Monitor. BTW, this is my second attempt at posting, as Firefox crashed during my first. I'm starting to feel like I'm back in M$ Windoze :(

I would simply remove all Flash support, but I use a number of sites that do not function without it, including, it seems, my bank's online banking services. I don't think very many other people would want to remove Flash, either.

Here's the crash report (WARNING: Full crash report - 16+ MB):

Revision history for this message
Michael R. Head (burner) wrote :

If flash is critical and you really need ARGB visuals for firefox, consider using the edgy-backports. The Flash beta 9 there works well.

Ian Jackson (ijackson)
Changed in firefox:
assignee: ijackson → nobody
David Farning (dfarning)
Changed in firefox:
assignee: nobody → mozillabugs
Revision history for this message
Rolf Leggewie (r0lf) wrote :

bug 62988 and bug 14911 are dupes. Both have quite a number of other reports marked as dupes to them which is why I don't feel like rectifying the situation (Malone is severely broken here and requires lots of manual intervention)

Changed in flashplugin-nonfree:
status: Unconfirmed → Confirmed
Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

*** Bug 366805 has been marked as a duplicate of this bug. ***

Revision history for this message
SteveCoast (steve-asklater) wrote :

This is getting very stupid. :-)

I've just upgraded to FF 2.0.0.1 and it's overwritten the manual patch to fix it, and started crashing again.

When is this going to get fixed? Just imagine all the people without a web browser, or people I've installed ubuntu for who now thing it's rubbish because 'the internet crashes all the time'.

What has to be done to close this bug? How can I help? :-)

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

SteveCoast: use the flashplugin-nonfree from backports.... this bug is really in flashplugin and fixed upstream since early November.

Changed in flashplugin-nonfree:
importance: Undecided → Medium
Revision history for this message
Daniel T Chen (crimsun) wrote :

The flashplugin-nonfree portion is already fixed in 7.04.

Changed in flashplugin-nonfree:
status: Confirmed → Fix Released
Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 360835 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Marek-must (marek-must) wrote :

*** Bug 368286 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

*** Bug 369325 has been marked as a duplicate of this bug. ***

Revision history for this message
CH (yogich) wrote :

The following was the case with Dapper, which also had the Firefox crash problem:

After seeing the problem, post-performance of 'apt-get dist-upgrade'... I saved all the downloads, recovered the previous day's backup and commenced, on a hunch, to manually upgrade Firefox, rather than upgrading the whole enchalada at once (as I usually do, with 'apt-get dist-upgrade'). Instead, I performed 'apt-get install firefox' after the downloads were all completed.

The result was that the 'mozilla-firefox' package was removed ...and with that, the flash plugin/Firefox bug was also removed. Subsequent 'apt-get dist-upgrade' then upgraded the remaining packages --minus mozilla-firefox, of course.

Revision history for this message
azteech (stevep.) wrote :

I am running stock 5.10 (breezy), with stock FF 1.5.0.9 (came on Breezy cd). I installed the flashplayer plugin 9 from labs.adobe.com site.
No upgrades to 5.10, or FF have been done, except for the flashplayer addition.
It was recommended I follow the fixes listed in http://ubuntuforums.org/showpost.php?p=1673725&postcount=23 , which I have done.
Color Depth was already set to "24" (Nvida GeForce4 mx 4000 (PCI) 128 mb card (using supplied drivers), running at 1280x1024/75hz resolution); and, there is no composit section listed in my /etc/X11/xorg.conf file, so there was no need to comment that out.
So only solution I could do was to add the extra line "export XLIB_SKIP_ARGB_VISUALS=1 " in the /etc/firefox/firefoxrc file. After rebooting computer, Firefox still crashes.

Waiting on my 6.06 LTS cds (on dial up do downloading is not an option). At this point, I am lost for possible solutions at this point. Any help will be appreciated.

David Farning (dfarning)
Changed in firefox:
assignee: mozillateam → mozilla-bugs
Revision history for this message
Alex Latchford (alex.latchford) wrote :

Howdy guys,

Can I ask if anyone is still experiencing any trouble with this bug under Flash 9 in a Support version of Ubuntu, (Dapper, Edgy or Feisty). This bug has been open for a while now and it would be amazing to show we have finally managed to close it.

I will check back in a month or so.

Thanks, Alex.

Changed in firefox:
assignee: mozilla-bugs → admin-yawnster
Revision history for this message
Michael R. Head (burner) wrote :

The Flash 9 packages and backports fixed it on all my systems.

Revision history for this message
Jolande Poel (phoeganleisha) wrote :

I'm running Ubuntu 7.04 and I still have this bug. I tried the fixes except Flash 9 packages and backports, since I don't know how to do that.

I have a AMD64 machine. Swiftfox (installed via automatix) and epiphany don't crash on flash sites.

Revision history for this message
Jolande Poel (phoeganleisha) wrote :

I take that back, epiphany crashed after a few minutes.

Revision history for this message
Alex Latchford (alex.latchford) wrote :

Hmm on Feisty Flash 9 is the default version.. Strange..

Can you please check which version of flash you are using Jolande, you can do this by typing 'about:plugins' in the address bar.

Thanks, Alex.

Revision history for this message
Jolande Poel (phoeganleisha) wrote :

My screen resolution is 800x600 and I can't change it back, the screen resolution thingy gives me the option 800x600 and 640x480.

My flashplayer is version 9 rc3, from what I recall. Firefox now refuses to open altogether. Every time I select it in the menu, it says it's starting up, and opens a swiftfox window.

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 14911] Re: Flash plugin problem with ARGB visuals causes crash

Jolande Poel <email address hidden> writes:

> I'm running Ubuntu 7.04 and I still have this bug. I tried the fixes
> except Flash 9 packages and backports, since I don't know how to do
> that.
>
> I have a AMD64 machine. Swiftfox (installed via automatix) and epiphany
> don't crash on flash sites.

Sorry, we don't support automatix, nor 32bit versions of Firefox and
other browsers. Flash doesn't work on amd64 at all.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Jolande Poel (phoeganleisha) wrote :

Can I disable it in any way so my browser won't crash?

Revision history for this message
Alexander Sack (asac) wrote :

On Mon, Apr 23, 2007 at 06:33:37AM -0000, Jolande Poel wrote:
> My screen resolution is 800x600 and I can't change it back, the screen
> resolution thingy gives me the option 800x600 and 640x480.
>
> My flashplayer is version 9 rc3, from what I recall. Firefox now refuses
> to open altogether. Every time I select it in the menu, it says it's
> starting up, and opens a swiftfox window.
>

Don't use flashplayer on amd64 ... if you installed from
adobe/macromedia site you probably have to manually remove flash
related files from ~/.mozilla/plugins.

Please remember not to install plugins from non-ubuntu sources in
future, as those will often make your system unstable.

 - Alexander

Revision history for this message
Alexander Sack (asac) wrote :

in progress for us as upstream bug is confirmed.

Changed in firefox:
status: Confirmed → In Progress
Revision history for this message
Jolande Poel (phoeganleisha) wrote :

I didn't install it from another source ( think), and I know that now (first few tries with ubuntu my system crashed).

Revision history for this message
Alexander Sack (asac) wrote :

On Mon, Apr 23, 2007 at 09:33:50AM -0000, Jolande Poel wrote:
> Can I disable it in any way so my browser won't crash?
>

You could uninstall flashplayer package. If it just happens on some
sites you could install the noflash (maybe named a bit different)
extension from addons.mozilla.org, which will allow you to enable
flash only on some pages.

 - Alexander

Revision history for this message
Enrico Pangan (eipangan) wrote :

This still happens on my Ubuntu 7.04 running Firefox 2.0.0.3 using Shockwave Flash 9.0 r31. This can get VERY irritating. I tried all those ARGB "fixes" and color depth fixes but it still doesn't work.

Revision history for this message
Drew Woodard (drew-woodard) wrote :

Like the person above me I am also still getting these crashes. I am on Kubuntu Feisty, clean install as of a few hours ago, nothing installed manually, all from the repos.

(relevant software)
Firefox 2.0.0.3
flash 9.0.31.0.2ubuntu1
nvidia-glx 1.0.9631

(relevant hardware)
nvidia geforce 7800gt
msi p6n sli-fi motherboard - nforce 650i chipset - realtek hda audio chipset

Everything is 32bit, I can trigger this fairly reliably by going to google video, loading a video, letting it play for a few seconds then hitting the page-back button while the video is still playing. This will lock the browser around 10% of the time. It also seems to be more of a flash problem than a Firefox problem since I can get the same crashing behavior in konqueror.

I have also tried the "XLIB_SKIP_ARGB_VISUALS=1" options without effect, and my xorg file has 24bit color as the default, and the only mode available uses 24bit. XGL/Beryl stuff has not been installed on this machine so there is nothing fancy in that regard.

Changed in firefox:
assignee: alex.latchford → mozilla-bugs
Revision history for this message
Drew Woodard (drew-woodard) wrote :

my previous post is probably unrelated to this specific bug, it appears other people are experiencing the same flash crashing issues as I am but it seems unrelated to the ARGB stuff. forum post of other people with this issue is at http://ubuntuforums.org/showthread.php?t=340811

Revision history for this message
Akkana Peck (akkzilla) wrote :

I've been having this problem since edgy, and still see it after upgrading to feisty (with a flash 7 plug-in that works in other OSes). Either the XLIB_SKIP_ARGB_VISUALS=1 or changing depth to 24 (which it should have been anyway, no idea why edgy set to 16) seems to fix it.

Vaio SR17, S3 Savage video card. Happened with a homebuilt firefox as well as in feisty's package.

Revision history for this message
In , Aleksej (aleksejrs) wrote :

*** Bug 359639 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

*** Bug 390303 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Adam Guthrie (ispiked) wrote :

*** Bug 390758 has been marked as a duplicate of this bug. ***

Revision history for this message
mechanized (mechanized) wrote :

yep the same thing here
ubuntu 7.04 and flash crashes much when on youtube.com my colordepth is by default 24

Revision history for this message
In , John Vivirito (gnomefreak) wrote :

This was fixed in Flash 9, can we please close this bug if noone can still reproduce this?

Revision history for this message
John Vivirito (gnomefreak) wrote :

Closing bug due to no update on status from upstream or here in ~5 months Please reopen if you still have issues with this bug and can reproduce it steadily. this was fixed in flash so you should no longer see this because i think most of the issue was flash if i remember correctly.

Revision history for this message
John Vivirito (gnomefreak) wrote :

invalid due to no progress from fix commited.

Changed in firefox:
assignee: mozilla-bugs → nobody
status: In Progress → Invalid
Revision history for this message
In , Flatschen (flatschen) wrote :

yes i can repoduce it by doing following:

- start firefox

- go to youtube

- search for "crysis"

- click on the video titled "Crysis Physics - 3'000 barrel explosion made with SandBox 2"

- click on video titled "Crysis - Mass Physics" at the list right

- if firefox didnt crash then go back to the first video with "backspace" or the back-button and select the video "Crysis - Mass Physics" again

... now firefox should crash!

my specs: ubuntu hardy, firefox 3.0, flash-nonfree 9

Revision history for this message
philbert (philbert) wrote :

to reproduce the bug please follow the steps below:
- start firefox

- go to youtube

- search for "crysis"

- click on the video titled "Crysis Physics - 3'000 barrel explosion made with SandBox 2"

- click on video titled "Crysis - Mass Physics" at the list right

- if firefox didnt crash then go back to the first video with "backspace" or the back-button and select the video "Crysis - Mass Physics again

... now firefox should crash!

my specs: ubuntu hardy, firefox 3.0, flash-nonfree 9

Revision history for this message
In , Vseerror (vseerror) wrote :

does it fail with flash v10?

Revision history for this message
In , joejoseph00 (solid-solidcomputing) wrote :

Originally, I had the same issue Dominik Dresel reported at the very top. The issue reported here:

XServer uses the composite extension und has the color-depth set to 16 bit.
If the composite extension is switched off or the color-depth is set to 24 bit,
the problem doesn´t occour.

Why is this important? Well, lots of people still have older hardware that they want to use, such as my old Toshiba notebook that still works good as long as it's in 16 bit color mode.

In any case, the plugin fails in this configuration and crashes the browser. Perhaps there is a way just to terminate the plugin without crashing the browser in this case (secondary issue)

Primary issue is the XServer settings vs compatibility with the plugin in 16 bit color mode.

Revision history for this message
Ofer Chen (oferchen) wrote :

Still crashing Ubuntu 9.10 AMD64 + Firefox 3.6

Changed in firefox:
importance: Unknown → Critical
Revision history for this message
In , Smadayag (smadayag) wrote :

this should have been resolved in FP9. closing>resolved>worksforme...

Changed in firefox:
status: Confirmed → Invalid
Revision history for this message
In , Automation-x (automation-x) wrote :

Version and milestone values are being reset to defaults as part of product refactoring.

To post a comment you must log in.