From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: command and doco for valgrind Date: Sat, 17 Jan 2004 23:38:58 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16393.51090.62851.168340@nick.uklinux.net> References: <16383.8247.758985.411260@nick.uklinux.net> <9743-Sat10Jan2004143440+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1074448844 20467 80.91.224.253 (18 Jan 2004 18:00:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2004 18:00:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jan 18 19:00:32 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiGgl-0008Oa-00 for ; Sun, 18 Jan 2004 18:26:19 +0100 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ai0CX-0006dA-00 for ; Sun, 18 Jan 2004 00:50:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ai0Bd-0002x9-Pc for emacs-devel@quimby.gnus.org; Sat, 17 Jan 2004 18:49:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Ai0BD-0002q5-7I for emacs-devel@gnu.org; Sat, 17 Jan 2004 18:48:39 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Ai0AC-0001Ri-E1 for emacs-devel@gnu.org; Sat, 17 Jan 2004 18:48:14 -0500 Original-Received: from [194.247.51.7] (helo=nick.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ai0AB-0001NZ-3u for emacs-devel@gnu.org; Sat, 17 Jan 2004 18:47:35 -0500 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id C69C275FDE; Sat, 17 Jan 2004 23:39:10 +0000 (GMT) Original-To: Eli Zaretskii In-Reply-To: <9743-Sat10Jan2004143440+0200-eliz@elta.co.il> X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19239 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19239 > > Here's a patch for valgrind relating to my earlier message. Any comments? > > This is IMHO a borderline case: not only do we document GDB-related > features in the Emacs manual, but we also document usage of another > program that might help debugging programs. I dunno. I got no postive feedback the valgrind users list either so I won't commit this patch. If I can develop the idea further, I will re-post it. Thanks for an honest reply. BTW I think valgrind could be a useful tool to debug some of Emacs crashes (less frequent now) on x86 architectures. However, for some reason, it reports a memory full message at start up, at the moment: ==2466== Invalid free() / delete / delete[] ==2466== at 0x400263A8: free (vg_replace_malloc.c:231) ==2466== by 0x812A135: memory_full (alloc.c:478) ==2466== by 0x812A3E8: lisp_malloc (alloc.c:623) ==2466== by 0x812BA07: allocate_vectorlike (alloc.c:2505) ==2466== Address 0x83CCE60 is not stack'd, malloc'd or free'd emacs: Memory exhausted--use M-x save-some-buffers then exit and restart Emacs Nick