From: Dan Nicolaescu <dann@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Stephen J. Turnbull" <stephen@xemacs.org>, emacs-devel@gnu.org
Subject: valgrind warnings [Re: Emacs bzr memory footprint]
Date: Fri, 28 Oct 2011 07:52:12 -0400 [thread overview]
Message-ID: <yxqaa8ljpub.fsf_-_@fencepost.gnu.org> (raw)
In-Reply-To: <83ty6t9zd0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 28 Oct 2011 12:36:43 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> So I imagine one needs to do this (100% untested):
>
> ./temacs -l loadup
> M-x load-file RET ~/.emacs RET
Actually
./temacs
is enough.
On Fedora 15 with valgrind-3.6.1 it is possible to run
valgrind ./temacs
Valgrind produces these warnings, maybe some of them are interesting:
==30382== Conditional jump or move depends on uninitialised value(s)
==30382== at 0x5B7084: mark_object (alloc.c:5691)
==30382== by 0x5B6E71: mark_object (alloc.c:5612)
==30382== by 0x5B6DDF: mark_object (alloc.c:5591)
==30382== by 0x5B7109: mark_object (alloc.c:5702)
==30382== by 0x5B6E1D: mark_object (alloc.c:5595)
==30382== by 0x5B687B: mark_vectorlike (alloc.c:5391)
==30382== by 0x5B6DA8: mark_object (alloc.c:5579)
==30382== by 0x5B6DDF: mark_object (alloc.c:5591)
==30382== by 0x5B687B: mark_vectorlike (alloc.c:5391)
==30382== by 0x5B6DA8: mark_object (alloc.c:5579)
==30382== by 0x5B6DDF: mark_object (alloc.c:5591)
==30382== by 0x5B687B: mark_vectorlike (alloc.c:5391)
==30382==
==30382== Conditional jump or move depends on uninitialised value(s)
==30382== at 0x4731E6: note_mouse_highlight (xdisp.c:26841)
==30382== by 0x4F8682: note_mouse_movement (xterm.c:3830)
==30382== by 0x4FCB2E: handle_one_xevent (xterm.c:6652)
==30382== by 0x4FD792: XTread_socket (xterm.c:7133)
==30382== by 0x5437F7: read_avail_input (keyboard.c:6821)
==30382== by 0x54409F: handle_async_input (keyboard.c:7149)
==30382== by 0x5440BE: process_pending_signals (keyboard.c:7165)
==30382== by 0x62D713: wait_reading_process_output (process.c:4340)
==30382== by 0x419ED2: sit_for (dispnew.c:5971)
==30382== by 0x53AF87: read_char (keyboard.c:2687)
==30382== by 0x548876: read_key_sequence (keyboard.c:9290)
==30382== by 0x538709: command_loop_1 (keyboard.c:1447)
==30382== Conditional jump or move depends on uninitialised value(s)
==30382== at 0x46D785: x_write_glyphs (xdisp.c:24661)
==30382== by 0x413E4A: update_text_area (dispnew.c:3765)
==30382== by 0x414794: update_window_line (dispnew.c:4006)
==30382== by 0x413A1A: update_window (dispnew.c:3625)
==30382== by 0x413256: update_single_window (dispnew.c:3370)
==30382== by 0x511A93: Fx_show_tip (xfns.c:5189)
==30382== by 0x5D6E47: Ffuncall (eval.c:2995)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x6221C6: Fbyte_code (bytecode.c:423)
==30382== by 0x5D56AB: eval_sub (eval.c:2328)
==30382== by 0x5D381A: internal_lisp_condition_case (eval.c:1453)
==30382== by 0x62392A: exec_byte_code (bytecode.c:981)
==30382== Conditional jump or move depends on uninitialised value(s)
==30382== at 0x5B489D: live_misc_p (alloc.c:4001)
==30382== by 0x5B4C5D: mark_maybe_object (alloc.c:4138)
==30382== by 0x5B4FE6: mark_memory (alloc.c:4274)
==30382== by 0x5B507E: mark_stack (alloc.c:4532)
==30382== by 0x5B5F48: Fgarbage_collect (alloc.c:5119)
==30382== by 0x5D69F0: Ffuncall (eval.c:2911)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== Conditional jump or move depends on uninitialised value(s)
==30382== at 0x499251: coding_set_destination (coding.c:1046)
==30382== by 0x4B477A: decode_coding (coding.c:7022)
==30382== by 0x4B7317: decode_coding_object (coding.c:7671)
==30382== by 0x63610F: Fcall_process (callproc.c:813)
==30382== by 0x5D6C07: Ffuncall (eval.c:2956)
==30382== by 0x5D5ECA: Fapply (eval.c:2479)
==30382== by 0x5D6C07: Ffuncall (eval.c:2956)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== Conditional jump or move depends on uninitialised value(s)
==30382== at 0x6302A9: send_process (process.c:5398)
==30382== by 0x630DC8: Fprocess_send_string (process.c:5648)
==30382== by 0x5D6D61: Ffuncall (eval.c:2977)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== Conditional jump or move depends on uninitialised value(s)
==30382== at 0x636022: Fcall_process (callproc.c:799)
==30382== by 0x5D6C07: Ffuncall (eval.c:2956)
==30382== by 0x5D5ABB: Fapply (eval.c:2422)
==30382== by 0x5D6C07: Ffuncall (eval.c:2956)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== by 0x5D5ABB: Fapply (eval.c:2422)
==30382== by 0x5D6C07: Ffuncall (eval.c:2956)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
==30382== Use of uninitialised value of size 8
==30382== at 0x5B7000: mark_object (alloc.c:5674)
==30382== by 0x5B4C9B: mark_maybe_object (alloc.c:4152)
==30382== by 0x5B4FE6: mark_memory (alloc.c:4274)
==30382== by 0x5B507E: mark_stack (alloc.c:4532)
==30382== by 0x5B5F48: Fgarbage_collect (alloc.c:5119)
==30382== by 0x5D69F0: Ffuncall (eval.c:2911)
==30382== by 0x5D64CA: call2 (eval.c:2758)
==30382== by 0x5809AA: Finsert_file_contents (fileio.c:4144)
==30382== by 0x5D6E00: Ffuncall (eval.c:2990)
==30382== by 0x622C5B: exec_byte_code (bytecode.c:785)
==30382== by 0x5D77BA: funcall_lambda (eval.c:3205)
==30382== by 0x5D6F4C: Ffuncall (eval.c:3023)
next prev parent reply other threads:[~2011-10-28 11:52 UTC|newest]
Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-13 9:24 Emacs bzr memory footprint Carsten Mattner
2011-10-13 10:01 ` Eli Zaretskii
2011-10-13 10:33 ` Andreas Schwab
2011-10-13 10:46 ` Eli Zaretskii
2011-10-13 13:08 ` Carsten Mattner
2011-10-13 13:38 ` Eli Zaretskii
2011-10-13 15:22 ` Miles Bader
2011-10-13 15:30 ` Eli Zaretskii
2011-10-13 16:16 ` Stefan Monnier
2011-10-13 17:33 ` Dmitry Antipov
2011-10-13 18:42 ` Eli Zaretskii
2011-10-14 3:09 ` Dmitry Antipov
2011-10-13 16:46 ` Stephen J. Turnbull
2011-10-13 16:59 ` Carsten Mattner
2011-10-13 13:13 ` Carsten Mattner
2011-10-13 13:43 ` Eli Zaretskii
2011-10-13 14:10 ` Dave Abrahams
2011-10-13 14:46 ` Eli Zaretskii
2011-10-13 15:05 ` Dave Abrahams
2011-10-13 14:22 ` Stefan Monnier
2011-10-13 16:55 ` Carsten Mattner
2011-10-13 17:09 ` Stefan Monnier
2011-10-14 12:11 ` Carsten Mattner
2011-10-14 21:02 ` John Wiegley
2011-10-15 1:22 ` Stefan Monnier
2011-10-13 17:22 ` Richard Riley
2011-10-13 16:12 ` Chong Yidong
2011-10-13 20:18 ` chad
2011-10-14 12:13 ` Carsten Mattner
2011-10-14 12:18 ` Carsten Mattner
2011-10-14 15:49 ` Sven Joachim
2011-10-14 16:30 ` Ted Zlatanov
2011-10-14 16:48 ` Sven Joachim
2011-10-14 17:16 ` Carsten Mattner
2011-10-15 18:12 ` Sven Joachim
2011-10-20 13:35 ` Nix
2011-10-20 23:02 ` John Wiegley
2011-10-21 0:19 ` Nix
2011-10-21 8:19 ` Eli Zaretskii
2011-10-21 12:05 ` Nix
2011-10-21 12:36 ` Eli Zaretskii
2011-10-21 12:47 ` Nix
2011-10-21 14:30 ` Dmitry Antipov
2011-10-21 15:22 ` Nix
2011-10-21 18:29 ` Dmitry Antipov
2011-10-21 18:36 ` Nix
2011-10-21 13:30 ` Stefan Monnier
2011-10-21 15:02 ` Nix
2011-10-21 17:52 ` Stefan Monnier
2011-10-21 19:12 ` Nix
2011-10-21 15:34 ` Dmitry Antipov
2011-10-21 18:00 ` Stefan Monnier
2011-10-21 18:27 ` Óscar Fuentes
2011-10-21 18:58 ` Eli Zaretskii
2011-10-21 19:11 ` Nix
2011-10-21 20:18 ` Eli Zaretskii
2011-10-21 20:21 ` Nix
2011-10-22 7:34 ` Carsten Mattner
2011-10-22 8:30 ` Stephen J. Turnbull
2011-10-22 12:03 ` Carsten Mattner
2011-10-22 16:08 ` Stephen J. Turnbull
2011-10-27 22:10 ` Ted Zlatanov
2011-10-28 6:40 ` Eli Zaretskii
2011-10-28 9:34 ` Stephen J. Turnbull
2011-10-28 9:47 ` Eli Zaretskii
2011-10-28 10:22 ` Stephen J. Turnbull
2011-10-28 10:36 ` Eli Zaretskii
2011-10-28 11:52 ` Dan Nicolaescu [this message]
2011-10-28 14:08 ` valgrind warnings [Re: Emacs bzr memory footprint] Stephen J. Turnbull
2011-10-28 14:38 ` Dan Nicolaescu
2011-10-28 15:17 ` Chong Yidong
2011-10-28 15:35 ` Eli Zaretskii
2011-10-28 15:27 ` Eli Zaretskii
2011-10-28 16:34 ` Dan Nicolaescu
2011-10-28 18:36 ` Eli Zaretskii
2011-10-28 18:51 ` Eli Zaretskii
2011-10-28 18:52 ` Dan Nicolaescu
2011-10-28 19:03 ` Eli Zaretskii
2011-10-28 15:08 ` Ted Zlatanov
2011-12-04 21:11 ` Florian Weimer
2011-10-28 20:20 ` Dan Nicolaescu
2011-10-29 3:40 ` Chong Yidong
2011-10-29 7:04 ` Andreas Schwab
2011-10-29 16:25 ` Stefan Monnier
2011-11-04 12:51 ` Dan Nicolaescu
2011-11-04 13:08 ` Andreas Schwab
2011-11-04 15:50 ` valgrind warnings Paul Eggert
2011-11-04 17:37 ` valgrind warnings [Re: Emacs bzr memory footprint] Stefan Monnier
2011-11-04 19:10 ` Dan Nicolaescu
2011-11-04 20:56 ` Paul Eggert
2011-11-05 22:08 ` Dan Nicolaescu
2011-11-06 2:34 ` Paul Eggert
2011-11-06 12:37 ` Dan Nicolaescu
2011-11-07 1:13 ` Paul Eggert
2011-10-29 9:10 ` Eli Zaretskii
2011-10-22 8:44 ` Emacs bzr memory footprint Sven Joachim
2011-10-22 11:57 ` Carsten Mattner
2011-10-23 18:04 ` Stefan Monnier
2011-10-25 17:35 ` Nix
2011-10-25 20:23 ` Stefan Monnier
2011-10-25 20:34 ` Nix
2011-10-26 14:52 ` gnutls memory leak [Was: Re: Emacs bzr memory footprint] Chong Yidong
2011-10-27 6:10 ` Chong Yidong
2011-10-27 22:01 ` Ted Zlatanov
2011-10-28 12:04 ` Ted Zlatanov
2011-10-28 17:29 ` Nix
2011-10-27 22:03 ` Ted Zlatanov
2011-10-13 21:23 ` Emacs bzr memory footprint Dan Nicolaescu
2011-10-14 13:04 ` Carsten Mattner
2011-10-14 18:13 ` James Cloos
2011-10-17 20:52 ` Juri Linkov
2011-10-17 23:34 ` James Cloos
2011-10-18 7:24 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yxqaa8ljpub.fsf_-_@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=stephen@xemacs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.