MASTER Firefox makes X run out windows

Bug #70872 reported by André Cruz
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Invalid
Medium
firefox (Ubuntu)
Won't Fix
High
Mozilla Bugs

Bug Description

Binary package hint: firefox

After letting firefox run for some days I started getting this error every time I tried to start an X application:

Xlib: connection to ":0.0" refused by server
Xlib: Maximum number of clients reached
cannot open display:

I then closed some applications so that I could use xwininfo and xlsclients.

andre@huge:~/downloads$ xlsclients
huge x-session-manager
huge gnome-settings-daemon
huge metacity
huge gnome-panel
huge gnome-volume-manager
huge nautilus
huge update-notifier
huge gnome-power-manager
huge gnome-cups-icon
huge evolution-alarm-notify
huge evolution-exchange
huge multiload
huge gweather
huge mixer_applet2
huge stickynotes_applet
huge gnome-screensaver
huge gnome-terminal
huge /usr/lib/tomboy/Tomboy.exe
huge /usr/lib/tomboy/Tomboy.exe
huge firefox-bin
huge notification-daemon
huge gnome-btdownload
huge gaim
andre@huge:~/downloads$

andre@huge:~/downloads$ xwininfo -root -children

xwininfo: Window id: 0x4d (the root window) (has no name)

  Root window id: 0x4d (the root window) (has no name)
  Parent window id: 0x0 (none)
     361 children:
     0x28a4236 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x28a4230 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x2e0dab2 "Terminal": ("gnome-terminal" "Gnome-terminal") 200x21+980+73 +980+73
     0x28a3b66 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x28a3b60 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x1ba07851 "gaim": () 10x10+-100+-100 +-100+-100
     0x28cd713 "Firefox": ("Gecko" "Firefox-bin") 419x124+856+129 +856+129
     0x28001a6 "Firefox": ("Gecko" "Firefox-bin") 212x17+707+146 +707+146
     0x3200b55 (has no name): () 336x280+0+0 +0+0
     0x3200b3d (has no name): () 728x90+0+0 +0+0
     0xc01d86 "gnome-panel": ("gnome-panel" "Gnome-panel") 169x21+748+27 +748+27
     0x3200b25 (has no name): () 234x60+0+0 +0+0
     0x3200b0d (has no name): () 234x60+0+0 +0+0
     0x3200af5 (has no name): () 728x90+0+0 +0+0
     0x3200add (has no name): () 234x60+0+0 +0+0
     0x3200ac5 (has no name): () 234x60+0+0 +0+0
     0x280018c "Firefox": ("Gecko" "Firefox-bin") 95x17+661+640 +661+640
     0x2800192 "Firefox": ("Gecko" "Firefox-bin") 782x112+461+100 +461+100
     0x1ba00055 "Buddy List": ("gaim" "Gaim") 255x766+39+82 +39+82
     0x3200aad (has no name): () 428x351+0+0 +0+0
     0x3200a93 (has no name): () 728x90+0+0 +0+0
     0x288ec2a "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x288ec24 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x3200a90 (has no name): () 1x1+0+0 +0+0
     0x3200a45 (has no name): () 549x340+0+0 +0+0
     0x3200a8d (has no name): () 1x1+0+0 +0+0
     0x3200a8a (has no name): () 1x1+0+0 +0+0
     0x3200a87 (has no name): () 1x1+0+0 +0+0
     0x3200a84 (has no name): () 1x1+0+0 +0+0
     0x3200a81 (has no name): () 1x1+0+0 +0+0
     0x3200a7e (has no name): () 1x1+0+0 +0+0
     0x3200a7b (has no name): () 1x1+0+0 +0+0
     0x3200a78 (has no name): () 1x1+0+0 +0+0
     0x3200a75 (has no name): () 1x1+0+0 +0+0
     0x3200a72 (has no name): () 1x1+0+0 +0+0
     0x3200a6f (has no name): () 1x1+0+0 +0+0
     0x3200a6c (has no name): () 1x1+0+0 +0+0
     0x3200a69 (has no name): () 1x1+0+0 +0+0
     0x3200a66 (has no name): () 1x1+0+0 +0+0
     0x3200a63 (has no name): () 1x1+0+0 +0+0
     0x3200a60 (has no name): () 1x1+0+0 +0+0
     0x3200a5d (has no name): () 1x1+0+0 +0+0
     0x1ba00001 "gaim": ("gaim" "Gaim") 10x10+10+10 +10+10
     0x1c00034 "gnome-btdownload": () 10x10+-100+-100 +-100+-100
     0x1c00031 "gnome-btdownload": () 10x10+-100+-100 +-100+-100
     0x1c00001 "gnome-btdownload": ("gnome-btdownload" "Gnome-btdownload") 10x10+10+10 +10+10
     0xc00217 "gnome-panel": ("gnome-panel" "Gnome-panel") 270x21+178+27 +178+27
     0x2834037 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0xc020dd "gnome-panel": ("gnome-panel" "Gnome-panel") 247x21+458+27 +458+27
     0x2855711 "Firefox": ("Gecko" "Firefox-bin") 139x128+779+211 +779+211
     0x2828954 "Firefox": ("Gecko" "Firefox-bin") 236x177+545+72 +545+72
     0x3200a2d (has no name): () 760x91+0+0 +0+0
     0x3200a0d (has no name): () 760x91+0+0 +0+0
     0x3200a28 (has no name): () 150x150+0+0 +0+0
     0x3200a25 (has no name): () 300x250+0+0 +0+0
     0x32009f2 (has no name): () 440x198+0+0 +0+0
     0x3200a0a (has no name): () 728x90+0+0 +0+0
     0x32009d7 (has no name): () 440x198+0+0 +0+0
     0x32009ef (has no name): () 180x150+0+0 +0+0
     0x32009bf (has no name): () 440x198+0+0 +0+0
     0x32009bc (has no name): () 400x27+0+0 +0+0
     0x32009a4 (has no name): () 400x326+0+0 +0+0
     0x320098c (has no name): () 800x600+0+0 +0+0
     0x3200989 (has no name): () 140x125+0+0 +0+0
     0x3200971 (has no name): () 728x90+0+0 +0+0
     0x320096e (has no name): () 140x125+0+0 +0+0
     0x3200956 (has no name): () 728x90+0+0 +0+0
     0x3200953 (has no name): () 140x125+0+0 +0+0
     0x320093b (has no name): () 728x90+0+0 +0+0
     0x3200920 (has no name): () 140x125+0+0 +0+0
     0x3200938 (has no name): () 300x250+0+0 +0+0
     0x3200908 (has no name): () 800x600+0+0 +0+0
     0x29890c9 "Firefox": ("Gecko" "Firefox-bin") 281x647+369+168 +369+168
     0x29c4ebb "Firefox": ("Gecko" "Firefox-bin") 281x827+369+148 +369+148
     0x2828969 "Firefox": ("Gecko" "Firefox-bin") 209x204+162+72 +162+72
     0x32008ed (has no name): () 450x370+0+0 +0+0
     0x3200905 (has no name): () 728x90+0+0 +0+0
     0x32008cb (has no name): () 1280x869+0+0 +0+0
     0x2800186 "Firefox": ("Gecko" "Firefox-bin") 105x17+11+103 +11+103
     0x32008b1 (has no name): () 150x150+0+0 +0+0
     0x3200899 (has no name): () 300x250+0+0 +0+0
     0x3200896 (has no name): () 336x280+0+0 +0+0
     0x320087c (has no name): () 750x100+0+0 +0+0
     0x285059e "Firefox": ("Gecko" "Firefox-bin") 438x197+560+307 +560+307
     0x282897e "Firefox": ("Gecko" "Firefox-bin") 452x277+110+72 +110+72
     0x3200864 (has no name): () 300x250+0+0 +0+0
     0x3200861 (has no name): () 88x31+0+0 +0+0
     0x3200849 (has no name): () 336x280+0+0 +0+0
     0x320082e (has no name): () 88x31+0+0 +0+0
     0x3200846 (has no name): () 336x280+0+0 +0+0
     0x3200816 (has no name): () 1x1+0+0 +0+0
     0x32007fe (has no name): () 1x1+0+0 +0+0
     0x17600024 "notification-daemon": ("notification-daemon" "Notification-daemon") 8x21+0+0 +0+0
     0x17600001 "notification-daemon": ("notification-daemon" "Notification-daemon") 10x10+10+10 +10+10
     0x32007e6 (has no name): () 1x1+0+0 +0+0
     0x28fb9a2 "Firefox": ("Gecko" "Firefox-bin") 1x1+-100+-100 +-100+-100
     0x32007ce (has no name): () 1x1+0+0 +0+0
     0x32007b6 (has no name): () 1x1+0+0 +0+0
     0x32007a4 (has no name): () 400x300+0+0 +0+0
     0x32007a1 (has no name): () 468x60+0+0 +0+0
     0x320079e (has no name): () 728x90+0+0 +0+0
     0x32007a8 (has no name): () 300x250+0+0 +0+0
     0x3200786 (has no name): () 400x27+0+0 +0+0
     0x320077d (has no name): () 80x30+0+0 +0+0
     0x3200780 (has no name): () 80x30+0+0 +0+0
     0x320077a (has no name): () 80x30+0+0 +0+0
     0x3200777 (has no name): () 300x250+0+0 +0+0
     0x320076a (has no name): () 80x30+0+0 +0+0
     0x3200767 (has no name): () 80x30+0+0 +0+0
     0x3200764 (has no name): () 80x30+0+0 +0+0
     0x3200772 (has no name): () 120x80+0+0 +0+0
     0x320076d (has no name): () 120x90+0+0 +0+0
     0x3200761 (has no name): () 728x90+0+0 +0+0
     0x3200783 (has no name): () 120x600+0+0 +0+0
     0x3200743 (has no name): () 1x1+0+0 +0+0
     0x320075b (has no name): () 450x370+0+0 +0+0
     0x320075e (has no name): () 728x90+0+0 +0+0
     0x320072b (has no name): () 160x600+0+0 +0+0
     0x3200726 (has no name): () 728x90+0+0 +0+0
     0x320070e (has no name): () 234x60+0+0 +0+0
     0x32006f6 (has no name): () 234x60+0+0 +0+0
     0x1e00cc7 "multiload": ("multiload" "Multiload") 64x34+895+24 +895+24
     0x32006de (has no name): () 160x600+0+0 +0+0
     0x32006c6 (has no name): () 160x600+0+0 +0+0
     0x32006ae (has no name): () 160x600+0+0 +0+0
     0x3200696 (has no name): () 234x60+0+0 +0+0
     0x320067e (has no name): () 160x600+0+0 +0+0
     0xc0bb73 "gnome-panel": ("gnome-panel" "Gnome-panel") 151x275+0+23 +0+23
     0xc50404 "gnome-panel": ("gnome-panel" "Gnome-panel") 148x196+158+23 +158+23
     0x2998c0e "Firefox": ("Gecko" "Firefox-bin") 281x87+678+188 +678+188
     0x320065c (has no name): () 468x60+0+0 +0+0
     0x3200644 (has no name): () 678x700+0+0 +0+0
     0x3200622 (has no name): () 678x700+0+0 +0+0
     0x28001a0 "Firefox": ("Gecko" "Firefox-bin") 254x66+1023+880 +1023+880
     0xdc0cca "gnome-panel": ("gnome-panel" "Gnome-panel") 249x21+1005+27 +1005+27
     0x2201648 "mixer_applet2": ("mixer_applet2" "Mixer_applet2") 79x21+1071+27 +1071+27
     0x3200608 (has no name): () 300x250+0+0 +0+0
     0x32005f0 (has no name): () 300x250+0+0 +0+0
     0x32005d8 (has no name): () 160x600+0+0 +0+0
     0xf200007 "sun-plugin-navig-motif-Plugin": ("sun-plugin-navig-motif-Plugin" "sun-plugin-navig-motif-Plugin") 1x1+1+1 +1+1
     0x32005d5 (has no name): () 120x600+0+0 +0+0
     0x32005d2 (has no name): () 234x60+0+0 +0+0
     0x32005cf (has no name): () 120x90+0+0 +0+0
     0x32005b7 (has no name): () 468x60+0+0 +0+0
     0x32005b4 (has no name): () 468x60+0+0 +0+0
     0x32005b1 (has no name): () 120x90+0+0 +0+0
     0x32005ac (has no name): () 120x60+0+0 +0+0
     0x320058b (has no name): () 468x60+0+0 +0+0
     0x32005a6 (has no name): () 234x60+0+0 +0+0
     0x32005a9 (has no name): () 120x600+0+0 +0+0
     0x32005a3 (has no name): () 120x90+0+0 +0+0
     0x3200585 (has no name): () 468x60+0+0 +0+0
     0x3200588 (has no name): () 120x90+0+0 +0+0
     0x320056d (has no name): () 120x60+0+0 +0+0
     0x3200555 (has no name): () 160x600+0+0 +0+0
     0x320053d (has no name): () 234x60+0+0 +0+0
     0x3200525 (has no name): () 160x600+0+0 +0+0
     0x320050d (has no name): () 234x60+0+0 +0+0
     0x32004f5 (has no name): () 234x60+0+0 +0+0
     0x32004f2 (has no name): () 728x90+0+0 +0+0
     0x32004da (has no name): () 234x60+0+0 +0+0
     0x32004d4 (has no name): () 728x90+0+0 +0+0
     0x32004bc (has no name): () 234x60+0+0 +0+0
     0x32004a3 (has no name): () 728x90+0+0 +0+0
     0x320048b (has no name): () 450x370+0+0 +0+0
     0x3200488 (has no name): () 450x370+0+0 +0+0
     0x3200485 (has no name): () 450x370+0+0 +0+0
     0x3200482 (has no name): () 450x370+0+0 +0+0
     0x320046a (has no name): () 450x370+0+0 +0+0
     0x3200467 (has no name): () 300x250+0+0 +0+0
     0x3200464 (has no name): () 140x125+0+0 +0+0
     0x320044c (has no name): () 728x90+0+0 +0+0
     0x3200443 (has no name): () 300x250+0+0 +0+0
     0x3200440 (has no name): () 140x125+0+0 +0+0
     0x3200428 (has no name): () 728x90+0+0 +0+0
     0x3200446 (has no name): () 120x600+0+0 +0+0
     0x3200449 (has no name): () 300x250+0+0 +0+0
     0x3200422 (has no name): () 140x125+0+0 +0+0
     0x320040a (has no name): () 728x90+0+0 +0+0
     0x3200425 (has no name): () 300x250+0+0 +0+0
     0x32003ef (has no name): () 140x125+0+0 +0+0
     0x3200407 (has no name): () 300x250+0+0 +0+0
     0x32003ec (has no name): () 300x250+0+0 +0+0
     0x32003e9 (has no name): () 140x125+0+0 +0+0
     0x32003d1 (has no name): () 728x90+0+0 +0+0
     0x32003ce (has no name): () 300x250+0+0 +0+0
     0x32003cb (has no name): () 140x125+0+0 +0+0
     0x32003b3 (has no name): () 728x90+0+0 +0+0
     0x32003b0 (has no name): () 300x250+0+0 +0+0
     0x32003ad (has no name): () 140x125+0+0 +0+0
     0x3200395 (has no name): () 728x90+0+0 +0+0
     0x320038f (has no name): () 140x125+0+0 +0+0
     0x3200377 (has no name): () 728x90+0+0 +0+0
     0x3200392 (has no name): () 300x250+0+0 +0+0
     0x3200374 (has no name): () 300x250+0+0 +0+0
     0x3200371 (has no name): () 140x125+0+0 +0+0
     0x3200359 (has no name): () 728x90+0+0 +0+0
     0x3200353 (has no name): () 140x125+0+0 +0+0
     0x320033b (has no name): () 728x90+0+0 +0+0
     0x3200356 (has no name): () 300x250+0+0 +0+0
     0x3200338 (has no name): () 1x1+0+0 +0+0
     0x3200320 (has no name): () 800x600+0+0 +0+0
     0x3200308 (has no name): () 160x600+0+0 +0+0
     0x32002bf (has no name): () 728x90+0+0 +0+0
     0x3200305 (has no name): () 300x250+0+0 +0+0
     0x3200302 (has no name): () 619x59+0+0 +0+0
     0x32002d7 (has no name): () 120x600+0+0 +0+0
     0x32002e0 (has no name): () 211x25+0+0 +0+0
     0x32002dd (has no name): () 211x20+0+0 +0+0
     0x32002da (has no name): () 470x35+0+0 +0+0
     0x32002fd (has no name): () 300x250+0+0 +0+0
     0x32002f8 (has no name): () 619x59+0+0 +0+0
     0x32002f5 (has no name): () 300x250+0+0 +0+0
     0x32002f2 (has no name): () 619x59+0+0 +0+0
     0x32002ef (has no name): () 300x250+0+0 +0+0
     0x32002ec (has no name): () 619x59+0+0 +0+0
     0x32002e6 (has no name): () 300x58+0+0 +0+0
     0x32002e9 (has no name): () 300x250+0+0 +0+0
     0x32002e3 (has no name): () 619x59+0+0 +0+0
     0x32002a3 (has no name): () 425x350+0+0 +0+0
     0x3200289 (has no name): () 425x350+0+0 +0+0
     0x3200271 (has no name): () 760x134+0+0 +0+0
     0x3200259 (has no name): () 760x134+0+0 +0+0
     0x3200241 (has no name): () 760x134+0+0 +0+0
     0x320023c (has no name): () 760x134+0+0 +0+0
     0x3200224 (has no name): () 760x134+0+0 +0+0
     0x320020c (has no name): () 760x134+0+0 +0+0
     0x32001f4 (has no name): () 760x200+0+0 +0+0
     0x32001d2 (has no name): () 950x791+0+0 +0+0
     0x32001b8 (has no name): () 425x350+0+0 +0+0
     0x2846f72 "Firefox": ("Gecko" "Firefox-bin") 1x1+-100+-100 +-100+-100
     0x32001a0 (has no name): () 760x188+0+0 +0+0
     0x3200188 (has no name): () 450x370+0+0 +0+0
     0x3200170 (has no name): () 450x370+0+0 +0+0
     0x28289a0 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x282899a "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x2828994 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x3200158 (has no name): () 450x370+0+0 +0+0
     0x3200140 (has no name): () 450x370+0+0 +0+0
     0x320013d (has no name): () 81x123+0+0 +0+0
     0x320013a (has no name): () 81x123+0+0 +0+0
     0x3200137 (has no name): () 300x250+0+0 +0+0
     0x320011f (has no name): () 129x63+0+0 +0+0
     0x3200107 (has no name): () 129x63+0+0 +0+0
     0x32000ef (has no name): () 129x63+0+0 +0+0
     0x32000d7 (has no name): () 129x63+0+0 +0+0
     0x32000bf (has no name): () 129x63+0+0 +0+0
     0x32000bc (has no name): () 81x123+0+0 +0+0
     0x32000b9 (has no name): () 81x123+0+0 +0+0
     0x32000b6 (has no name): () 300x250+0+0 +0+0
     0x320009e (has no name): () 129x63+0+0 +0+0
     0x3200086 (has no name): () 129x63+0+0 +0+0
     0x320006e (has no name): () 129x63+0+0 +0+0
     0x320006b (has no name): () 81x123+0+0 +0+0
     0x3200068 (has no name): () 81x123+0+0 +0+0
     0x3200065 (has no name): () 300x250+0+0 +0+0
     0x320004d (has no name): () 129x63+0+0 +0+0
     0x3200035 (has no name): () 450x370+0+0 +0+0
     0x2813dee "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x320001d (has no name): () 450x370+0+0 +0+0
     0x280bdca "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x2804204 "Firefox": () 10x10+-100+-100 +-100+-100
     0x3200001 (has no name): () 450x370+0+0 +0+0
     0x320001a (has no name): () 728x90+0+0 +0+0
     0x28001c2 "Firefox": () 1x1+0+0 +0+0
     0x28001b9 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x280019a "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x2800185 "Firefox": () 10x10+-100+-100 +-100+-100
     0x2800182 "Firefox": () 10x10+-100+-100 +-100+-100
     0x280009e "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x2800073 "Firefox": ("Gecko" "Firefox-bin") 200x200+0+0 +0+0
     0x2800060 "Firefox": () 10x10+-100+-100 +-100+-100
     0x280002a (has no name): ("firefox-bin" "Firefox-bin") 200x200+0+0 +0+0
     0x2800003 "Firefox": () 10x10+-100+-100 +-100+-100
     0x2800001 "Firefox": ("firefox-bin" "Firefox-bin") 10x10+10+10 +10+10
     0x10002e1 "File Manager": ("nautilus" "Nautilus") 170x33+1281+1025 +1281+1025
     0x1000b9f "File Manager": ("nautilus" "Nautilus") 221x261+100+291 +100+291
     0x22000d7 "mixer_applet2": ("mixer_applet2" "Mixer_applet2") 28x146+1102+23 +1102+23
     0xc386fa "gnome-panel": ("gnome-panel" "Gnome-panel") 170x180+149+110 +149+110
     0xc387ec "gnome-panel": ("gnome-panel" "Gnome-panel") 188x644+149+139 +149+139
     0xc388bb "gnome-panel": ("gnome-panel" "Gnome-panel") 222x238+149+168 +149+168
     0xc505cb "gnome-panel": ("gnome-panel" "Gnome-panel") 194x499+304+52 +304+52
     0xcb3a5f "gnome-panel": ("gnome-panel" "Gnome-panel") 233x701+304+23 +304+23
     0x2e8c14e "Terminal": ("gnome-terminal" "Gnome-terminal") 154x199+185+437 +185+437
     0xc383e8 "gnome-panel": ("gnome-panel" "Gnome-panel") 160x265+149+52 +149+52
     0x8e00029 "Tomboy": () 10x10+-100+-100 +-100+-100
     0x8e00001 "Tomboy": ("/usr/lib/tomboy/Tomboy.exe" "/usr/lib/tomboy/Tomboy.exe") 10x10+10+10 +10+10
     0xc9e509 "gnome-panel": ("gnome-panel" "Gnome-panel") 84x35+149+23 +149+23
     0xc380dc "gnome-panel": ("gnome-panel" "Gnome-panel") 147x905+149+81 +149+81
     0x6a017d2 "Sticky Note: 05/17/2006": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 450x360+711+122 +711+122
     0x6a0012e "Start Here": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 659x488+6+44 +6+44
     0x6a05080 "wedwedwe": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 450x360+334+223 +334+223
     0x6a05148 "Tomboy": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 98x21+208+133 +208+133
     0x6a0099a "Tomboy": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 113x21+0+114 +0+114
     0x6a00d04 "Tomboy": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 177x98+156+108 +156+108
     0x6a01016 "Search All Notes": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 301x301+11+63 +11+63
     0x6a00f10 "Tomboy": () 10x10+-100+-100 +-100+-100
     0x6a009a9 "Tomboy": ("Tomboy" "/usr/lib/tomboy/Tomboy.exe") 174x226+109+108 +109+108
     0x24006e4 "stickynotes_applet": ("stickynotes_applet" "Stickynotes_applet") 146x224+1083+23 +1083+23
     0x2400099 "stickynotes_applet": ("stickynotes_applet" "Stickynotes_applet") 111x34+1031+27 +1031+27
     0x6a00029 "Tomboy": () 10x10+-100+-100 +-100+-100
     0x6a00001 "Tomboy": ("/usr/lib/tomboy/Tomboy.exe" "/usr/lib/tomboy/Tomboy.exe") 10x10+10+10 +10+10
     0x2400579 "About Sticky Notes": ("stickynotes_applet" "Stickynotes_applet") 306x194+482+396 +482+396
     0x240058d "stickynotes_applet": () 10x10+-100+-100 +-100+-100
     0x240019f "stickynotes_applet": ("stickynotes_applet" "Stickynotes_applet") 146x224+1083+23 +1083+23
     0xc38a98 "gnome-panel": ("gnome-panel" "Gnome-panel") 177x78+249+386 +249+386
     0xc05ebb "Workspace Switcher Preferences": ("gnome-panel" "Gnome-panel") 296x343+487+321 +487+321
     0xc0687f "gnome-panel": () 10x10+-100+-100 +-100+-100
     0xc05a34 "gnome-panel": ("gnome-panel" "Gnome-panel") 192x198+858+23 +858+23
     0x2e001ea "Terminal": () 10x10+-100+-100 +-100+-100
     0x2e0005f "Terminal": () 10x10+-100+-100 +-100+-100
     0x2e00001 "Terminal": ("gnome-terminal" "Gnome-terminal") 10x10+10+10 +10+10
     0xc01dbe "gnome-panel": ("gnome-panel" "Gnome-panel") 192x198+806+23 +806+23
     0x1e000b0 "multiload": ("multiload" "Multiload") 158x169+889+23 +889+23
     0x200004a "gweather": ("gweather" "Gweather") 198x186+975+23 +975+23
     0x2600003 "gnome-screensaver": () 10x10+-100+-100 +-100+-100
     0x2600001 "gnome-screensaver": ("gnome-screensaver" "Gnome-screensaver") 10x10+10+10 +10+10
     0x2400046 "stickynotes_applet": () 10x10+-100+-100 +-100+-100
     0xc000c8 "gnome-panel": () 10x10+-100+-100 +-100+-100
     0x2400001 "stickynotes_applet": ("stickynotes_applet" "Stickynotes_applet") 10x10+10+10 +10+10
     0x2200001 "mixer_applet2": ("mixer_applet2" "Mixer_applet2") 10x10+10+10 +10+10
     0x2000001 "gweather": ("gweather" "Gweather") 10x10+10+10 +10+10
     0xc00086 (has no name): () 10x10+0+0 +0+0
     0x1e00001 "multiload": ("multiload" "Multiload") 10x10+10+10 +10+10
     0x1a00003 "evolution-exchange": () 10x10+-100+-100 +-100+-100
     0x1800003 "evolution-alarm-notify": () 10x10+-100+-100 +-100+-100
     0x100004d "File Manager": () 10x10+-100+-100 +-100+-100
     0x1a00001 "evolution-exchange": ("evolution-exchange" "Evolution-exchange") 10x10+10+10 +10+10
     0x100004c "File Manager": () 10x10+-100+-100 +-100+-100
     0x1600003 "gnome-cups-icon": () 10x10+-100+-100 +-100+-100
     0x140001f "gnome-power-manager": () 10x10+-100+-100 +-100+-100
     0x120001d "update-notifier": () 10x10+-100+-100 +-100+-100
     0xe0001d "gnome-volume-manager": () 10x10+-100+-100 +-100+-100
     0xc0002a "gnome-panel": () 10x10+-100+-100 +-100+-100
     0x1000004 "File Manager": () 10x10+-100+-100 +-100+-100
     0xc00003 "Top Expanded Edge Panel": ("gnome-panel" "Gnome-panel") 1280x25+0+0 +0+0
     0xa0a843 (has no name): () 1280x999+0+25 +0+25
     0xa90362 (has no name): () 976x942+304+25 +304+25
     0xabdf36 (has no name): () 680x548+0+25 +0+25
     0xa9c8f1 (has no name): () 445x269+0+25 +0+25
     0xaff2cf (has no name): () 1280x999+0+25 +0+25
     0x240001f "05/17/2006": ("stickynotes_applet" "Stickynotes_applet") 335x280+0+25 +0+25
     0x100001e "Desktop": ("desktop_window" "Nautilus") 1280x1024+0+0 +0+0
     0x1800001 "evolution-alarm-notify": ("evolution-alarm-notify" "Evolution-alarm-notify") 10x10+10+10 +10+10
     0x1600001 "gnome-cups-icon": ("gnome-cups-icon" "Gnome-cups-icon") 10x10+10+10 +10+10
     0x1400001 "gnome-power-manager": ("gnome-power-manager" "Gnome-power-manager") 10x10+10+10 +10+10
     0x1200003 "update-notifier": () 10x10+-100+-100 +-100+-100
     0x1200001 "update-notifier": ("update-notifier" "Update-notifier") 10x10+10+10 +10+10
     0xe00003 "gnome-volume-manager": () 10x10+-100+-100 +-100+-100
     0x1000001 "File Manager": ("nautilus" "Nautilus") 10x10+10+10 +10+10
     0xe00001 "gnome-volume-manager": ("gnome-volume-manager" "Gnome-volume-manager") 10x10+10+10 +10+10
     0xc00001 "gnome-panel": ("gnome-panel" "Gnome-panel") 10x10+10+10 +10+10
     0xa0000d "metacity": ("metacity" "Metacity") 200x200+0+0 +0+0
     0xa0000c (has no name): () 1x1+-100+-100 +-100+-100
     0xa00004 (has no name): () 1x1+-100+-100 +-100+-100
     0xa00003 (has no name): () 1x1+-100+-100 +-100+-100
     0xa00001 "metacity": ("metacity" "Metacity") 10x10+10+10 +10+10
     0x800004 (has no name): () 10x10+0+0 +0+0
     0x800003 (has no name): () 10x10+0+0 +0+0
     0x800001 "gnome-settings-daemon": ("gnome-settings-daemon" "Gnome-settings-daemon") 10x10+10+10 +10+10
     0x600001 "gnome-session": ("x-session-manager" "X-session-manager") 10x10+10+10 +10+10

andre@huge:~/downloads$

Notice the number of windows with no name...

I then closed Firefox and the number of windows dropped dramatically and those no name windows disappeared:

andre@huge:~/downloads$ xwininfo -root -children | wc -l
101
andre@huge:~/downloads$

Just to test I started firefox again, it opened the same tabs and the number of windows increased by 20, not by 250 as it was before.

Revision history for this message
meba (jakub-rtfm) wrote :

I can confirm this. Same symptoms. Also reported here: http://ubuntuforums.org/showthread.php?t=133719

Changed in firefox:
status: Unconfirmed → Confirmed
Revision history for this message
Rocco Stanzione (trappist) wrote :

I can confirm as well. I haven't even been running X for but a few hours, so it seems likely that certain websites (looks to be an xloadimage issue) or certain browsing behavior might be causing it? It's a little tough to track it down to firefox. I said `sudo lsof -p 24329 | grep /tmp/.X11-unix/X0 | wc -l` where 24329 is the pid of X, and it reported 244 before closing firefox and 16 after.

Changed in firefox:
importance: Undecided → High
Revision history for this message
Rthaduthd Anthnhkrc (nthnuekeu-deactivatedaccount) wrote :

can confirm this .. seems like closing down firefox helps

..kind of annoying..

Revision history for this message
In , Ext-andre-pedralho (ext-andre-pedralho) wrote :

After long periods of time working Firefox opens many non-visible windows and the Xlib reaches its maximum number of clients allowed. Then, it is impossible to run any other application. If I try to do it I have the following answer from Xlib:

Xlib: connection to ":0.0" refused by server
Xlib: Maximum number of clients reached
xlsclients: unable to open display ":0.0"

You can verify my supposing using the following commands when this limit reaches:
# xlsclients | wc -l
26
# xwininfo -root -children | wc -l
1028

The following links are related to this bug:
http://ubuntuforums.org/showthread.php?t=133719&page=2
https://launchpad.net/distros/ubuntu/+source/firefox/+bug/70872

David Farning (dfarning)
Changed in firefox:
assignee: nobody → mozillabugs
Revision history for this message
In , Alexander Sack (asac) wrote :

André, as you reported it here, may I assume that you were able reproduce this with vanilla firefox install from ftp.mozilla.org (vs. ubuntu's only)?

Changed in firefox:
status: Unknown → Confirmed
Revision history for this message
In , Ext-andre-pedralho (ext-andre-pedralho) wrote :

(In reply to comment #1)
> André, as you reported it here, may I assume that you were able reproduce this
> with vanilla firefox install from ftp.mozilla.org (vs. ubuntu's only)?
>

I can try this. I stopped to get this bug since I started to use the Tab Mix (http://tmp.garyr.net/) add-on.

David Farning (dfarning)
Changed in firefox:
assignee: mozillateam → mozilla-bugs
Revision history for this message
Alexander Sack (asac) wrote : Re: Firefox makes X run out windows

if you see this "X run out of windows" bug in firefox, please post what extensions you have installed.

Revision history for this message
Alexander Sack (asac) wrote :

not reproducible ... need a testcase

Changed in firefox:
status: Confirmed → Needs Info
Revision history for this message
Rthaduthd Anthnhkrc (nthnuekeu-deactivatedaccount) wrote :

it hasn't happened for a long time here .. i'm not sure what caused it

(2-3 days ago - i upgraded from edgy to feisty also .. haven't seen it yet here either)

Revision history for this message
In , Ext-andre-pedralho (ext-andre-pedralho) wrote :

I tested it for some days using the bon-echo version. I got the source code and compiled myself and I couldn't reproduce the bug. I would be a ubuntu packaging issue.

Revision history for this message
In , Alexander Sack (asac) wrote :

André, so can you still reproduce with latest ubuntu version as well?

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: Firefox makes X run out windows

I am unable to reproduce this in edgy or feisty. Can you please post a step by step set of instructions on what you do to reproduce this. including sites that this happens on. Thank you.

Revision history for this message
In , Ext-andre-pedralho (ext-andre-pedralho) wrote :

(In reply to comment #4)
> André, so can you still reproduce with latest ubuntu version as well?
>
Yes, I can. I tried the 2.0.0.2+1-0ubuntu1 and I still getting the same environment:

It was working fine with the following results:
xlsclients | wc -l
30
xwininfo -root -children | wc -l
800

After the first frame pops-up I got the following results (I got this when I tried to write a email using the yahoo mail beta, I think because it tries to create 4 internal frames using AJAX and those frames got the NULL value as parent):
xlsclients | wc -l
30
xwininfo -root -children | wc -l
804

Maybe the Firefox installed and the GTK+ installed are incompatible. I mean, perhaps Firefox was compiled using another GTK+ version than I have here (2.10.9-0ubuntu2).

It may be creating a lot of memory leaks. Do you have any tools for getting where it is occurring, if it is occurring?

Revision history for this message
In , Alexander Sack (asac) wrote :

can you try to extract some testcase to reproduce? what page to visit and what to do in order to get this problem? maybe also: what extension is needed to get this etc.

Revision history for this message
In , Ext-andre-pedralho (ext-andre-pedralho) wrote :

(In reply to comment #6)
> can you try to extract some testcase to reproduce? what page to visit and what
> to do in order to get this problem? maybe also: what extension is needed to get
> this etc.
>
Well, I just could reproduce this bug after a long navigation period (I mean more than 4 days without close the browser). I just used FF without any extensions.

Do you have any suggestions about testcases or tools?

Revision history for this message
TheOverclocked (jordan-theoverclocked) wrote : Re: Firefox makes X run out windows

Well I got this error tonight and logged everything very well (I hope) so that we can figure out what is causing this.

I decided to post all my logs and crap up in my blog so that it doesn't clutter up this bug report.

You can find all of the data I collected here -> http://blogs.theoverclocked.com/jordan/index.php/2007/03/23/firefox-makes-x-run-out-windows/

I hope this helps!!!!!

Revision history for this message
In , Apedralho (apedralho) wrote :

(In reply to comment #2)
> I can try this. I stopped to get this bug since I started to use the Tab Mix
> (http://tmp.garyr.net/) add-on.

I got the same error even using this extension in Firefox 2.0.0.3.

Revision history for this message
In , Apedralho (apedralho) wrote :

Created attachment 263020
A screenshot of this annoying situation.

Revision history for this message
In , Apedralho (apedralho) wrote :

I got the same outcome using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3)
Gecko/20070322 GranParadiso/3.0a3.

In the shell:

(gecko:19722): Gdk-WARNING **: GdkWindow 0x3b135d1 unexpectedly destroyed

(gecko:19722): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window != NULL' failed

(gecko:19722): Gdk-CRITICAL **: gdk_window_set_back_pixmap: assertion `GDK_IS_WINDOW (window)' failed

(gecko:19722): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed

(gecko:19722): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed

(gecko:19722): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed

(gecko:19722): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed

(gecko:19722): Gdk-CRITICAL **: gdk_window_move_resize: assertion `GDK_IS_WINDOW (window)' failed

(gecko:19722): Gdk-CRITICAL **: gdk_window_show_unraised: assertion `GDK_IS_WINDOW (window)' failed

(gecko:19722): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed

(gecko:19722): Gdk-CRITICAL **: gdk_window_hide: assertion `GDK_IS_WINDOW (window)' failed

(gecko:19722): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window != NULL' failed

(gecko:19722): Gdk-CRITICAL **: _gdk_window_destroy_hierarchy: assertion `window != NULL' failed

(gecko:19722): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: Firefox makes X run out windows

Marking as in progress as upstream has confirmed it.

Changed in firefox:
status: Needs Info → In Progress
Revision history for this message
In , Daniel-holt (daniel-holt) wrote :

I started getting this bug on Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.4) Gecko/20070603 Fedora/2.0.0.4-2.fc7 Firefox/2.0.0.4 after installing gnash-plugin (the plugin to use the gnash flash-player with Mozilla browsers) version 0.7.2-2. It didn't take a long period of browsing before the maximum number of windows was reached, i.e. it occurred fairly soon after starting or restarting Firefox.

After uninstalling the gnash plugin, the problem seems to have disappeared entirely.

Is there any further info I can provide that would be useful?

Revision history for this message
In , cburroughs (chris-burroughs) wrote :

Daniel,
Do you have the the Macromeadia flash plugin installed? Have you still not seen this behavior sicne 2007-06-20?

Revision history for this message
In , Daniel-holt (daniel-holt) wrote :

I did not now or ever install Adobe's flash player; and I have still not seen this behavior since last commenting.

Revision history for this message
Alexander Sack (asac) wrote :

ffox 3 appears to not have this issue. imo its unlikely that ffox 2 will still get a proper solution. setting status to reflect that.

Changed in firefox:
status: In Progress → Won't Fix
Revision history for this message
In , Db48x (db48x) wrote :

This bug is back. It's been happening off and on ever since I upgraded to Fedora 9 a while back. I've only now traced it down to Firefox as the cause.

Revision history for this message
In , Zack Cornelius (zcornelius) wrote :

I can confirm this bug has reappeared in Ubuntu Hardy and Intrepid

Currently running "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071816 Ubuntu/8.10 (intrepid) Firefox/3.0.1"

I get this problem after 2 or 3 days of browsing.

Revision history for this message
In , Jruderman (jruderman) wrote :

kmike thinks this might be a duplicate of bug 263160.

Revision history for this message
In , Karlt (karlt) wrote :

Comment 9 and 10 is definitely bug 263160.

I don't know that would result in
"Xlib: connection to ":0.0" refused by server
 Xlib: Maximum number of clients reached"
though.

Changed in firefox:
importance: Unknown → Medium
Revision history for this message
In , I2nm5ho7a (i2nm5ho7a) wrote :

Is this bug still relevant since flash and gnash are no longer supported. Or can this bug be closed by now?

Revision history for this message
In , Db48x (db48x) wrote :

Wow, I haven’t seen this problem in a while. Just close the bug and hope nobody ever has to report a similar one.

Changed in firefox:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.