zsh-workers
 help / color / mirror / code / Atom feed
* Segmentation fault while searching backward
@ 2007-12-19  0:59 Jörg Sommer
  2007-12-19  9:55 ` Peter Stephenson
  2008-01-08 15:02 ` Peter Stephenson
  0 siblings, 2 replies; 5+ messages in thread
From: Jörg Sommer @ 2007-12-19  0:59 UTC (permalink / raw)
  To: zsh-workers

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)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-08 15:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19  0:59 Segmentation fault while searching backward Jörg Sommer
2007-12-19  9:55 ` Peter Stephenson
2007-12-19 22:32   ` Jörg Sommer
2007-12-20 10:04     ` Peter Stephenson
2008-01-08 15:02 ` Peter Stephenson

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).