zsh-workers
 help / color / mirror / code / Atom feed
* Memory leaks found by valgrind
@ 2003-02-08 18:03 Felix Rosencrantz
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Felix Rosencrantz @ 2003-02-08 18:03 UTC (permalink / raw)
  To: zsh-workers

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


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

end of thread, other threads:[~2003-03-05 14:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-08 18:03 Memory leaks found by valgrind Felix Rosencrantz
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

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).