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 1G8HA6-0006Rl-TY for garchives@archives.gentoo.org; Wed, 02 Aug 2006 13:53:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k72DoSI8020491; Wed, 2 Aug 2006 13:50:28 GMT Received: from gabriel.sub.uni-goettingen.de (gabriel.sub.uni-goettingen.de [134.76.163.126]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k72Dl2eN015346 for ; Wed, 2 Aug 2006 13:47:02 GMT Received: by gabriel.sub.uni-goettingen.de (Postfix, from userid 8) id 539FAE9A00; Wed, 2 Aug 2006 15:47:02 +0200 (CEST) Received: from butch (dslb-082-083-047-205.pools.arcor-ip.net [82.83.47.205]) by gabriel.sub.uni-goettingen.de (Postfix) with ESMTP id 79642524CD for ; Wed, 2 Aug 2006 15:47:00 +0200 (CEST) Date: Wed, 2 Aug 2006 15:47:15 +0200 From: Hans-Werner Hilse To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] memory leak with gtk+-2.8.20-r1 Message-Id: <20060802154715.d9259bb7.hilse@web.de> In-Reply-To: References: <6FmCn-3KJ-17@gated-at.bofh.it> <6FmVF-4oe-19@gated-at.bofh.it> X-Mailer: Sylpheed version 2.2.5 (GTK+ 2.8.19; i586-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Details: No, hits=1.7 required=5.0 tests=AWL,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on gabriel.sub.uni-goettingen.de X-Archives-Salt: 40641cd7-c4da-4f99-8fac-0626d3b0f312 X-Archives-Hash: b6a38369ce9c0a67e814bdb5687360e8 Hi, On Wed, 02 Aug 2006 13:49:04 +0200 gwe wrote: > I'm sorry > I post only the end of log file of valgrind (the entire file is very big > ~22500 lines). > This is the result of execute the source code : > ==13767== LEAK SUMMARY: > ==13767== definitely lost: 36 bytes in 1 blocks. > ==13767== indirectly lost: 120 bytes in 10 blocks. > ==13767== possibly lost: 40,264 bytes in 47 blocks. > ==13767== still reachable: 118,673 bytes in 1,963 blocks. > ==13767== suppressed: 0 bytes in 0 blocks. OK, but memory usage doesn't add up while the program is running, right? I think it may be just the missing call to gtk_exit(EXIT_SUCCESS) instead of return EXITSUCCESS. At least gtk_exit() is supposed to do final cleanup work. But I think this is rather OT for this list. If you don't get more answers here, you may seek help at the GTK project... -hwh -- gentoo-user@gentoo.org mailing list