PDA

View Full Version : Lots of firefox XID collision errors while watching flash


dd_wizard
10th March 2010, 03:14 AM
Is anybody else getting lots of ~/.xsession errors while watching flash videos? The system is a Toshiba laptop with up to date F13. I'm using Firefox 3.6.1 from the F13 repo along with Leigh's 64 bit flash plugin. Running the following commad:
> .xsession-errors ; watch -n 10 "grep 'firefox.*XID collision' .xsession-errors | wc -l"
while watching the intro on Adobe's flash site (http://www.adobe.com/products/flashplayer/) generated 441 and 553 GDK warnings in 10 seconds. That's 44-55 warnings/second. If you want to duplicate that test, watch needs the "..." and grep needs the '...'.

Watching somewhere between half an hour and an hour of flash generated this huge ~/.xsession-errors file:
[gene@Mobile-PC ~]$ ll .xsession-errors.save
-rw-------. 1 gene gene 4554056 Mar 9 17:38 .xsession-errors.save

[gene@Mobile-PC ~]$ grep -m 1 'firefox.*XID collision' .xsession-errors.save
(firefox:2118): Gdk-WARNING **: XID collision, trouble ahead

[gene@Mobile-PC ~]$ grep 'firefox.*XID collision' .xsession-errors.save | wc -lc
73283 4470263

I've seen that error before, but not to this degree. It only happens while watching flash as far as I can tell.

dd_wizard

jvillain
10th March 2010, 03:45 AM
Man walks into a doctors office and says doctor it hurts when I do this. .Doctor says then don't do that.

Know what I'm saying?

dd_wizard
10th March 2010, 03:48 AM

Don't watch flash? LOL, that's hard to do any more. It's all over the web. :p

dd_wizard

GoinEasy9
10th March 2010, 04:04 AM
30 seconds on a you tube video gave me about 20:
(npviewer.bin:4529): Gdk-WARNING **: XID collision, trouble ahead
(npviewer.bin:4529): Gdk-WARNING **: XID collision, trouble ahead etc.

I wouldn't have noticed if you didn't point it out.

---------- Post added at 11:04 PM CST ---------- Previous post was at 11:02 PM CST ----------

Same results in F14/Rawhide also.

Hlingler
10th March 2010, 04:11 AM
You're obviously running KDE, because GNOME (last time I checked) limits ~/.xsession-errors to 2500 lines (hard-coded). LXDE (SLIM) has dispensed with it entirely. "If we ignore the problem, it will go away". :D

A bit off-topic, but... Want to see lots more? Just start Adobe Acrobat Reader - I still see about ~10000 lines (literally) of whining every time it opens - and that's when it works. Acrobat Reader inside FireHog should be quite a show... . You got lots of HDD space free on /home, right?

V

P.S. IIRC, my record was an .xsession-errors about 1.3 GB (!!!). That was when KDE4 was in testing (bet you remember that too).

Dies
10th March 2010, 04:39 AM
That's an old bug. If I remember correctly, it's a gtk issue.

jpollard
10th March 2010, 05:00 AM
Whatever...

It kills the use of Hulu though. (at least for me it does)

GoinEasy9
10th March 2010, 05:08 AM
Log rotates after 1.2Mb. Wow, another revelation, I have Konversation running 24/7 on this box (with Gnome desktop) and the knotify errors are incredible. I guess logrotate works, since I've never had a problem running out of space.

dd_wizard
10th March 2010, 06:26 PM
@Hlingler:

I'm running gnome/openbox, and .xsession-errors is moved to .xsession-errors.old and truncated to 0 only on reboot. Maybe it's metacity, not gnome that's doing that? You have me curious.

I added a comment to this Fedora Firefox bug (https://bugzilla.redhat.com/show_bug.cgi?id=533959), and this gnome GDK bug (https://bugzilla.gnome.org/show_bug.cgi?id=590690). Hopefully, someone notices. Also, this Arch Linux thread was interesting (http://bbs.archlinux.org/viewtopic.php?id=76527). I tried running "firefox --sync" as suggested in another thread, but the behaviour was unchanged.

The only way I've found to avoid the warnings in ~/.xsession-errors is to run "nohup firefox 1>/dev/null 2>&1 &" from a command line. Does this warrant a new bug since the two I updated involve FF crashing, not a huge error log?

dd_wizard

Hlingler
10th March 2010, 08:08 PM
Emm... Hmm... Umm... dunno. Not sure. Got me. I just wanted to see if you could top my record for size of ~/.xsession-errors. :D

Got lots of spare HDD space on /home, right?

V

dd_wizard
10th March 2010, 08:11 PM
Hrm, at around 9 MB an hour, I'd have to watch way to many flash videos to keep my sanity to top 1.3 GB. I think your record is safe. ;)

dd_wizard

glennzo
11th March 2010, 12:20 AM
For what it's worth, same thing with .xsession-errors on my Toshiba laptop. Been that way for a long time.

dd_wizard
11th March 2010, 12:57 AM
I finally edited my browser button to launch an executable in ~/bin that redirects stdout and stderr to /dev/null. I ended up doing that for gnome-system-monitor too, it generates endless messages as well.

dd_wizard