zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers@sunsite.auc.dk
Subject: More memory problems found by valgrind
Date: Wed, 7 Aug 2002 22:27:22 -0700 (PDT)	[thread overview]
Message-ID: <20020808052722.15964.qmail@web10403.mail.yahoo.com> (raw)

I ran zsh (pulled from cvs on July 30th) under valgrind for about a week.
Below is a condensed version of the output from that run.

-FR.


80 bytes in 1 blocks are definitely lost in loss record 4 of 17
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C606: zalloc (mem.c:490)
   by 0x80A3190: patcompile (pattern.c:436)
   by 0x4428DFD1: bin_zstyle (zutil.c:292)

240 bytes in 5 blocks are definitely lost in loss record 6 of 19
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C606: zalloc (mem.c:490)
   by 0x80ABCA9: ztrdup (string.c:52)
   by 0x8080734: setjobpwd (jobs.c:1032)

258 bytes in 1 blocks are possibly lost in loss record 6 of 17
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C606: zalloc (mem.c:490)
   by 0x411C59A2: zleread (zle_main.c:760)
   by 0x411C70ED: bin_vared (zle_main.c:1121)

258 bytes in 1 blocks are possibly lost in loss record 6 of 18
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C606: zalloc (mem.c:490)
   by 0x411C59A2: zleread (zle_main.c:760)
   by 0x411C70ED: bin_vared (zle_main.c:1121)

Conditional jump or move depends on uninitialised value(s)
   at 0x411C8953: killline (zle_misc.c:297)
   by 0x411C5EBE: execzlefunc (zle_main.c:862)
   by 0x411C55DA: zlecore (zle_main.c:660)
   by 0x411C5B7F: zleread (zle_main.c:796)

Invalid read of size 1
   at 0x40246813: histwgetfn (parameter.c:1116)
   by 0x80929F9: getvaluearr (params.c:451)
   by 0x8095A3B: getarrvalue (params.c:1500)
   by 0x80AFF3B: paramsubst (subst.c:1261)
   Address 0x4109D0F4 is 0 bytes after a block of size 48 alloc'd
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C606: zalloc (mem.c:490)
   by 0x80ABCA9: ztrdup (string.c:52)
   by 0x80775A3: hend (hist.c:1145)
Invalid write of size 1
   at 0x40246818: histwgetfn (parameter.c:1117)
   by 0x80929F9: getvaluearr (params.c:451)
   by 0x8095A3B: getarrvalue (params.c:1500)
   by 0x80AFF3B: paramsubst (subst.c:1261)
   Address 0x4109D0F4 is 0 bytes after a block of size 48 alloc'd
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C606: zalloc (mem.c:490)
   by 0x80ABCA9: ztrdup (string.c:52)
   by 0x80775A3: hend (hist.c:1145)
Invalid write of size 1
   at 0x40246846: histwgetfn (parameter.c:1119)
   by 0x80929F9: getvaluearr (params.c:451)
   by 0x8095A3B: getarrvalue (params.c:1500)
   by 0x80AFF3B: paramsubst (subst.c:1261)
   Address 0x4109D0F4 is 0 bytes after a block of size 48 alloc'd
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C606: zalloc (mem.c:490)
   by 0x80ABCA9: ztrdup (string.c:52)
   by 0x80775A3: hend (hist.c:1145)

116 bytes in 1 blocks are possibly lost in loss record 5 of 20
   at 0x400467C4: malloc (vg_clientfuncs.c:100)
   by 0x808C786: zcalloc (mem.c:508)
   by 0x807FE61: addproc (jobs.c:832)
   by 0x8066F59: execcmd (exec.c:2029)




__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com


             reply	other threads:[~2002-08-08  5:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-08  5:27 Felix Rosencrantz [this message]
2002-08-08 10:15 ` Peter Stephenson
2002-08-08 10:27 ` 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=20020808052722.15964.qmail@web10403.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.com \
    --cc=zsh-workers@sunsite.auc.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).