Last Comment Bug 497561 - lots of "Gdk-WARNING **: XID collision, trouble ahead" with flashplayer
: lots of "Gdk-WARNING **: XID collision, trouble ahead" with flashplayer
Status: RESOLVED WORKSFORME
:
Product: Core
Classification: Components
Component: Plug-ins (show other bugs)
: unspecified
: x86 Linux
: -- normal with 6 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
: 499520 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-11 05:38 PDT by Hideo Oshima
Modified: 2014-04-26 02:24 PDT (History)
27 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
more description of how to reproduce. (169 bytes, text/plain)
2010-07-05 06:00 PDT, Richard Snow
no flags Details
Annotated list of .xsession errors for IceWeasel in Knoppix 6.2.1 (2.35 KB, application/octet-stream)
2010-07-07 16:43 PDT, TJ Hoye
no flags Details

Description Hideo Oshima 2009-06-11 05:38:31 PDT
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
Comment 1 Karl Tomlinson (ni?:karlt) 2009-06-11 22:47:22 PDT
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).
Comment 2 David A Thompson 2009-06-12 16:06:46 PDT
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 ZHANG Yi 2009-06-13 05:34:08 PDT
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 Takanori MATSUURA 2009-06-14 17:59:30 PDT
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
Comment 5 Karl Tomlinson (ni?:karlt) 2009-06-14 18:43:11 PDT
(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 Takanori MATSUURA 2009-06-15 18:02:08 PDT
(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 Takanori MATSUURA 2009-06-18 18:09:37 PDT
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 Takanori MATSUURA 2009-06-18 18:24:41 PDT
Filled at
https://bugs.adobe.com/jira/browse/FP-2253
Comment 9 timeless 2009-06-22 01:30:14 PDT
*** Bug 499520 has been marked as a duplicate of this bug. ***
Comment 10 David A Thompson 2009-07-10 14:36:42 PDT
Takanori: Pandora uses flash
Comment 11 torindel 2009-07-28 15:28:18 PDT
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+)
Comment 12 Karl Tomlinson (ni?:karlt) 2009-08-03 17:38:42 PDT
Filed http://bugzilla.gnome.org/show_bug.cgi?id=590690
Comment 13 pleabargain 2009-12-04 02:38:10 PST
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
Comment 14 Joanmarie Diggs 2010-01-16 15:07:52 PST
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 JD 2010-03-26 20:23:02 PDT
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 JD 2010-03-26 23:54:34 PDT
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 Detlef Lechner 2010-05-17 03:13:24 PDT
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 Steve 2010-06-05 10:39:23 PDT
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 Micah Gersten 2010-06-05 20:23:37 PDT
(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.
Comment 20 Stéphane Grégoire (yamo) 2010-06-30 00:33:01 PDT
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 Richard Snow 2010-07-05 06:00:52 PDT
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 TJ Hoye 2010-07-07 16:43:21 PDT
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 Richard 2010-08-29 03:53:58 PDT
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
Comment 24 Hideo Oshima 2010-11-09 04:06:08 PST
I cannot reproduce with Flash Player 10.2.161.

Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101109 Firefox/4.0b8pre
Comment 25 Florin Strugariu [:Bebe] 2011-03-21 05:32:26 PDT
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 Jan Hoogenraad 2011-03-29 11:50:49 PDT
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
Comment 27 kristoffer.grundstrom1983@gmail.com 2011-03-29 15:15:11 PDT
(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.
Comment 28 kristoffer.grundstrom1983@gmail.com 2011-03-30 00:39:12 PDT
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 Jan Hoogenraad 2011-03-30 09:23:07 PDT
Thanks. Confirming that no logging is created with Shockwave Flash 10.3 d180 with my seamonkey.
Comment 30 Jan Hoogenraad 2011-03-30 09:28:09 PDT
... 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.
Comment 31 Benjamin Kerensa [:bkerensa] 2011-09-08 00:12:40 PDT
Ubuntu also has a bug report for this same issue please see:
https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/401823
Comment 32 Hideo Oshima 2013-06-10 01:03:53 PDT
I can't reproduce this problem with recent Flash Player.
So I think we can close this bug.
Comment 33 Karl Tomlinson (ni?:karlt) 2013-06-10 17:25:15 PDT
This has been fixed/avoided by out of process plugins.

Note You need to log in before you can comment on or make changes to this bug.