[Xfce-bugs] [XFCE 0000111]: Xlib: resource ID allocation space exhausted!

xfce-bugs at xfce.org xfce-bugs at xfce.org
Mon May 3 14:24:42 CEST 2004


The following bug has been ASSIGNED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000111
=======================================================================
Reporter:                   150669tom
Handler:                    huysmans
=======================================================================
Project:                    XFCE
Bug ID:                     0000111
Category:                   panel
Reproducibility:            always
Severity:                   minor
Priority:                   none
Status:                     assigned
=======================================================================
Date Submitted:             2004-02-05 10:09 GMT
Last Modified:              2004-05-03 12:24 GMT
=======================================================================
Summary:                    Xlib: resource ID allocation space exhausted!
Description: 
After running XFCE on long terms (longer than 3 days) the panel (ONLY)
disappears on an remote session via xdmcp. 

XFCE 4.03.1 on SuSE Linux 9.0, with precompiled XFCE. 

This error does not occur on XFCE 4.00, but at XFCE 4.01, XFCE 4.02 and
4.03x

Remote PC is WinNT 4 with Reflection 8 X-manager :-(

=======================================================================

-----------------------------------------------------------------------
 huysmans - 2004-02-05 12:07 GMT 
-----------------------------------------------------------------------
Well, I could assign this bug to me, since it is a panel bug, but to be
honest I don't have a clue about what could cause this.

I don't believe the ID allocation problem can be the cause, but I'm not
sure.

If someone has a suggegtion, please let me know. I'll have a look at the
diff from 4.0.0 to 4.0.1 to check what was changed

-----------------------------------------------------------------------
 150669tom - 2004-02-05 15:51 GMT 
-----------------------------------------------------------------------
I have added two samples of my panel, the working version xfce-panel_OK.jpg
and the disappeared (grey colored) xfce-panel_grey.jpg.

The grey one works, I can switch between the desktops, start apps,
background of popups are poping up...

-----------------------------------------------------------------------
 kelnos - 2004-02-05 16:18 GMT 
-----------------------------------------------------------------------
i've heard of this error happening in other situations, and while i can't
say this with 100% authority, i think this has to do with a mismatch
between the resource ID allocation scheme used by the server and what the
application 'expects' the server to use.  X11R6 is the current version of
the X spec, and an X11R5 server handles resource ID allocation a bit
differently.  the fact that you say that this happens after you've been
running the session for long periods seems to back me up on this.

i don't think this is really an xfce-specific problem.  if anything, it's
a gtk problem with how it expects X to act.  but the real issue is that
i'd bet your X server is just old.

if you can, give it a try using cygwin/xfree86 (free, http://cygwin.com/),
or something else that you can find out is X11R6-compliant.  KeaX comes to
mind (commercial, non-free).

-----------------------------------------------------------------------
 olivier - 2004-02-05 19:25 GMT 
-----------------------------------------------------------------------
I think on of the plugins from xfce goodies might be leaking, I got this
reported at least once... Though not proven.

The fact that the problem doesn't occur with 4.00 shows that the problem
is in the code.

Can you try removing all non necessary plugins from
/usr/lib/xfce4/panel-plugins/ and retry?

-----------------------------------------------------------------------
 150669tom - 2004-02-05 20:33 GMT 
-----------------------------------------------------------------------
Refection X 8.0 should be X11R6.3 and X11R6.4 compatible (manpage). 
I will disable all plugins and retry it. 

And I will retry with cygwin/xfree86 later...

-----------------------------------------------------------------------
 kelnos - 2004-02-18 18:02 GMT 
-----------------------------------------------------------------------
something random occurred to me...  the 'resource allocation id space
exhausted' message is right after a string of 'render extension missing'
messages.  perhaps the non-RENDER rendering of fonts is using too many
resource ids.  try sticking 'export USE_GDK_XFT=0' at the top of your
~/.xfce4/xinitrc (or whatever you're using to start xfce).  actually, you
might want to put that in your ~/.{bash_,}profile or ~/.cshrc or whatnot
as well.  your fonts will most likely be terribly ugly, but it's worth a
shot.

-----------------------------------------------------------------------
 150669tom - 2004-02-24 11:19 GMT 
-----------------------------------------------------------------------
it's looks like, all is working fine, no exhausted id space since six
days...

Disabling the plugins helps a lot.

Disabling the "non-RENDER rendering" eliminates the last 'resource
allocation id space exhausted' messages 

Thank you very very much :-)

I think the problem is now solved!

-----------------------------------------------------------------------
 kelnos - 2004-02-24 19:08 GMT 
-----------------------------------------------------------------------
hmm, not really solved, just worked around.  if it was a plugin, the only
way to figure out which one is to add each one back until the problem
reappears - a truly tedious task.  the fact that this problem appeared
with 4.0.1 bothers me.

-----------------------------------------------------------------------
 150669tom - 2004-03-03 11:53 GMT 
-----------------------------------------------------------------------
after 12 days the same problem with new errors occurs (whole panel is in
"background"-grey)

Second Erroor: the taskbar is colored but only one virtual desktop left,
the three other defined virtual desktops disappeared. After reenabling via
Settings->Workspaces the virt. Desktops are working normal.

Xlib: resource ID allocation space exhausted!

** (xfce-mcs-manager:15591): CRITICAL **: file netk-workspace.c: line 160
(netk_
workspace_get_name): assertion `NETK_IS_WORKSPACE (space)' failed

** (xfce-mcs-manager:15591): CRITICAL **: file netk-workspace.c: line 160
(netk_
workspace_get_name): assertion `NETK_IS_WORKSPACE (space)' failed



More information about the Xfce-bugs mailing list