From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Anderson Newsgroups: gmane.emacs.devel Subject: valgrind Date: 15 Feb 2003 02:07:07 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1045303631.7047.35.camel@lan1> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045303116 1042 80.91.224.249 (15 Feb 2003 09:58:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 15 Feb 2003 09:58:36 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18jz5f-0000Gg-00 for ; Sat, 15 Feb 2003 10:58:35 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18jzJ2-0004ef-00 for ; Sat, 15 Feb 2003 11:12:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18jz7A-0007Fh-01 for emacs-devel@quimby.gnus.org; Sat, 15 Feb 2003 05:00:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18jz6t-0007Eg-00 for emacs-devel@gnu.org; Sat, 15 Feb 2003 04:59:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18jz6r-0007AO-00 for emacs-devel@gnu.org; Sat, 15 Feb 2003 04:59:50 -0500 Original-Received: from adsl-63-207-14-122.dsl.snfc21.pacbell.net ([63.207.14.122] helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18jz6r-0007AK-00 for emacs-devel@gnu.org; Sat, 15 Feb 2003 04:59:49 -0500 Original-Received: from lan1 (lan1 [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h1FA77d2027281 for ; Sat, 15 Feb 2003 02:07:11 -0800 Original-To: emacs-devel@gnu.org X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11662 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11662 Has anyone ever looked into why emacs doesn't play well with valgrind? It dies immediately with: ==27208== Invalid free() / delete / delete[] ==27208== at 0x400454FE: realloc (vg_clientfuncs.c:270) ==27208== by 0x81183FA: xrealloc (alloc.c:542) ==27208== by 0x8051E24: adjust_frame_message_buffer (dispnew.c:2437) ==27208== by 0x8051925: adjust_frame_glyphs (dispnew.c:2134) ==27208== Address 0x82C98D0 is not stack'd, malloc'd or free'd ==27208== ==27208== Invalid free() / delete / delete[] ==27208== at 0x400451CE: free (vg_clientfuncs.c:180) ==27208== by 0x8118305: memory_full (alloc.c:474) ==27208== by 0x811844D: xrealloc (alloc.c:546) ==27208== by 0x8051E24: adjust_frame_message_buffer (dispnew.c:2437) ==27208== Address 0x82B2978 is not stack'd, malloc'd or free'd emacs: Memory exhausted--use M-x save-some-buffers then exit and restart Emacs ==27208== Bob