zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: History still coredumping after "print -s" during completion
Date: Sat, 6 May 2000 17:34:42 +0000	[thread overview]
Message-ID: <1000506173443.ZM6244@candle.brasslantern.com> (raw)

This is with Wayne's 11171.  Is this just part of "the lines are not
immediately available yet" or is it a different bug?

Change the "print -zR" in _complete_debug to "print -sR".  Then:

zagzig<2> ls <C-x?><C-n>
Trace output left in /tmp/zsh6093ls2
Completing file
stamp-h.in      Etc/            Test/           config.status*  Src/          
xtrace.err      Completion/     config.cache    Makefile                      
BUILD           Functions/      config.h        stamp-h                       
xtrace.tmp/     Config/         config.log      Doc/                          
zsh: Segmentation fault (core dumped)

(gdb) where
#0  0x80a02c2 in metadiffer (s=0x0, r=0x811aea0 "ls ", len=3)
    at ../../zsh-3.1.6/Src/utils.c:2552
#1  0x80d9741 in zle_goto_hist (ev=2, n=1, skipdups=1)
    at ../../../zsh-3.1.6/Src/Zle/zle_hist.c:492
#2  0x80d8e75 in downhistory (args=0x8100f24)
    at ../../../zsh-3.1.6/Src/Zle/zle_hist.c:266
#3  0x80d8ce9 in downlineorhistory (args=0x8100f24)
    at ../../../zsh-3.1.6/Src/Zle/zle_hist.c:210
#4  0x80decf4 in execzlefunc (func=0x80fed90, args=0x8100f24)
    at ../../../zsh-3.1.6/Src/Zle/zle_main.c:647
#5  0x80de8bd in zleread (lp=0x811ae80 "%m%(#.#.%1v)%h%(#.#.%2v) ", rp=0x0, 
    flags=3) at ../../../zsh-3.1.6/Src/Zle/zle_main.c:564
#6  0x806d03e in inputline () at ../../zsh-3.1.6/Src/input.c:265
#7  0x806cf31 in ingetc () at ../../zsh-3.1.6/Src/input.c:210
#8  0x80663e8 in ihgetc () at ../../zsh-3.1.6/Src/hist.c:242
#9  0x8071e04 in gettok () at ../../zsh-3.1.6/Src/lex.c:621
#10 0x80715a5 in yylex () at ../../zsh-3.1.6/Src/lex.c:337
#11 0x8084cb4 in parse_event () at ../../zsh-3.1.6/Src/parse.c:421
#12 0x806a71f in loop (toplevel=1, justonce=0)
    at ../../zsh-3.1.6/Src/init.c:121
#13 0x804a660 in main (argc=1, argv=0xbffff6a0)
    at ../../zsh-3.1.6/Src/main.c:86

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


             reply	other threads:[~2000-05-06 17:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-06 17:34 Bart Schaefer [this message]
2000-05-29 21:30 ` Wayne Davison
2000-05-29 22:47   ` 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=1000506173443.ZM6244@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --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).