GDI object leak with remote emacs

Igor Pechtchanski
Wed Feb 11 23:14:00 GMT 2004

On Wed, 11 Feb 2004, Jeremy Tan wrote:

> I don't know if this is related to the problems that people are
> experiencing with local copies of emacs but I'm seeing a GDI object
> leak with remote invocations of emacs that are routed back to my X
> server.
> Basically, I run cygwin/XFree86 on my local workstation, and I start
> an emacs on a Unix server that is displayed on my X server here.
> When using emacs, everytime I open a file, I can see that the XWin.exe
> processes gains a few GDI objects, but killing that buffer in emacs
> doesn't free them.  Exiting emacs doesn't free them either.  Once the
> leak grows enough (around 1500 GDI objects in XWin.exe) I start
> getting repaint problems and I have to kill X and restart it.
> This only started occuring when I updated my cygwin package last
> week.  Below is my cygcheck output.
> Thanks,
> j

FWIW, the same GDI object accumulation happens in Exceed.  This is just a
datapoint, though, and doesn't mean it shouldn't be fixed in XWin, if at
all possible.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

More information about the Cygwin-xfree mailing list