zsh-workers
 help / color / mirror / code / Atom feed
From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: zsh-workers@sunsite.dk
Subject: Segmentation fault while searching backward
Date: Wed, 19 Dec 2007 00:59:34 +0000 (UTC)	[thread overview]
Message-ID: <slrnfmgr7m.23b.joerg@alea.gnuu.de> (raw)

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)


             reply	other threads:[~2007-12-19  1:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-19  0:59 Jörg Sommer [this message]
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

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=slrnfmgr7m.23b.joerg@alea.gnuu.de \
    --to=joerg@alea.gnuu.de \
    --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).