Bug 1336

Summary: firefox crashes when extension Composite is enabled
Product: xorg Reporter: Jose <braket>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: high CC: pip, roland.mainz
Version: 6.8.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jose 2004-09-11 14:14:14 UTC
Enabling extension Composite makes firefox crash when accesing certain sites
such as:

www.cnn.com
www.theregister.co.uk
www.shockwave.com

If I disable Composite from /etc/X11/xorg.conf and restart the xserver firefox
works fine and those pages can be accessed normally.

To reproduce just enable Composite in /etc/X11/xorg.conf
Running firefox from a terminal produces the following output:

-------- begin of output -----------
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 85 error_code 8 request_code 144 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.)
-------- end of ouput -----------

The machine is a Pentium M laptop with an Intel 855GM card. I'm running gentoo
with kernel 2.6.8.1 (development-sources-2.6.8.1). I also tryed kernel 2.6.7
(gentoo-dev-sources-2.6.7-r13) and the problem persists.
Both kernels are using i915 driver for DRM. Obtained from patch:
(http://www.skynet.ie/~airlied/patches/dri/i915_linux.diff)
Comment 1 Jose 2004-09-11 18:12:27 UTC
I forgot to mention, I'm using firefox-0.9.3
Comment 2 Adam Jackson 2004-09-13 20:28:35 UTC
try running firefox like so:

export XLIB_SKIP_ARGB_VISUALS=1 ; firefox

if this fixes it, then this is NOTABUG, the flash plugin is buggy.
Comment 3 Jose 2004-09-13 21:29:08 UTC
That fixes it, thanks a lot.
Comment 4 Adam Jackson 2004-12-01 19:04:23 UTC
closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.