zsh-workers
 help / color / mirror / code / Atom feed
* memory leaks report
@ 2004-03-10  7:46 Felix Rosencrantz
  2004-03-18 11:34 ` Peter Stephenson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Felix Rosencrantz @ 2004-03-10  7:46 UTC (permalink / raw)
  To: zw

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1844 bytes --]

Here are the latest memory leaks found by valgrind from around March 6th.
Most were all found before, but I didn't provide much context....  So here's
a little more.  If there is a a simple way to force the tests to execute a
separate shell per testcase, it would make it easier to link up the leaks to
the test case.


Test B02typeset:
28 bytes in 4 blocks are definitely lost in loss record 1 of 11
   at  malloc (vg_replace_malloc.c:153)
   by  zalloc (mem.c:490)
   by  ztrdup (string.c:52)
   by  bin_typeset (builtin.c:2264)


Test E01options:
Valgrind reports an error summary after every zsh subprocess exits.  Running
the
E01options test, there are 42 error summaries.  This leak is first reported in
the 32nd error summary.  It looks like there are 48 tests.
493 bytes in 1 blocks are definitely lost in loss record 16 of 21
   at  malloc (vg_replace_malloc.c:153)
   by  zalloc (mem.c:490)
   by  mkenvstr (params.c:3423)
   by  addenv (params.c:3386)
   by  restore_params (exec.c:2590)

V01zmodload.ztst:
This is a new leak:
4 bytes in 1 blocks are definitely lost in loss record 1 of 19
   at  malloc (vg_replace_malloc.c:153)
   by  zalloc (mem.c:490)
   by  ztrdup (string.c:52)
   by  add_automathfunc (module.c:2118)
   by  bin_zmodload_math (module.c:1397)
   by  bin_zmodload (module.c:1005)

This is an old leak
68 bytes in 1 blocks are definitely lost in loss record 8 of 19
   at  malloc (vg_replace_malloc.c:153)
   by  zshcalloc (mem.c:508)
   by  newhashtable (hashtable.c:99)
   by  ???
   by  ???
   by  dyn_boot_module (module.c:625)
   by  boot_module (module.c:677)
   by  load_module (module.c:784)
   by  require_module (module.c:889)
   by  bin_zmodload_load (module.c:1615)


-FR.

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com


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

end of thread, other threads:[~2004-03-18 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-10  7:46 memory leaks report Felix Rosencrantz
2004-03-18 11:34 ` Peter Stephenson
2004-03-18 11:54 ` Peter Stephenson
2004-03-18 12:21 ` Peter Stephenson
2004-03-18 12:28 ` 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).