zsh-workers
 help / color / mirror / code / Atom feed
* BUG: coredump with menu-select and LIST_PACKED
@ 1999-10-25 19:06 Alexandre Duret-Lutz
  1999-10-25 17:26 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Duret-Lutz @ 1999-10-25 19:06 UTC (permalink / raw)
  To: zsh-workers


I made zsh-3.1.6-bart-7 coredump with the following :

~ % zsh -f                                                             19:47 #3
venus% mkdir empty
venus% cd empty
venus% zmodload complist
venus% touch {1..15} xxxxxxxxxxxxxxx
venus% bindkey "^[m" menu-select
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

(<M-m> should be typed right after <TAB>)

I could reproduce this on Linux and Solaris.

-- 
Alexandre Duret-Lutz


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: BUG: coredump with menu-select and LIST_PACKED
@ 1999-10-26  9:17 Sven Wischnowsky
  1999-10-26 16:29 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 1999-10-26  9:17 UTC (permalink / raw)
  To: zsh-workers


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@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-10-26 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-25 19:06 BUG: coredump with menu-select and LIST_PACKED Alexandre Duret-Lutz
1999-10-25 17:26 ` Bart Schaefer
1999-10-26  9:17 Sven Wischnowsky
1999-10-26 16:29 ` Bart Schaefer

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).