Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#17020 - [gtk2] a lot of "Gdk-WARNING **: XID collision, trouble ahead" messages
Attached to Project:
Arch Linux
Opened by Baeyens (berbae) - Thursday, 05 November 2009, 15:56 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 November 2009, 21:13 GMT
Opened by Baeyens (berbae) - Thursday, 05 November 2009, 15:56 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 November 2009, 21:13 GMT
|
DetailsDescription:
Within about 6 hours using Firefox, I got 21374 messages of "XID collision" dumping the log files. This problem is not new with gtk2 2.18 and it is an upstream problem : see http://bbs.archlinux.org/viewtopic.php?id=76527 But as this annoying message is there only for debugging purpose, and it was not suppressed yet with this new gtk2 release, I suggest to patch the source to prevent this warning to appear and to dump the log files with useless warnings. I propose this patch gdkxid.patch : --- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200 +++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200 @@ -56,10 +56,10 @@ if (!display_x11->xid_ht) display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash, (GEqualFunc) gdk_xid_equal); - +/* if (g_hash_table_lookup (display_x11->xid_ht, xid)) g_warning ("XID collision, trouble ahead"); - +*/ g_hash_table_insert (display_x11->xid_ht, xid, data); } and the modified PKGBUILD attached. I rebuild the gtk2 package personnally with the patch, but it would be nice that others benefit also. |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 08 November 2009, 21:13 GMT
Reason for closing: Fixed
Additional comments about closing: 2.18.3-2.
Sunday, 08 November 2009, 21:13 GMT
Reason for closing: Fixed
Additional comments about closing: 2.18.3-2.
PKGBUILD
And using only Firefox, the XID collision messages flood log files, and this is useless for me.
It would be better to have that test enabled as a debugging option for developpers.
Haven't you noticed the big number of these messages just using Firefox ?
It would be nice like that.
Thank you very much for considering that change.
Somehow this warning message is triggered in a loop as soon as you enter a website with flash content. i'll disable the warning for now, as it's annoying to see your console or logs filled with a debug warning.