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 1G8Dbm-000839-M2 for garchives@archives.gentoo.org; Wed, 02 Aug 2006 10:05:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k72A46j3000897; Wed, 2 Aug 2006 10:04:06 GMT Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k72A1hN6015218 for ; Wed, 2 Aug 2006 10:01:43 GMT Received: from omniBook (unknown [81.56.142.158]) by smtp3-g19.free.fr (Postfix) with SMTP id CE746498E3 for ; Wed, 2 Aug 2006 12:01:42 +0200 (CEST) From: gwe Subject: [gentoo-dev] memory leak with gtk+-2.8.20-r1 Date: Wed, 02 Aug 2006 12:01:51 +0200 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: To: gentoo-dev@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@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 k72A46ko000897 X-Archives-Salt: a01de923-b835-4c2b-8d67-63e414f8bd8b X-Archives-Hash: b638ae03a90e422621982a85807ea826 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-dev@gentoo.org mailing list