zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Segfault on "zmodload -u zsh/parameter"
Date: Sat, 05 Mar 2005 18:18:10 +0000	[thread overview]
Message-ID: <1050305181810.ZM1556@candle.brasslantern.com> (raw)

Latest CVS.  Appears to happen when unsetting the "parameters" parameter.

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) up
#1  0x8098563 in unsetparam_pm (pm=0x818c870, altflag=135752632, exp=134802064)
    at ../../zsh-4.0/Src/params.c:2343
2343        pm->gsu.s->unsetfn(pm, exp);
(gdb) p pm->nam
$1 = 0x38 <Address 0x38 out of bounds>
(gdb) up
#2  0x80c8c1f in cleanup_zshQsparameter (m=0x818c870)
    at ../../../zsh-4.0/Src/Modules/parameter.c:1987
1987                unsetparam_pm(pm, 0, 1);
(gdb) p def->name
$3 = 0x81377bb "parameters"


             reply	other threads:[~2005-03-06  7:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-05 18:18 Bart Schaefer [this message]
2005-03-06  5:09 ` Bart Schaefer
2005-03-10 16:55 ` PATCH: " Bart Schaefer
2005-03-10 17:32   ` Peter Stephenson
2005-03-10 18:04     ` Bart Schaefer

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=1050305181810.ZM1556@candle.brasslantern.com \
    --to=schaefer@brasslantern.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).