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

Re: BUG: coredump with menu-select and LIST_PACKED



Bart Schaefer wrote:

> On Oct 25,  8:06pm, Alexandre Duret-Lutz wrote:
> } Subject: BUG: coredump with menu-select and LIST_PACKED
> }
> } venus% setopt listpacked
> } venus% foo <TAB>
> } 1      11     13     15     3     5     7     9                 
> } 10     12     14     2      4     6     8     xxxxxxxxxxxxxxx   
> } venus% foo <M-m>
> } zsh: segmentation fault (core dumped)  zsh -f
> 
> Looks like the `amatches' global is garbage.  Here's a stack trace (this is
> after patches 8412 and 8413).
> 
> #0  0x4013c377 in clprintm (g=0x80d8168, mp=0x80c2b00, mc=0, ml=0, lastc=0, 
>     width=135800832, path=0x80d1ab0 "./1", buf=0xbffff0d8)
>     at ../../../zsh-3.1.6/Src/Zle/complist.c:390

Hm. I can't reproduce this bug and my line complist.c:390 doesn't
access `amatches'.

So I have to ask: can someone tell me how to reproduce this with a
`zsh -f'?


Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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