zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Playing with zle widget gives unexpected exit
Date: Thu, 17 Feb 2000 19:07:38 +0000	[thread overview]
Message-ID: <1000217190738.ZM2460@candle.brasslantern.com> (raw)

I can make this happen repeatedly, but not by any particular series of
actions.  I'm playing with a zle widget function fiddles with $CURSOR
and then calls "zle .transpose-words", and the exit seems to happen only
after I've removed and re-autoloaded the function definition, but it
doesn't happen *every* time I remove and re-autoload the definition.

(gdb) where
#0  0x400939c0 in _exit ()
#1  0x40053741 in exit (status=1) at exit.c:70
#2  0x8057c6d in zexit (val=1, from_signal=0)
    at ../../zsh-3.1.6/Src/builtin.c:3226
#3  0x400f8779 in getkey (keytmout=0)
    at ../../../zsh-3.1.6/Src/Zle/zle_main.c:413
#4  0x400f7f1d in getkeybuf (w=0)
    at ../../../zsh-3.1.6/Src/Zle/zle_keymap.c:1188
#5  0x400f7d47 in getkeymapcmd (km=0x80dafc8, funcp=0xbffff508, 
    strp=0xbffff4fc) at ../../../zsh-3.1.6/Src/Zle/zle_keymap.c:1150
#6  0x400f8090 in getkeycmd () at ../../../zsh-3.1.6/Src/Zle/zle_keymap.c:1224
#7  0x400f9314 in zleread (lp=0x80d9808 "%m<%h> ", rp=0x0, flags=3)
    at ../../../zsh-3.1.6/Src/Zle/zle_main.c:558
#8  0x8072ada in inputline () at ../../zsh-3.1.6/Src/input.c:265
#9  0x80729cd in ingetc () at ../../zsh-3.1.6/Src/input.c:210
#10 0x806c538 in ihgetc () at ../../zsh-3.1.6/Src/hist.c:242
#11 0x80779bb in gettok () at ../../zsh-3.1.6/Src/lex.c:560
#12 0x8077239 in yylex () at ../../zsh-3.1.6/Src/lex.c:313
#13 0x808c5c3 in parse_event () at ../../zsh-3.1.6/Src/parse.c:292
#14 0x8070452 in loop (toplevel=1, justonce=0)
    at ../../zsh-3.1.6/Src/init.c:120
#15 0x80509f9 in main (argc=1, argv=0xbffff6e4)
    at ../../zsh-3.1.6/Src/main.c:89

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


             reply	other threads:[~2000-02-17 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-17 19:07 Bart Schaefer [this message]
2000-02-17 19:29 ` 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=1000217190738.ZM2460@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).