From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: problem report #97: base/src/emacs/src/term.c (init_tty):RESOURCE_LEAK Date: Mon, 08 Dec 2008 11:00:30 -0500 Message-ID: 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 1228752123 32753 80.91.229.12 (8 Dec 2008 16:02:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 16:02:03 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel To: "richardeng" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 08 17:03:07 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 1L9iZX-0003F9-3M for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2008 17:02:59 +0100 Original-Received: from localhost ([127.0.0.1]:60722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9iYL-0006Hd-Dw for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2008 11:01:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9iXJ-0005y0-Qb for emacs-devel@gnu.org; Mon, 08 Dec 2008 11:00:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9iXB-0005th-Ob for emacs-devel@gnu.org; Mon, 08 Dec 2008 11:00:38 -0500 Original-Received: from [199.232.76.173] (port=56935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9iXA-0005sq-Eu for emacs-devel@gnu.org; Mon, 08 Dec 2008 11:00:32 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:52161) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L9iXA-0004BP-1S for emacs-devel@gnu.org; Mon, 08 Dec 2008 11:00:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtEEAE7TPElLd+Aw/2dsb2JhbACBbM0UgwWBJg X-IronPort-AV: E=Sophos;i="4.33,735,1220241600"; d="scan'208";a="30783055" Original-Received: from 75-119-224-48.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.48]) by ironport2-out.teksavvy.com with ESMTP; 08 Dec 2008 11:00:30 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2B9608219; Mon, 8 Dec 2008 11:00:30 -0500 (EST) In-Reply-To: <200812081711503879659@foxmail.com> (richardeng@foxmail.com's message of "Mon, 8 Dec 2008 17:11:51 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:106680 Archived-At: > What tool do you use to check the Emacs memory leak? I just know > valgrind doesn't work. IIRC someone mentioned getting valgrind to work (maybe without dumping and with some extra work?). If someone could add some blurb about it in etc/DEBUG that would be helpful. Even if it doesn't work fully, adding some info about what was tried can be useful for the next one who tries it. Stefan