Closed Bug 265866 Opened 20 years ago Closed 20 years ago

Firefox crashes anytime a page tries to display flash.

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 258497

People

(Reporter: smithj, Assigned: bugzilla)

References

()

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041014 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041014 Firefox/0.10.1

When first prompted with a flash, I used the "Find Plugins" feature, which found
and installed a plugin. When I refreshed the page, it displayed normally. Ever
since then, whenever I have gone to a flash page, Firefox immediatly closes
(without any promting or warning).

Reproducible: Always
Steps to Reproduce:
1. Go to website requiring flash.
2. Firefox crashes
Actual Results:  
Firefox dies.

Expected Results:  
Played flash, or at least not died.

I am using gentoo linux, and this version of firefox (Preview Release) was
installed using "emerge mozilla-firefox".
Keywords: crash
I (with much help from Jan Klopper) seem to have isolated the bug somewhat.

when the following is in my xorg.conf, the crash occurs. when this is omitted,
it does not

Section "Extensions"
      Option "Composite" "enable"
      Option "RENDER" "enable"
EndSection 

oh, and i JUST NOW upgraded to the new version (1.0 PR1) and the problem remains
Hello, Flash Player engineering here. We haven't investigated this yet, but I 
have some early questions.

I am guessing that enabling the RENDER extension is what is causing the crash, 
since I've seen many other apps crash when RENDER is enabled (I'm guessing this 
is just because of the relative youth of RENDER and thus the relative 
immaturity of both code that implements it and code that uses it).

However, I'm not sure whether the Flash Player uses the RENDER extension at 
all. I found http://keithp.com/~keithp/render/protocol.html but it's not 
immediately clear to me what I would search for in our codebase to determine 
whether we're using RENDER.

Can anyone at Moz comment as to whether Firefox uses RENDER, and, if so, 
whether the Flash Player's attempts to draw could cause crashes due to bugs in 
Firefox? If I end up proving that we don't use RENDER, and Firefox does, then I 
feel like it's more of a Firefox bug that the Flash Player crashes when Firefox 
is using RENDER. There could of course be some subtlety that I'm missing...
Hello,

got the same Problem with Firefox 1.0, Windows XP SP1
On Windows XP/SP2, I installed Firefox with user agent : Mozilla/5.0 (Windows; 
U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I went to www.macromedia.com and crash in the flash plugin. However, the flash 
plugin wasn't installed into FireFox's folder. From another browser, I 
installed Flash (7.0r19) into FireFox, and tried again. 
http://www.macromedia.com/ now works, along with all other sites I navigate to.
I have the same problem; updating to Flash 7.0 r25 didn't fix it.
In xorg.conf, my settings are:

Section "Extensions"
     Option "Composite" "Enable"
EndSection

I have NVidia, and in the device section I use:

Option      "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

Whenever I visit a site with flash using Firefox, it crashes with the message:

The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 112 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.)

When I remove the Composite Extension, it works fine.

(In reply to comment #2)

> I am guessing that enabling the RENDER extension is what is causing the crash, 
> since I've seen many other apps crash when RENDER is enabled

I encountered this bug as well, and the only extension in my xorg.conf file --
and the only line I removed to fix the bug -- was the "Composite" line. I've
heard that the RENDER extension is loaded by default in Xorg 6.8 (which I'm
using), but either way, I didn't have to change that to affect the bug.

Although I suppose RENDER could be included in the Composite extensions or some
such thing, meaning that I _did_ disable it when I removed that line. In which
case, disregard this message.

*** This bug has been marked as a duplicate of 258497 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.