Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
memory leaks report
- X-seq: zsh-workers 19589
- From: Felix Rosencrantz <f_rosencrantz@xxxxxxxxx>
- To: zw <zsh-workers@xxxxxxxxxx>
- Subject: memory leaks report
- Date: Tue, 9 Mar 2004 23:46:09 -0800 (PST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author