From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.devel Subject: valgrind emacs Date: Sat, 22 Mar 2008 13:47:56 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1206208302 4084 80.91.229.12 (22 Mar 2008 17:51:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2008 17:51:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 22 18:52:12 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 1Jd7t1-0002Y0-OI for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2008 18:52:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd7sR-0005Ym-7f for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2008 13:51:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jd7r7-000525-KK for emacs-devel@gnu.org; Sat, 22 Mar 2008 13:50:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jd7r6-00051f-Qd for emacs-devel@gnu.org; Sat, 22 Mar 2008 13:50:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd7r6-00051N-Ge for emacs-devel@gnu.org; Sat, 22 Mar 2008 13:50:08 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jd7r5-0006TD-Ty for emacs-devel@gnu.org; Sat, 22 Mar 2008 13:50:08 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Jd7r0-0001Id-7A for emacs-devel@gnu.org; Sat, 22 Mar 2008 17:50:02 +0000 Original-Received: from pool-70-16-163-218.hag.east.verizon.net ([70.16.163.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Mar 2008 17:50:02 +0000 Original-Received: from ndbecker2 by pool-70-16-163-218.hag.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Mar 2008 17:50:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 80 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-16-163-218.hag.east.verizon.net User-Agent: KNode/0.10.9 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:93199 Archived-At: Anyone try valgrind on emacs? I get some errors: ==15930== Invalid free() / delete / delete[] ==15930== at 0x4A05AF7: realloc (vg_replace_malloc.c:306) ==15930== by 0x536A0D: xrealloc (alloc.c:788) ==15930== by 0x4F9DBF: enlarge_buffer_text (buffer.c:5095) ==15930== by 0x50458B: make_gap_larger (insdel.c:528) ==15930== by 0x46FE5B: alloc_destination (coding.c:1124) ==15930== by 0x4701B1: produce_chars (coding.c:6068) ==15930== by 0x4750ED: decode_coding (coding.c:6403) ==15930== by 0x476326: decode_coding_object (coding.c:7054) ==15930== by 0x476AF8: code_convert_string (coding.c:8281) ==15930== by 0x4DC268: main (emacs.c:555) ==15930== Address 0x256FB60 is not stack'd, malloc'd or (recently) free'd ==15930== ==15930== Invalid free() / delete / delete[] ==15930== at 0x4A0560B: free (vg_replace_malloc.c:233) ==15930== by 0x53465B: memory_full (alloc.c:3416) ==15930== by 0x536A24: xrealloc (alloc.c:791) ==15930== by 0x4F9DBF: enlarge_buffer_text (buffer.c:5095) ==15930== by 0x50458B: make_gap_larger (insdel.c:528) ==15930== by 0x46FE5B: alloc_destination (coding.c:1124) ==15930== by 0x4701B1: produce_chars (coding.c:6068) ==15930== by 0x4750ED: decode_coding (coding.c:6403) ==15930== by 0x476326: decode_coding_object (coding.c:7054) ==15930== by 0x476AF8: code_convert_string (coding.c:8281) ==15930== by 0x4DC268: main (emacs.c:555) ==15930== Address 0x24E85E0 is not stack'd, malloc'd or (recently) free'd ==15930== ==15930== Invalid free() / delete / delete[] ==15930== at 0x4A0560B: free (vg_replace_malloc.c:233) ==15930== by 0x534284: lisp_align_free (alloc.c:1112) ==15930== by 0x53461A: memory_full (alloc.c:3418) ==15930== by 0x536A24: xrealloc (alloc.c:791) ==15930== by 0x4F9DBF: enlarge_buffer_text (buffer.c:5095) ==15930== by 0x50458B: make_gap_larger (insdel.c:528) ==15930== by 0x46FE5B: alloc_destination (coding.c:1124) ==15930== by 0x4701B1: produce_chars (coding.c:6068) ==15930== by 0x4750ED: decode_coding (coding.c:6403) ==15930== by 0x476326: decode_coding_object (coding.c:7054) ==15930== by 0x476AF8: code_convert_string (coding.c:8281) ==15930== by 0x4DC268: main (emacs.c:555) ==15930== Address 0x24E84D0 is not stack'd, malloc'd or (recently) free'd ==15930== ==15930== Invalid free() / delete / delete[] ==15930== at 0x4A0560B: free (vg_replace_malloc.c:233) ==15930== by 0x534328: lisp_free (alloc.c:899) ==15930== by 0x534654: memory_full (alloc.c:3420) ==15930== by 0x536A24: xrealloc (alloc.c:791) ==15930== by 0x4F9DBF: enlarge_buffer_text (buffer.c:5095) ==15930== by 0x50458B: make_gap_larger (insdel.c:528) ==15930== by 0x46FE5B: alloc_destination (coding.c:1124) ==15930== by 0x4701B1: produce_chars (coding.c:6068) ==15930== by 0x4750ED: decode_coding (coding.c:6403) ==15930== by 0x476326: decode_coding_object (coding.c:7054) ==15930== by 0x476AF8: code_convert_string (coding.c:8281) ==15930== by 0x4DC268: main (emacs.c:555) ==15930== Address 0x24F0680 is not stack'd, malloc'd or (recently) free'd ==15930== ==15930== Invalid free() / delete / delete[] ==15930== at 0x4A0560B: free (vg_replace_malloc.c:233) ==15930== by 0x534654: memory_full (alloc.c:3420) ==15930== by 0x536A24: xrealloc (alloc.c:791) ==15930== by 0x4F9DBF: enlarge_buffer_text (buffer.c:5095) ==15930== by 0x50458B: make_gap_larger (insdel.c:528) ==15930== by 0x46FE5B: alloc_destination (coding.c:1124) ==15930== by 0x4701B1: produce_chars (coding.c:6068) ==15930== by 0x4750ED: decode_coding (coding.c:6403) ==15930== by 0x476326: decode_coding_object (coding.c:7054) ==15930== by 0x476AF8: code_convert_string (coding.c:8281) ==15930== by 0x4DC268: main (emacs.c:555) ==15930== Address 0x24F0EA0 is not stack'd, malloc'd or (recently) free'd emacs: Memory exhausted--use M-x save-some-buffers then exit and restart Emacs==15930== ==15930== ERROR SUMMARY: 10 errors from 5 contexts (suppressed: 4 from 1) ==15930== malloc/free: in use at exit: 80 bytes in 4 blocks. ==15930== malloc/free: 105 allocs, 110 frees, 10,956 bytes allocated. ==15930== For counts of detected errors, rerun with: -v ==15930== searching for pointers to 4 not-freed blocks. ==15930== checked 51,884,776 bytes. ==15930==