zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zw <zsh-workers@sunsite.dk>
Subject: Re: memory leaks report
Date: Thu, 18 Mar 2004 12:28:23 +0000	[thread overview]
Message-ID: <22097.1079612903@csr.com> (raw)
In-Reply-To: "Felix Rosencrantz"'s message of "Tue, 09 Mar 2004 23:46:09 PST." <20040310074609.94301.qmail@web10406.mail.yahoo.com>

Felix Rosencrantz wrote:
> 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)

I had a go at this last one before, but there's not enough information,
so I had to guess.  Some module initialisation function is initialising
a hash table; the obvious one is zsh/parameter, but there was no obvious
sign of a leak there.

A test wehre every module is loaded sparately by hand with `zmodload
zsh/...' should be able to pick up which it is.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


      parent reply	other threads:[~2004-03-18 12:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-10  7:46 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 [this message]

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=22097.1079612903@csr.com \
    --to=pws@csr.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).