zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: segfault with certain filenames
Date: Thu, 6 Oct 2005 19:27:12 -0400	[thread overview]
Message-ID: <20051006232712.GA1886@scowler.net> (raw)

In an 84-column-wide terminal,

% touch "aaaaaaaaa bbbbbbbbb ccccccccc ddddddddd eeeeeeeee fffffffff ggggggggg hhhh".{1..100}

In an 80-column-wide terminal,

% touch "aaaaaaaaa bbbbbbbbb ccccccccc ddddddddd eeeeeeeee fffffffff ggggggggg ".{1..100}


After tabbing through file completion in the former case,

#0  clprintm (g=0x8196890, mp=0x81967bc, mc=Variable "mc" is not available.
) at ../../../Src/Zle/complist.c:1532
        mm = Variable "mm" is not available.
(gdb) bt
#0  clprintm (g=0x8196890, mp=0x81967bc, mc=Variable "mc" is not available.
) at ../../../Src/Zle/complist.c:1532
#1  0xb7b0eb46 in complistmatches (dummy=0xb7b91850, dat=0x28817564)
    at ../../../Src/Zle/complist.c:1650
#2  0xb7b8dd33 in list_matches (dummy=0xb7bc1e40, dummy2=0x0)
    at ../../../Src/Zle/compresult.c:2214
#3  0xb7baca0f in zrefresh () at ../../../Src/Zle/zle_refresh.c:767
#4  0xb7b1176c in domenuselect (dummy=0xb7b91814, dat=0xbfc1a86c)
    at ../../../Src/Zle/complist.c:2236
#5  0x0808b138 in runhookdef (h=0xb7b91814, d=0xbfc1a86c)
    at ../../Src/module.c:1883
#6  0xb7b7c7ee in after_complete (dummy=0xb7bc1e7c, dat=0x28817564)
    at ../../../Src/Zle/compcore.c:513
#7  0xb7bb410c in docomplete (lst=0) at ../../../Src/Zle/zle_tricky.c:851
#8  0xb7bb06a8 in completecall (args=0x2880ef7c)
    at ../../../Src/Zle/zle_tricky.c:208
#9  0xb7ba48ae in execzlefunc (func=0xb7bbf310, args=0xb7bc213c)
    at ../../../Src/Zle/zle_main.c:1087
#10 0xb7ba4bb0 in zlecore () at ../../../Src/Zle/zle_main.c:862
#11 0xb7ba57e7 in zleread (lp=0x80d1e00, rp=0x0, flags=679572836, 
    context=679572836) at ../../../Src/Zle/zle_main.c:1016
#12 0x0807b108 in ingetc () at ../../Src/input.c:278
#13 0x08074341 in ihgetc () at ../../Src/hist.c:240
#14 0x08082196 in gettok () at ../../Src/lex.c:628
#15 0x080831d5 in yylex () at ../../Src/lex.c:344
#16 0x0809b7f9 in parse_event () at ../../Src/parse.c:451
#17 0x08077df5 in loop (toplevel=1, justonce=0) at ../../Src/init.c:128
#18 0x0807a6ec in zsh_main (argc=1, argv=0xbfc1b7a4) at ../../Src/init.c:1312


             reply	other threads:[~2005-10-06 23:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-06 23:27 Clint Adams [this message]
2005-10-07  0:35 ` Clint Adams
2005-10-07  2:35   ` Bart Schaefer
2005-10-07  3:12     ` Clint Adams
2005-10-07  4:21       ` Bart Schaefer
2005-10-07 15:34       ` Clint Adams
2005-10-07 16:20         ` 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=20051006232712.GA1886@scowler.net \
    --to=clint@zsh.org \
    --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).