From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Oliver Kiddle" <opk@u.genie.co.uk>,
"Zsh workers" <zsh-workers@sunsite.auc.dk>
Subject: RE: Seg fault with zmodload -u
Date: Tue, 15 Aug 2000 19:43:51 +0400 [thread overview]
Message-ID: <000501c006cf$9c793540$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <200008151518.QAA42116@cm01.ess>
>
> zsh -f
> zmodload -ud zsh/zleparameter zsh/zle
> zsh: 18383 segmentation fault zsh -f
>
> I found this because I was going through the various zmodload options
> because I was doing an _arguments based completion for it. It happens
> wherever the dependencies are defined, i.e, zmodload -d foo bar;zmodload
> -du foo bar will also result in a seg fault.
>
> This is on 3.1.9-dev-4 plus patches up to 12568 on AIX. If it isn't
> reproducible elsewhere, I'll upgrade to the latest cvs and try again.
>
With the latest CVS:
bor@itsrm2% zsh -f
itsrm2% zmodload -ud zsh/zleparameter zsh/zle
zsh: bus error (core dumped) zsh -f
Note, that bus error normaly means unaligned memory access here (MIPS R4400).
That is quite different from out-of-bounds error.
In any case, if you can test if current CVS builds on AIX, it would be very
nice. I made some changes for Cygwin - hopefully, they do not affect other
systems.
> On the subject of zmodload completion, how would I prevent the 'module
> alias' description from being displayed when there are no module
> aliases - do I have to put the zmodload -A output in an array first and
> then not call the _requested line if the array is empty - or is there a
> better way?
>
I use grouping (zstyle ':completion:*' group-name '') and if there are no
matches for a given tag, it is not printed. Dunno in general case.
-andrej
next prev parent reply other threads:[~2000-08-15 15:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-15 15:18 Oliver Kiddle
2000-08-15 15:40 ` Thomas Köhler
2000-08-15 15:48 ` Thomas Köhler
2000-08-15 15:56 ` Thomas Köhler
2000-08-15 16:46 ` PATCH: " Bart Schaefer
2000-08-15 15:43 ` Andrej Borsenkow [this message]
2000-08-15 15:49 ` Andrej Borsenkow
2000-08-15 15:52 ` Peter Stephenson
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='000501c006cf$9c793540$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=opk@u.genie.co.uk \
--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).