GDI leak on win95

Chris January chris at atomice.net
Sat Jan 8 23:15:36 CET 2005


> On Saturday 08 January 2005 22:17, Chris January wrote:
> > > relating to the bug in 
> > > http://sourceforge.net/tracker/index.php?func=detail&aid=10897
> > > 82&group_id=27249&atid=389712.
> > > Are there some more detail about this bug beside the one 
> that this 
> > > is probably a pen leek ?
> >
> > I'm not even sure it is a pen leak. I don't really know how to 
> > interpret the results of the leak tool but the number of pens and 
> > brushes doesn't seem to increase past a certain limit. But I don't 
> > know if that's simply because it runs out at that point!
> >
> > I've looked through the code and I can't see why it would 
> be leaking 
> > pens anymore. It may be a brush leak because the number of brush 
> > handles is quite high - but I haven't checked that out yet.
> >
> > It's almost certainly some kind of GDI problem anyway!
> >
> Strange and very time consuming, can anyone give a short 
> testcase or example, 
> which shows the problem ? 

Upon further investigation, pens and brushes seem ok. The problem appears to
be a region leak! I will continue looking at this tomorrow. Let me know if
you turn up anything useful.

Chris



More information about the kde-cygwin mailing list