Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion on brace + 4 characters doesn't work



On 2011-05-02 10:08:39 +0200, Vincent Lefevre wrote:
> On 2011-04-29 07:20:32 -0700, Bart Schaefer wrote:
> > I don't suppose you could run through the entire "make check" test
> > suite under valgrind?

FYI, this can be done with:

  valgrind --trace-children=yes make check

> > Even that won't exercise everything but it'll
> > find the ones most likely to bite somebody.
> 
> That would be a good idea. There's at least one:
> 
> ==2490== Invalid read of size 1
> ==2490==    at 0x430AFE: execcmd (exec.c:3011)
> ==2490==    by 0x42CAAC: execpline2 (exec.c:1640)
> ==2490==    by 0x42BC2C: execpline (exec.c:1424)
> ==2490==    by 0x42B2EA: execlist (exec.c:1207)
> ==2490==    by 0x431723: execcmd (exec.c:3259)
> ==2490==    by 0x42CAAC: execpline2 (exec.c:1640)
> ==2490==    by 0x42BC2C: execpline (exec.c:1424)
> ==2490==    by 0x42B2EA: execlist (exec.c:1207)
> ==2490==    by 0x42AD64: execode (exec.c:1028)
> ==2490==    by 0x4235A5: eval (builtin.c:4908)
> ==2490==    by 0x423996: bin_eval (builtin.c:5017)
> ==2490==    by 0x410936: execbuiltin (builtin.c:450)
> ==2490==  Address 0xc22e213 is not stack'd, malloc'd or (recently) free'd
> 
> It occurs in A04redirect.ztst.

This is the only error. It can simply be reproduced by:

  myfd=99
  (echo >&$myfd) 2>msg

after zsh -f.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author