emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

valgrind emacs


From: Neal Becker
Subject: valgrind emacs
Date: Sat, 22 Mar 2008 13:47:56 -0400
User-agent: KNode/0.10.9

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== 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]