lots of "Gdk-WARNING **: XID collision, trouble ahead" with flashplayer

RESOLVED WORKSFORME

Status

()

Core
Plug-ins
RESOLVED WORKSFORME
8 years ago
3 years ago

People

(Reporter: Hideo Oshima, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

8 years ago
Firefox outputs lots of "Gdk-WARNING **: XID collision, trouble ahead" to console
when opening some pages.

Steps to reproduce:
1. Start Firefox
2. Open http://d.hatena.ne.jp/nyama/20090605

My environments:
Distribution: Debian GNU/Linux unstable
GTK+: 2.16.2-1
GLIB: 2.20.3-1
GNOME: 2.26

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090611 Minefield/3.6a1pre
This warning was added for http://bugzilla.gnome.org/show_bug.cgi?id=581526

I didn't expect it to show up so soon after startup or to be reproducible on particular pages (which makes me wonder whether there is another problem also).
Component: General → Widget: Gtk
Product: Firefox → Core
QA Contact: general → gtk

Comment 2

8 years ago
I also get floods of these messages on my console from time to time on http://www.pandora.com/#/ (also on debian w/gtk+ and glib versions as above - firefox thinks it is

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10

Comment 3

8 years ago
I occasionally get these messages as well. And when it happens, the the browser seems not responding to key press(ex: typing '/' in page to search, or typing in the address bar).

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090613 Firefox/3.6a1pre

Comment 4

8 years ago
Not reproduced on Fedora 11 x86_64
Distribution: Fedora 11
gtk2: 2.16.1-4
glib2: 2.20.1-1
libgnome: 2.26.0-1

Mozilla/5.0 (X11; U; Linux x86_64; ja-JP; rv:1.9.2a1pre) Gecko/20090615 Fedora/3.6a1pre-0.a1pre.2009061416.hg_5d75052e7f69.fc11 Minefield/3.6a1pre
(In reply to comment #4)
The warning was added before gtk+-2.16.2, but is not in gtk+-2.16.1.  
http://git.gnome.org/cgit/gtk+/commit/?h=gtk-2-16&id=339298b638ae76c546717f2136970b93438295a9

(Whatever is causing the warning is most likely happening in earlier versions also though.)

Comment 6

8 years ago
(In reply to comment #5)
gtk+-2.16.2 is now updates-testing stage in Fedora 11.
So I think I'll also face this issue shortly.

Comment 7

8 years ago
Now gtk+ has been updated to 2.16.2 on Fedora 11.
I can see the message at every pages which have flash content.

flash: 10.2.22.87 (x86_64 plugin from labs.adobe.com)

I cannot test pandora.com mentioned at the comment #2 because I'm outside of the US.  Does the site have flash content?


Test site: http://www.adobe.com/products/flashplayer/
1. When the flash movie is playing, we can get the message.
2. When we move to the other firefox tabs, we cannot get the message.
3. When we stop the flash movie with the button in the flash content, we cannot get the message.
4. When we move the mouse cursor over the button in the flash content, we can get the message.
5. When we move the mouse cursor over the top menu (Solution, Products, etc.), we can get the message.

So I suppose we can get the message when:
  * The content have flash
  * The flash content is really visible. (When the flash content is embedded on the content of inactive firefox tab or is hidden by scrolling, I cannot see the message.)
  * The page which have the flash content is redrawn (flash movie, popup in HTML, etc.)

Comment 8

8 years ago
Filled at
https://bugs.adobe.com/jira/browse/FP-2253

Updated

8 years ago
Duplicate of this bug: 499520

Comment 10

8 years ago
Takanori: Pandora uses flash

Comment 11

8 years ago
Afaik this error starts appearing after upgrading to libX11-1.2+ and libxcb-1.2+ (and recompiling affected libs as libxcb-xevie and libxcb-xlib have gone away - including gtk+)
Filed http://bugzilla.gnome.org/show_bug.cgi?id=590690
Summary: Firefox outputs lots of "Gdk-WARNING **: XID collision, trouble ahead" → lots of "Gdk-WARNING **: XID collision, trouble ahead" with flashplayer

Comment 13

8 years ago
Getting this bug on Fedora 12 updated as of 3Dec9.
Fx (FWIW) 3.5.5 and prealpha is VERY slow on all pages that have any flash content or heavy .js.

(firefox-bin:6103): Gdk-WARNING **: XID collision, trouble ahead

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a1pre) Gecko/20091203 Minefield/3.7a1pre GTB6

Updated

7 years ago

Comment 14

7 years ago
Can anyone running up against this issue view content on Hulu? 

I'm trying to work out if I have this bug plus some other bugs(s) or if this issue is it. Thanks.

Comment 15

7 years ago
I have 472 lines of
(firefox:3053): Gdk-WARNING **: XID collision, trouble ahead
and that's for the currently running firefox PID.
Thing is, I have no idea what URL causes firefox to eject these messages.
I am running firefox-3.5.8-1.fc12.i686

Comment 16

7 years ago
ebay.com is ONE of the sites that causes this message to fill my
~/.xsession-errors, and if I have a gnome-terminal open, it fills it too.

Comment 17

7 years ago
SeaMonkey and Chatzilla crash about once a day. 
'~$ strace -e trace=open seamonkey' produces: "(seamonkey-2.0-bin:2766): Gdk-WARNING **: XID collision, trouble ahead. The program 'seamonkey-2.0-bin' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 7778729 error_code 158 request_code 148 minor_code 7)
  (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.)
Segmentation fault: --- SIGCHLD (Child exited) @ 0 (0) ---"

Comment 18

7 years ago
Open a terminal and run Firefox from there to show results of what's going on, that's when I first noticed. Running Lucid Lynx and Firefox 3.6.3 i thought this would happen on the old firefox but the new one seriously? I don't what the firefox-bin:2366 is but thats showing up as well. 


(firefox-bin:2366): Gdk-WARNING **: XID collision, trouble ahead

Comment 19

7 years ago
(In reply to comment #17)
> SeaMonkey and Chatzilla crash about once a day. 
> '~$ strace -e trace=open seamonkey' produces: "(seamonkey-2.0-bin:2766):
> Gdk-WARNING **: XID collision, trouble ahead. The program 'seamonkey-2.0-bin'
> received an X Window System error. This probably reflects a bug in the program.
> The error was 'RenderBadPicture (invalid Picture parameter)'.

You're experiencing bug 522635.
Hi,

On Ubuntu, I've also this bug 
(seamonkey-2.0-bin:1751): Gdk-WARNING **: XID collision, trouble ahead.

I have same bug with 2.1a2 and 2.1a3pre  officials builds from mozilla.org

For Bad Picture on Ubuntu : https://bugs.launchpad.net/bugs/575160

Comment 21

7 years ago
Created attachment 456043 [details]
more description of how to reproduce.

occurs in flashplayer on Ubuntu 10.04 LTS, but not in Fedora 13.

Comment 22

7 years ago
Created attachment 456360 [details]
Annotated list of .xsession errors for IceWeasel in Knoppix 6.2.1

Added an attachment of sites with Flash content.

Some sites don't produce the XID collision warning, but some do.
Problem not always for video, but always for Flash, video or otherwise.
Hulu and Adobe are the most prolific of the sites I've found.

IceWeasel does NOT crash, just fills up .xsession-errors.
A small-megabite problem over a few weeks time, not a gigabyte problem.

Just surfing over some sites, like NY Times, some errors are produced.  These
will accrue as long as the browser stays at such a site, whether you are aware of the flash content or not.

Comment 23

7 years ago
started  Namoroka  (  firefox  updated  version  for  Linux )  
ran  firefox  in  terminal    
started    youtube  &  facebook    both  have  flash    
terminal  now  reads  
(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead

(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead

(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead

(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead

(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead

(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead

(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead

(<unknown>:3009): Gdk-WARNING **: XID collision, trouble ahead
definately  a  flash  problem    
did  the  same  with   the  beta
(Reporter)

Comment 24

7 years ago
I cannot reproduce with Flash Player 10.2.161.

Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101109 Firefox/4.0b8pre
I get the following console error: 

(firefox-bin:7065): Gdk-WARNING **: XID collision, trouble ahead


I can still reproduce this on:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.18) Gecko/20110319 Firefox/3.5.18

Shockwave Flash 10.2 r152

On any site that contains flash:

http://www.amazon.com/
http://www.msn.com/
http://www.yahoo.com/

Comment 26

6 years ago
A also get messages in my log, e.g. on http://www.amazon.com/:
Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101206 SeaMonkey/2.0.11

Seamonkey started with:
seamonkey -safe-mode -other-switches
results in:
(seamonkey-2.0-bin:29905): Gdk-WARNING **: XID collision, trouble ahead

Shockwave Flash

    File name: libflashplayer.so
    Shockwave Flash 10.2 r153
(In reply to comment #26)
> A also get messages in my log, e.g. on http://www.amazon.com/:
> Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16)
> Gecko/20101206 SeaMonkey/2.0.11
> 
> Seamonkey started with:
> seamonkey -safe-mode -other-switches
> results in:
> (seamonkey-2.0-bin:29905): Gdk-WARNING **: XID collision, trouble ahead
> 
> Shockwave Flash
> 
>     File name: libflashplayer.so
>     Shockwave Flash 10.2 r153

Jan: Uninstall the current Flash-version & try the new beta-version from Adobe Labs:

http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer10-3/flashplayer10-3_b1_lin_030811.tar.gz is the Beta 3-version.

http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer10-3/flashplayer10-3_b1_debug_lin_030811.tar.gz for Debug-content.
In your users home-dir you should have a .mozilla-folder, in that you should have a plugins-folder. ~/.mozilla/plugins. Place the unziped so-file to that destination after you've uninstalled the Debian-package. You should do updatedb as root in Terminal to make sure it's recognized. You'll get new prompt when its finished. Note that this Beta-version only works on i586-archs. Don't ask ME why, ask Adobe Labs.

Comment 29

6 years ago
Thanks. Confirming that no logging is created with Shockwave Flash 10.3 d180 with my seamonkey.

Comment 30

6 years ago
... at least for amazon.
However http://d.hatena.ne.jp/nyama/20090605
yields similar messages, but on a differerent line number than I reported before:

(seamonkey-2.0-bin:7580): Gdk-WARNING **: XID collision, trouble ahead

apparently not everything is solved.
Ubuntu also has a bug report for this same issue please see:
https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/401823
(Reporter)

Comment 32

4 years ago
I can't reproduce this problem with recent Flash Player.
So I think we can close this bug.
This has been fixed/avoided by out of process plugins.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Component: Widget: Gtk → Plug-ins
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.