Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

segfault with certain filenames



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



Messages sorted by: Reverse Date, Date, Thread, Author