From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G8EVl-0003nR-2h for garchives@archives.gentoo.org; Wed, 02 Aug 2006 11:03:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k72B0QTI025700; Wed, 2 Aug 2006 11:00:26 GMT Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k72AwOqj031727 for ; Wed, 2 Aug 2006 10:58:25 GMT Received: from omniBook (unknown [81.56.142.158]) by smtp1-g19.free.fr (Postfix) with SMTP id 5E60D9AE5B for ; Wed, 2 Aug 2006 12:58:24 +0200 (CEST) From: gwe Subject: [gentoo-user] memory leak with gtk+-2.8.20-r1 Date: Wed, 02 Aug 2006 12:58:33 +0200 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k72B0QTn025700 X-Archives-Salt: 081ed497-db64-474b-a0ac-e25079b4c757 X-Archives-Hash: d62eddf2f5061644d693d9120678a3ff 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 :=20 #include int main(int argc, char **argv) { gtk_init(&argc, &argv); GtkWidget *win=3D gtk_window_new(GTK_WINDOW_TOPLEVEL); g_signal_connect(G_OBJECT(win), "destroy", G_CALLBACK(gtk_main_quit), = NULL); =20 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 XOp= enDisplay 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... =20 I've made many search on the web but nothing informations to resolve this= problem. =20 I've recompilling all with : emerge -e world =20 downgrading all of X parts and gtk+ & glib.=20 But results are the same. =20 Visibly the most big part of errors are in gtk_init -> gdk_display_open a= nd XOpenDisplay in libX11 =20 Someone has the same problem or an solution to solve this leak of memory?= =20 Thank you very much. Gwenha=EBl --=20 gentoo-user@gentoo.org mailing list