zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>,
	<zsh-workers@sunsite.dk>
Subject: Re: 53completion.ztst (Re: zregexparse.ztst fails with latest CVS)
Date: Wed, 7 Feb 2001 17:12:24 +0000	[thread overview]
Message-ID: <1010207171224.ZM30542@candle.brasslantern.com> (raw)
In-Reply-To: <000101c090da$a80e3eb0$21c9ca95@mow.siemens.ru>

On Feb 7, 10:50am, Andrej Borsenkow wrote:
} Subject: RE: 53completion.ztst (Re: zregexparse.ztst fails with latest CVS
}
} I cannot reproduce it either on MIPS based Unix. I have CVS + my patch I've
} sent at Monday (but it should not affect this anyway). OTOH I cannot run
} anything related to zpty for a long time under Cygwin (hoping to look at it
} closer). Any chance it may be related?

No, it happens with plain zsh -f too.  Transcript follows; don't let the
"zsh-3.1.9" in path names confuse you, that's my local CVS sandbox name.

(gdb) run -f
Starting program: /scratch/local/src/zsh/zsh-3.1.9-dynamic/Src/zsh -f
zagzig% module_path=($PWD/Test/Modules)
zagzig% setopt extendedglob
zagzig% fpath=(/usr/src/local/zsh/zsh-3.1.9/(Completion|Functions)/*~*/CVS(/)) 
zagzig% autoload -U compinit
zagzig% compinit -u
zagzig% zmodload
zsh/zutil
zsh/compctl
zsh/complete
zsh/main
zsh/zle
zsh/parameter
zagzig% zstyle ":completion:*:default" list-colors "no=<NO>" "fi=<FI>" "di=<DI>" "ln=<LN>" "pi=<PI>" "so=<SO>" "bd=<BD>" "cd=<CD>" "ex=<EX>" "mi=<MI>" "tc=<TC>" "sp=<SP>" "lc=<LC>" "ec=<EC>\n" "rc=<RC>"
zagzig% zstyle ":completion:*" group-name ""
zagzig% zstyle ":completion:*:messages" format "<MESSAGE>%d</MESSAGE>
dquote> "
zagzig% zstyle ":completion:*:descriptions" format "<DESCRIPTION>%d</DESCRIPTION>
dquote> "
zagzig% zstyle ":completion:*:options" verbose yes
zagzig% zstyle ":completion:*:values" verbose yes
zagzig% setopt noalwayslastprompt listrowsfirst completeinword
zagzig% zmodload -i zsh/complist
zsh: failed to load module: zsh/complist

At this point, if I try a second time to load zsh/complist, zsh crashes:

Program received signal SIGSEGV, Segmentation fault.
0x1d42 in ?? ()
(gdb) up
#1  0x808a3a8 in dyn_boot_module (m=0x80d6f88)
    at ../../zsh-3.1.9/Src/module.c:625
625             return fn(m);
(gdb) where 5
#0  0x1d42 in ?? ()
#1  0x808a3a8 in dyn_boot_module (m=0x80d6f88)
    at ../../zsh-3.1.9/Src/module.c:625
#2  0x808a525 in boot_module (m=0x80d6f88) at ../../zsh-3.1.9/Src/module.c:677
#3  0x808b263 in load_module (name=0x80de3e0 "zsh/complist")
    at ../../zsh-3.1.9/Src/module.c:846
#4  0x808b6ad in require_module (nam=0x400e4588 "zmodload", 
    module=0x80de3e0 "zsh/complist", res=1, test=0)
    at ../../zsh-3.1.9/Src/module.c:889
(More stack frames follow...)
(gdb) print fn
$3 = (int (*)()) 0x40165198 <domenuselect+5984>
(gdb) print m
$4 = (struct module *) 0x80d6f88
(gdb) print *m
$5 = {nam = 0x80de3e0 "zsh/complist", flags = 20, u = {handle = 0x80dfc00, 
    linked = 0x80dfc00, alias = 0x80dfc00 ""}, deps = 0x80dd090, wrapper = 0}


} > I noticed that "make clean" doesn't remove the module .so files,
} 
} Sorry? You really mean Zsh, do not you? :-)

Ah, I see now what confused me:  Because "make check" died, it didn't
remove the Test/Modules/ temporary installation directory; I did an
"ls **/*.so" and saw there were some, without noticing where.  The
"mostlyclean-here" rule in Test/Makefile.in doesn't clean those out.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-02-07 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-06 20:23 zregexparse.ztst fails with latest CVS Bart Schaefer
2001-02-07  2:58 ` 53completion.ztst (Re: zregexparse.ztst fails with latest CVS) Bart Schaefer
2001-02-07  4:28   ` Vin Shelton
2001-02-07  7:50   ` Andrej Borsenkow
2001-02-07 17:12     ` Bart Schaefer [this message]
2001-02-07 18:23       ` Solved " Bart Schaefer

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=1010207171224.ZM30542@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.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).