Re: [gtk-list] Memory leak in GTK+ ?





The GtkText does seem to leak mem. I had notice that a long time ago, but
no one reacted to it.





Patrick Lambert
----------------------------------------------------------------------
DarkElf Network SysAdmin                        http://www.darkelf.net
OKC.OK.US.UnderNet.Org Operator                http://www.undernet.org
    Check the main resource for developers at www.fastethernet.net
----------------------------------------------------------------------

On Tue, 14 Jul 1998, Georg Greve wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Hi !
> 
> I have been watching the new version of my xlogmaster (1.3.0) pretty
> closely, because I had to do some new memory handling.
> 
> Well watching it really closely I noticed that the xlogmaster grew in
> memory over time... I checked it out for a while and it seems that it
> even grew when switching between logfiles.
> 
> The ONLY thing that happens on my part when switching between them is
> basically clearing the GtkText widget and then displaying another
> buffer in it. There is *no memory allocation on my side* there but the
> xlogmaster grows... so I am kinda suspicious of the GtkText widget to
> cause this (especially because it is known to be flawed) and would
> like to know whether anyone else has noticed similar things.
> 
> The other thing that seems to enlarge the xlogmaster is
> reconfiguration. During reconfiguration there is a lot of allocation
> and deallocation doing on so it is possible that I forgot to free some
> array somewhere - although I don't think so. I looked through the
> source and found the free command for every block I allocated and the
> program should always run through them no matter what. So I am also
> suspicious of the GTK+ there but I can't be too sure whether it is the
> problem of the GTK+ toolkit.
> 
> 
> Everyone who is interested in this is VERY welcome to pull down the
> recent development version from
> 
> 	http://www.fusebox.hanse.de/xlogmaster/development/
> 		or
> 	http://porter.desy.de/~greve/xlogmaster/development/
> 
> because I'd be very grateful of you could find a mistake on my
> side... I am relatively sure that at least the GtkText widget is leaky,
> though.
> 
> Later,
> 	Georg
> 
> - -- 
> Georg C. F. Greve <greve@fusebox.hanse.de>
> http://porter.desy.de/~greve/ - ICQ#10016966
> "People who fight may lose. People who do not
> fight have already lost." -- Bertolt Brecht
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3i
> Charset: noconv
> Comment: Processed
> 
> iQCVAwUBNatTvVZXgZXDxqJtAQH8TAP/ZS5/FZE3V2/AY014QwpOkbkzFxKllSkw
> R+N4Yt5tlz8WRdshc4hvSooi4GgHcPeNMKXfRbLEH6lv+g50uD5xztWORPgcBaYn
> mt48eC0pvYfILX/V+LTmrI11i5ttPkImLz3ur+wxLEfxl0B91pNlEbKM2DCI1p2Z
> IYNSyTOU6q0=
> =NXdc
> -----END PGP SIGNATURE-----
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]