public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] memory leak with gtk+-2.8.20-r1
@ 2006-08-02 10:58 gwe
  2006-08-02 11:16 ` Hans-Werner Hilse
  2006-08-02 15:14 ` Randy Barlow
  0 siblings, 2 replies; 9+ messages in thread
From: gwe @ 2006-08-02 10:58 UTC (permalink / raw
  To: gentoo-user

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-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread
* [gentoo-user] memory leak with gtk+-2.8.20-r1
@ 2006-08-02 11:04 gwe
  0 siblings, 0 replies; 9+ messages in thread
From: gwe @ 2006-08-02 11:04 UTC (permalink / raw
  To: gentoo-user

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-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <6FmCn-3KJ-17@gated-at.bofh.it>]
[parent not found: <6FnoP-4ZX-69@gated-at.bofh.it>]

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 10:58 [gentoo-user] memory leak with gtk+-2.8.20-r1 gwe
2006-08-02 11:16 ` Hans-Werner Hilse
2006-08-02 15:14 ` Randy Barlow
  -- strict thread matches above, loose matches on Subject: below --
2006-08-02 11:04 gwe
     [not found] <6FmCn-3KJ-17@gated-at.bofh.it>
     [not found] ` <6FmVF-4oe-19@gated-at.bofh.it>
2006-08-02 11:49   ` gwe
2006-08-02 13:47     ` Hans-Werner Hilse
2006-08-02 15:20       ` Randy Barlow
     [not found] <6FnoP-4ZX-69@gated-at.bofh.it>
     [not found] ` <6FnoP-4ZX-71@gated-at.bofh.it>
     [not found]   ` <6FnoP-4ZX-67@gated-at.bofh.it>
     [not found]     ` <6FpgY-7RO-5@gated-at.bofh.it>
     [not found]       ` <6FqPE-1YI-3@gated-at.bofh.it>
2006-08-02 16:14         ` gwe
2006-08-02 16:24           ` Hans-Werner Hilse

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