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

Segmentation fault while searching backward



Hi,

when I search backward through the history with ^R I get a segmentation
fault:

% zsh --version
zsh 4.3.4-dev-4 (powerpc-unknown-linux-gnu)
% gdb =zsh core
(gdb) bt
#0  zwcwrite (s=0x101c2784, i=4294967293) at ../../../Src/Zle/zle_refresh.c:204
#1  0x0fbd0d68 in refreshline (ln=0) at ../../../Src/Zle/zle_refresh.c:1124
#2  0x0fbd1c38 in zrefresh () at ../../../Src/Zle/zle_refresh.c:847
#3  0x0fbbfd64 in doisearch (args=<value optimized out>, dir=-1)
    at ../../../Src/Zle/zle_hist.c:1000
#4  0x0fbc04a4 in historyincrementalsearchbackward (args=<value optimized out>)
    at ../../../Src/Zle/zle_hist.c:809
#5  0x0fbc640c in execzlefunc (func=0xfbfae6c, args=0xfbfd9cc, 
    set_bindk=<value optimized out>) at ../../../Src/Zle/zle_main.c:1261
#6  0x0fbc694c in zlecore () at ../../../Src/Zle/zle_main.c:1019
#7  0x0fbc7050 in zleread (lp=<value optimized out>, rp=<value optimized out>, 
    flags=<value optimized out>, context=<value optimized out>)
    at ../../../Src/Zle/zle_main.c:1174
#8  0x1003c150 in ingetc ()
#9  0x10036d50 in ?? ()
#10 0x100447dc in yylex ()
#11 0x10065318 in parse_event ()
#12 0x1003a590 in loop ()
#13 0x1003b314 in zsh_main ()
#14 0x1000dc10 in main ()

And I can reproduce it with
% zsh-beta --version
zsh 4.3.4-dev-4 (powerpc-unknown-linux-gnu)

Bye, Jörg.
-- 
Ich halte ihn zwar für einen Schurken und das was er sagt für
falsch – aber ich bin bereit mein Leben dafür einzusetzen, daß
er seine Meinung sagen kann.		(Voletair)



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