From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: zsh deep freeze (probably autocompletion-related)
Date: Mon, 07 Dec 2009 07:39:54 -0800 [thread overview]
Message-ID: <091207073954.ZM9818@torch.brasslantern.com> (raw)
In-Reply-To: <20091207170336.c417efe1.einars@gmail.com>
On Dec 7, 5:03pm, Einar Lielmanis wrote:
}
} Steps to reproduce:
}
} "rm ./\" [enter] [tab]
}
} zsh freezes hard and cannot be terminated; kill -9 ir required.
I get a crash rather than a freeze.
Program received signal SIGSEGV, Segmentation fault.
0x080bfe09 in chuck (str=0xb7d37000 "$\003\001 \020")
at ../../zsh-4.0/Src/utils.c:1795
1795 while ((str[0] = str[1]))
(gdb) where
#0 0x080bfe09 in chuck (str=0xb7d37000 "$\003\001 \020")
at ../../zsh-4.0/Src/utils.c:1795
#1 0x08131568 in get_comp_string ()
at ../../../zsh-4.0/Src/Zle/zle_tricky.c:1259
#2 0x0812ff58 in docomplete (lst=0)
at ../../../zsh-4.0/Src/Zle/zle_tricky.c:659
#3 0x0812f395 in completeword (args=0x816d01c)
at ../../../zsh-4.0/Src/Zle/zle_tricky.c:232
#4 0x0812f2b9 in completecall (args=0x816d01c)
at ../../../zsh-4.0/Src/Zle/zle_tricky.c:208
#5 0x08121bbc in execzlefunc (func=0x815b3f0, args=0x816d01c, set_bindk=0)
at ../../../zsh-4.0/Src/Zle/zle_main.c:1312
#6 0x08121263 in zlecore () at ../../../zsh-4.0/Src/Zle/zle_main.c:1050
#7 0x08121817 in zleread (lp=0x816ddc8, rp=0x0, flags=3, context=1)
at ../../../zsh-4.0/Src/Zle/zle_main.c:1213
#8 0x081235a8 in zle_main_entry (cmd=1, ap=0xbfeee6e4 "\221áC")
at ../../../zsh-4.0/Src/Zle/zle_main.c:1866
#9 0x0807df9c in zleentry (cmd=1) at ../../zsh-4.0/Src/init.c:1305
#10 0x0807e7c7 in inputline () at ../../zsh-4.0/Src/input.c:278
(gdb) up
#1 0x08131568 in get_comp_string ()
at ../../../zsh-4.0/Src/Zle/zle_tricky.c:1259
1259 chuck(tt + zlemetacs - wb - qsub);
(gdb) p tt
$3 = 0xb7d33898 "./x"
(gdb) p zlemetacs
$4 = 7
(gdb) p wb
$5 = 3
(gdb) p qsub
$6 = 0
Looks like zlemetacs is too large.
next prev parent reply other threads:[~2009-12-07 16:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-07 15:03 Einar Lielmanis
2009-12-07 15:39 ` Bart Schaefer [this message]
2009-12-07 17:12 ` Mikael Magnusson
2009-12-07 17:13 ` Peter Stephenson
2009-12-07 21:32 ` Peter Stephenson
2009-12-08 5:18 ` 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=091207073954.ZM9818@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/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).