zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: bug with completion (after 15 oct?)
Date: Wed, 25 Oct 2000 09:14:51 +0200 (MET DST)	[thread overview]
Message-ID: <200010250714.JAA23634@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: mason@primenet.com.au's message of 24 Oct 2000 14:33:47 GMT


Geoff Wing wrote:

> Heyla,
> am currently investigating a bug with completion which manifested in the
> last week or so:
> 
> % zsh.new -f
> % cd /tmp; mkdir foo; cd foo; touch bar baz
> % ls ba<TAB>	# <TAB><RETURN> or CTRL-U or whatever
> bar baz
> % ls ba<TAB>	# OK
> % exit
> % zsh.new
> % cd /tmp
> % ls ba<TAB>	# <TAB><RETURN> or CTRL-U or whatever
> --> completing file
> bar   baz
> % ls ba<TAB>
> zsh: 20301 segmentation fault (core dumped)  zsh.new
> 
> A backtrace gives the following - maybe it's useful to someone - but I'll
> try to narrow it down to a set of initialisation options.
> Hmm, what's worse is that a version compiled --disable-dynamic sometimes
> gives a segv a bit later (line 1034).

Sigh. Of course I couldn't reproduce that.

> 0x80af60b in compprintlist (showall=0) at complist.c:1023
> 1023            char **pp = g->ylist;
> (gdb) p *lastg
> $1 = {name = 0x0, prev = 0x0, next = 0x2, flags = 135607944, mcount = 2, 
>   matches = 0x0, lcount = 0, llcount = 1, ylist = 0x8157fc8, ecount = 0, 
>   expls = 0x0, ccount = 0, lexpls = 0x0, lmatches = 0x0, lfmatches = 0x1, 
>   lallccs = 0x0, num = 0, nbrbeg = 0, nbrend = 2, new = 2, dcount = 1, 
>   cols = 6, lins = 0, width = 12, widths = 0x6, totl = 0, shortest = 80, 
>   perm = 0x0}

Does that mean that amatches is garbled at that point?


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~2000-10-25  7:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-25  7:14 Sven Wischnowsky [this message]
2000-10-25  7:49 ` Geoff Wing
  -- strict thread matches above, loose matches on Subject: below --
2000-10-25 10:51 Sven Wischnowsky
2000-10-25  8:17 Sven Wischnowsky
2000-10-25 10:24 ` Geoff Wing
2000-10-24 14:33 Geoff Wing

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=200010250714.JAA23634@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.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).