Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: segfaults in 4.0.2
- X-seq: zsh-workers 15761
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Clint Adams <clint@xxxxxxx>
- Subject: Re: segfaults in 4.0.2
- Date: Sat, 8 Sep 2001 18:47:45 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20010908113425.A27879@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <yu966au5zyv.fsf@xxxxxxxxxxxxxxxxx> <010907170335.ZM18221@xxxxxxxxxxxxxxxxxxxxxxx> <20010908015928.A21707@xxxxxxxx> <1010908070005.ZM18696@xxxxxxxxxxxxxxxxxxxxxxx> <20010908113425.A27879@xxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author