public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] memory leak with gtk+-2.8.20-r1
@ 2006-08-02 10:01 gwe
  2006-08-02 10:34 ` Alexandre Buisse
  0 siblings, 1 reply; 2+ messages in thread
From: gwe @ 2006-08-02 10:01 UTC (permalink / raw
  To: gentoo-dev

Hello,
I use gtk+ for my soft's graphic interface.
But valgrind make an log file containing approximately 22700 lines for an
simple source code like : 
#include <gtk/gtk.h>

int main(int argc, char **argv) {
	gtk_init(&argc, &argv);
	  GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);
	  g_signal_connect(G_OBJECT(win), "destroy", G_CALLBACK(gtk_main_quit), NULL);  
	  gtk_widget_show_all(win);
	  gtk_main();
	  return EXIT_SUCCESS;
}
It's difficult to write more simple code...
I've made many searchs on the web but nothing information to resolve this problem.
I've recompiling all with : emerge -e world
downgrading all of X parts and gtk+ & glib. But the result are the same.
Visibly the big part of error are in gtk_init -> gdk_display_open and XOpenDisplay in libX11

Someone has the same problem or an solution to solve this leak of memory?
Thank you very much.
It's difficult to write more simple code...  
I've made many search on the web but nothing informations to resolve this problem.  
I've recompilling all with : emerge -e world  
downgrading all of X parts and gtk+ & glib. 
But results are the same.  
Visibly the most big part of errors are in gtk_init -> gdk_display_open and XOpenDisplay in libX11    
Someone has the same problem or an solution to solve this leak of memory?  
Thank you very much.
Gwenhaël

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] memory leak with gtk+-2.8.20-r1
  2006-08-02 10:01 [gentoo-dev] memory leak with gtk+-2.8.20-r1 gwe
@ 2006-08-02 10:34 ` Alexandre Buisse
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Buisse @ 2006-08-02 10:34 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

On Wed, Aug  2, 2006 at 12:26:57 +0200, gwe wrote:

> Hello,
> I use gtk+ for my soft's graphic interface.
[...]
> Someone has the same problem or an solution to solve this leak of memory?  

Hi,
it's best to file a bug at bugs.gentoo.org or post to the gentoo-user
mailing list. This list is for development related to gentoo and not for
support.

Thanks.
/Alexandre

-- 
Hi, I'm a .signature virus! Please copy me in your ~/.signature.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-02 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 10:01 [gentoo-dev] memory leak with gtk+-2.8.20-r1 gwe
2006-08-02 10:34 ` Alexandre Buisse

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