zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: Nicolas George <nicolas.george@ens.fr>
Cc: zsh-workers@sunsite.dk, 249627@bugs.debian.org
Subject: Re: Bug#249627: Alias + LC_CTYPE + function => segmentation fault
Date: Wed, 19 May 2004 10:57:33 +0100	[thread overview]
Message-ID: <3684.1084960653@csr.com> (raw)
In-Reply-To: "Nicolas George"'s message of "Tue, 18 May 2004 21:30:55 +0200." <20040518193055.GB6702@clipper.ens.fr>

Nicolas George wrote:
> I do not know valgrind, so I am not sure which are the appropriate
> options, but a raw "HOME=/tmp/empty valgrind ./Src/zsh" gives sime
> interesting details:
> ==29385== 
> ==29385== Invalid free() / delete / delete[]
> ==29385==    at 0x3C01F918: free (vg_replace_malloc.c:127)
> ==29385==    by 0x808DC1D: zsfree (mem.c:1399)
> ==29385==    by 0x809B2D1: delenv (params.c:3455)
> ==29385==    by 0x80698F3: save_params (exec.c:2523)
> ==29385==  Address 0x3C3C9B24 is 0 bytes inside a block of size 21 =
> free'd
> ==29385==    at 0x3C01F918: free (vg_replace_malloc.c:127)
> ==29385==    by 0x808DC1D: zsfree (mem.c:1399)
> ==29385==    by 0x809B1A8: addenv (params.c:3402)
> ==29385==    by 0x8069C67: restore_params (exec.c:2594)
> ==29389== Warning: invalid file descriptor -1 in syscall close()
> ==29389== Warning: invalid file descriptor -1 in syscall close()
> Tue May 18 21:11:17 CEST 2004
> done

I don't think this is the same problem, since the programme finishes
correctly.  It does indicate something funny in saving and restoring
environment variables.

-- 
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
**********************************************************************


  reply	other threads:[~2004-05-19  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040518152257.GA11291@clipper.ens.fr>
2004-05-18 15:53 ` Clint Adams
2004-05-18 16:39   ` Nicolas George
2004-05-18 18:57     ` Clint Adams
2004-05-18 19:30       ` Nicolas George
2004-05-19  9:57         ` Peter Stephenson [this message]
2004-05-19 17:36           ` Nicolas George

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=3684.1084960653@csr.com \
    --to=pws@csr.com \
    --cc=249627@bugs.debian.org \
    --cc=nicolas.george@ens.fr \
    --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).