zsh-workers
 help / color / mirror / code / Atom feed
* Memory leaks found by valgrind and zsh tests
@ 2003-12-19  1:00 Felix Rosencrantz
  2004-01-12 11:36 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Rosencrantz @ 2003-12-19  1:00 UTC (permalink / raw)
  To: zsh-workers

Here are leaks found via valgrind and running zsh against our tests.  For
some reason the completion tests hung, but the other tests seemed to mostly
work.    Latest version from CVS. 

-FR.

 28 bytes in 4 blocks are definitely lost in loss record 2 of 13
    at  malloc (vg_replace_malloc.c:153)
    by  zalloc (mem.c:490)
    by  ztrdup (string.c:52)
    by  bin_typeset (builtin.c:2258)
    by  execbuiltin (builtin.c:440)
    by  execcmd (exec.c:2414)
    by  execpline2 (exec.c:1276)
    by  execpline (exec.c:1066)
    by  execlist (exec.c:872)
    by  execode (exec.c:773)

 7 bytes in 1 blocks are definitely lost in loss record 1 of 13
    at  malloc (vg_replace_malloc.c:153)
    by  zalloc (mem.c:490)
    by  ztrdup (string.c:52)
    by  addvars (exec.c:1627)
    by  execsimple (exec.c:799)
    by  execlist (exec.c:852)
    by  execode (exec.c:773)
    by  bin_eval (builtin.c:4158)
    by  execbuiltin (builtin.c:440)
    by  execcmd (exec.c:2414)

 1157 bytes in 28 blocks are definitely lost in loss record 11 of 13
    at malloc (vg_replace_malloc.c:153)
    by 0x40269EFE: (within /lib/libtermcap.so.2.0.8)
    by 0x4026AE47: tgetstr (in /lib/libtermcap.so.2.0.8)
    by  init_term (init.c:561)
    by  promptexpand (prompt.c:162)
    by  paramsubst (subst.c:2316)
    by  stringsubst (subst.c:137)
    by  prefork (subst.c:74)
    by  execcmd (exec.c:1865)
    by  execpline2 (exec.c:1276)

 5 bytes in 1 blocks are definitely lost in loss record 1 of 13
    at  malloc (vg_replace_malloc.c:153)
    by  zalloc (mem.c:490)
    by  ztrdup (string.c:52)
    by  addvars (exec.c:1627)
    by  execsimple (exec.c:799)
    by  execlist (exec.c:852)
    by  execode (exec.c:773)
    by  bin_eval (builtin.c:4158)
    by  execbuiltin (builtin.c:440)
    by  execcmd (exec.c:2414)

 2434 bytes in 1 blocks are possibly lost in loss record 12 of 14
    at  malloc (vg_replace_malloc.c:153)
    by  zalloc (mem.c:490)
    by  mkenvstr (params.c:3412)
    by  addenv (params.c:3375)
    by  restore_params (exec.c:2590)
    by  execcmd (exec.c:2443)
    by  execpline2 (exec.c:1276)
    by  execpline (exec.c:1066)
    by  execlist (exec.c:872)
    by  execode (exec.c:773)

 24 bytes in 6 blocks are definitely lost in loss record 1 of 13
    at  malloc (vg_replace_malloc.c:153)
    by  zalloc (mem.c:490)
    by  mkarray (utils.c:2191)
    by  arrvarsetfn (params.c:2580)
    by  stdunsetfn (params.c:2308)
    by  unsetparam_pm (params.c:2230)
    by  unsetparam (params.c:2210)
    by  deleteparamdef (module.c:1929)
    by  deleteparamdefs (module.c:1938)
    by 0x41C3A74A: cleanup_ (example.c:219)

 68 bytes in 1 blocks are definitely lost in loss record 2 of 14
    at  malloc (vg_replace_malloc.c:153)
    by  zshcalloc (mem.c:508)
    by  newhashtable (hashtable.c:99)
    by 0x41C8D016: ???
    by 0x41C8D6AA: ???
    by  dyn_boot_module (module.c:625)
    by  boot_module (module.c:678)
    by  load_module (module.c:784)
    by  require_module (module.c:889)
    by  bin_zmodload_load (module.c:1615)



__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-12 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19  1:00 Memory leaks found by valgrind and zsh tests Felix Rosencrantz
2004-01-12 11:36 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).