From: Bart Schaefer <schaefer@brasslantern.com>
To: Clint Adams <clint@zsh.org>
Cc: zsh-workers@sunsite.dk
Subject: Re: segfaults in 4.0.2
Date: Sat, 8 Sep 2001 18:47:45 +0000 [thread overview]
Message-ID: <1010908184745.ZM19990@candle.brasslantern.com> (raw)
In-Reply-To: <20010908113425.A27879@dman.com>
On Sep 8, 11:34am, Clint Adams wrote:
}
} Yes. It doesn't happen with -f.
} I can reproduce it this way:
}
} prompt ${${(z):-adam1 adam2 bigfade clint elite2}[RANDOM%5]}
} coproc || echo test
Hmm, the `pc' field in the wordcode state struct is messed up:
Breakpoint 1, ecgetstr (s=0xbffff6bc, dup=0, tok=0x0)
at ../../zsh-4.0/Src/parse.c:2102
2102 wordcode c = *s->pc++;
(gdb) n
2105 if (c == 6 || c == 7)
(gdb) p s->strs
$6 = 0x4011b190 "echo"
(gdb) p c
$7 = 1074856044
This causes ecgetstr() to return a garbage pointer.
We may have to wait for Sven to get back ...
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2001-09-08 18:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-07 23:43 periodic " Allan Poindexter
2001-09-08 0:03 ` Bart Schaefer
2001-09-08 0:22 ` Allan Poindexter
2001-09-08 5:59 ` segfaults " Clint Adams
2001-09-08 7:00 ` Bart Schaefer
2001-09-08 15:34 ` Clint Adams
2001-09-08 18:47 ` Bart Schaefer [this message]
2001-09-25 12:07 ` Sven Wischnowsky
2001-09-25 12:48 ` Sven Wischnowsky
2001-09-10 10:47 ` periodic " 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=1010908184745.ZM19990@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=clint@zsh.org \
--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).