From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: problem report #97: base/src/emacs/src/term.c (init_tty):RESOURCE_LEAK Date: Mon, 8 Dec 2008 07:31:25 -0800 (PST) Message-ID: <200812081531.mB8FVP59017353@mothra.ics.uci.edu> References: <200812011556.mB1Fu6jE015153@mothra.ics.uci.edu> <200812081711503879659@foxmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228750326 26095 80.91.229.12 (8 Dec 2008 15:32:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 15:32:06 +0000 (UTC) Cc: emacs-devel To: "richardeng" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 08 16:33:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L9i6Z-0008RL-3Z for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2008 16:33:03 +0100 Original-Received: from localhost ([127.0.0.1]:53316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9i5O-00017J-6I for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2008 10:31:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9i5J-00017C-Gh for emacs-devel@gnu.org; Mon, 08 Dec 2008 10:31:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9i5I-00016s-1E for emacs-devel@gnu.org; Mon, 08 Dec 2008 10:31:44 -0500 Original-Received: from [199.232.76.173] (port=52511 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9i5H-00016p-TI for emacs-devel@gnu.org; Mon, 08 Dec 2008 10:31:43 -0500 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:57035) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1L9i5H-00017S-Fo for emacs-devel@gnu.org; Mon, 08 Dec 2008 10:31:43 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mB8FVQCn017712; Mon, 8 Dec 2008 07:31:26 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mB8FVP59017353; Mon, 8 Dec 2008 07:31:25 -0800 (PST) In-Reply-To: <200812081711503879659@foxmail.com> (richardeng@foxmail.com's message of "Mon, 8 Dec 2008 17:11:51 +0800") Original-Lines: 20 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mB8FVQCn017712 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106677 Archived-At: "richardeng" writes: > Dan Nicolaescu writes: > > > CID: 97 > > Checker: RESOURCE_LEAK (help) > > File: base/src/emacs/src/term.c > > Function: init_tty > > Description: Returned without freeing storage "area" > > > > Event alloc_fn: Called allocation function "xmalloc" [model] > > Event var_assign: Assigned variable "area" to storage returned from "xmalloc" > > Also see events: [var_assign][leaked_storage] > > Hi, Dan > What tool do you use to check the Emacs memory leak? I just know valgrind doesn't work. > It seems the above report is generated by some tool. > Thank you! See http://permalink.gmane.org/gmane.emacs.devel/106398