[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: X resource leak?
From: |
Óscar Fuentes |
Subject: |
Re: X resource leak? |
Date: |
Mon, 19 Jan 2009 10:08:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
"Stephen J. Turnbull" <address@hidden> writes:
> Chong Yidong writes:
> > Óscar Fuentes <address@hidden> writes:
> >
> > > I place an emacs -Q session and a konsole with xrestop side to
> > > side. Just opening a file, scrolling through, etc, makes the number of
> > > pixmaps and misc objects to grow. Killing the buffer does not reduce the
> > > number of X resources used by emacs. Something as simple as C-x C-f C-g
> > > increases the number of pixmaps by 4 (2 for C-x C-f and two more when I
> > > abort with C-g). Is as if the allocated X resources never were freed.
> >
> > I can not reproduce this. Could you provide a *precise* recipe?
That's the precise recipe. I repeat:
emacs -Q
C-x C-f C-g
and the pixmap count increases by 4. C-x C-f C-g again, and it keeps
increasing.
I'm not expecting from you to reproduce the problem: it is so glaring
that if it were common it would already noticed. I'm looking for some
guidance on how to diagnose it on my machine.
> This sounds like the X server may not have the X Render extension
> enabled, so Xft is using pixmaps to simulate X Render. I have nothing
> more to say about it, this is just hearsay from something I read
> somewhere in passing (that for a couple of year Xft has had the
> capability to use standard X calls to simulate X Render calls).
> Anyway, it's easy to check for the X Render extension in the server
> with xpdyinfo | grep -i render and in emacs with ldd | grep -i render.
> If it's present as an extension in the server and linked in emacs,
> probably that's not it.
/home/oscar $ ldd /usr/local/bin/emacs | grep -i render
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f8a5f9ba000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0
(0x00007f8a5eb37000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f8a5e92e000)
I have no xpdyinfo. Hope the above is enough to decide if the
exentension is working or not.
--
Oscar
- X resource leak?, Óscar Fuentes, 2009/01/15
- Re: X resource leak?, Jan D., 2009/01/19
- Re: X resource leak?, Óscar Fuentes, 2009/01/19
- Re: X resource leak?, Jan Djärv, 2009/01/20
- Re: X resource leak?, Óscar Fuentes, 2009/01/20