comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: Problem with memory leaks in Glade and GLADE
Date: Wed, 24 Sep 2003 00:53:18 +0100
Date: 2003-09-24T00:53:18+01:00	[thread overview]
Message-ID: <R15cb.2820$jJ3.43467@newsfep4-glfd.server.ntli.net> (raw)
In-Reply-To: <uad8v8x5k.fsf@nasa.gov>

Stephen Leake wrote:
> Yes. The GtkAda list is quite helpful. See
> http://libre.act-europe.fr/GtkAda/ for info on how to subscribe (in
> the Authors section).

OK.  I've been looking at the list.  Useful to keep in touch with.

Unfortunately (?) I have found the leak problems are mirrored in the
C version of the demo code "gtk-demo".  This code also sucks in RAM each time
the pointed enters the main selection window, (as well as taking in
a megabyte or two extra each time a function is activated).

I can't blame deficient Ada programming for the behavior of gtk-demo,
and it almost looks like the "free" function call has been replaced by a no-op!

Perhaps the most obvious error I might have made would be to have some
inconsistent combinations of libraries being loaded, or versions with known
memory bugs, so (for the record) I've included the list below...

$ ldd /usr/local/bin/gtk-demo
         libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0x40013000)
         libgdk-x11-2.0.so.0 => /usr/local/lib/libgdk-x11-2.0.so.0 (0x40027000)
         libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0 (0x40089000)
         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402ab000)
         libXft.so.2 => /usr/lib/libXft.so.2 (0x402b8000)
         libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x402ca000)
         libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x402cf000)
         libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x402f5000)
         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4033e000)
         libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x40413000)
         libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x40434000)
         libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x40441000)
         libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40474000)
         libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x4048e000)
         libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x404c3000)
         libdl.so.2 => /lib/libdl.so.2 (0x404c7000)
         libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x404ca000)
         libm.so.6 => /lib/i686/libm.so.6 (0x40531000)
         libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
         libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40554000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
--
Adrian




  reply	other threads:[~2003-09-23 23:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17  0:22 Problem with memory leaks in Glade and GLADE Dr. Adrian Wrigley
2003-09-17 14:14 ` Stephen Leake
2003-09-22 12:16 ` Robert I. Eachus
2003-09-22 22:30 ` Dr. Adrian Wrigley
2003-09-23 13:14   ` Stephen Leake
2003-09-23 23:53     ` Dr. Adrian Wrigley [this message]
2003-09-24  1:21       ` Jeff C,
2003-10-03 17:27   ` Dr. Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox