From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers@sunsite.dk
Subject: Memory leaks found by valgrind
Date: Sat, 8 Feb 2003 10:03:25 -0800 (PST) [thread overview]
Message-ID: <20030208180325.69634.qmail@web10402.mail.yahoo.com> (raw)
I ran valgrind with a recent version of zsh from cvs (about a week old, so the
line numbers don't much the code today). And got the following memory leaks.
The shell ran for a few days, though it didn't get heavy use. It would be
great if other folks could run with valgrind, purify, or any other code
scouring tools.
659 bytes in 4 blocks are definitely lost in loss record 8 of 13
at 0x40165A60: malloc (vg_clientfuncs.c:100)
by 0x8086055: zalloc (mem.c:490)
by 0x80E2122: calclist (compresult.c:1583)
by 0x80E8750: complistmatches (complist.c:1607)
(This one seems to have come from children processes.)
464 bytes in 4 blocks are definitely lost in loss record 5 of 11
at 0x40165A60: malloc (vg_clientfuncs.c:100)
by 0x80861D5: zcalloc (mem.c:508)
by 0x807983C: addproc (jobs.c:832)
by 0x805D6BE: execpline (exec.c:1057)
-FR.
ps valgrind can be found at http://developer.kde.org/~sewardj/ useful for linux
i86 folkds.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
next reply other threads:[~2003-02-08 18:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-08 18:03 Felix Rosencrantz [this message]
2003-02-17 9:44 ` Memory leaks found by valgrind (try2) Felix Rosencrantz
2003-02-17 10:39 ` Memory leaks found by valgrind Peter Stephenson
2003-02-28 22:07 ` Felix Rosencrantz
2003-03-05 13:59 ` Peter Stephenson
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=20030208180325.69634.qmail@web10402.mail.yahoo.com \
--to=f_rosencrantz@yahoo.com \
--cc=zsh-workers@sunsite.dk \
/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 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).