Package: zsh
Version: 4.3.9-4
Severity: normal

zsh version 4.3.9-4 segfaults when I have a terminal emulator open with only
one window available for the term and then do a tab completion. Steps to
reproduce below.

It should be mentioned that I've tried to reproduce the bug with 'zsh -f', but
I can't. Therefore I am attaching the output from the Util/reporter script.
The reason I'm mentioning this is because it says bugs should be reproduced
with the -f flag (in the README from the source root dir) and if it can't the
output from the Util/reporter script (also from source root dir) should be
included. 

I can, however, reproduce the bug every time when not using the -f flag. Steps
to reproduce:

1. Open terminal emulator

2. Resize window so that there's only one line for the shell (i.e. where the
prompt also is).

3. Enter: ls <tab><tab> (that is, begin typing the 'ls' command, then press
tabulator twice to tab complete.)

4. This makes zsh segfault which is evident from the /var/log/kern.log:

May  5 17:08:19 himlen kernel: zsh[13322]: segfault at 278 ip b7b03a24 sp 
bf85e050 error 4 in complist.so[b7b00000+d000]

I'm normally using the tiling window manager called "awesome", currently
version 3.2.1. In this wm I can reproduce the bug both in the urxvt terminal
emulator and in xterm. I also tried reproducing it in xfce4, but I was only
succesful in reproducing it in xterm here. I.e. the bug was not reproducible in
urxvt in xfce4.

When moving my .zshrc away and touching it to make it empty, the bug is not
reproducible. I think this is because the bug is related to some completion
options I have enabled.

Apart from the Util/reporter output, I am attaching a full gdb backtrace
(output recorded with `script -c "gdb -p 13322" gdb-session') and my .zshrc
file.

You are very welcome to contact me.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.28 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6                     2.9-4          GNU C Library: Shared libraries
ii  libcap2                   1:2.16-5       support for getting/setting POSIX.
ii  libncursesw5              5.7+20090404-1 shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libpcre3                      7.8-2+b1   Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
ii  zsh-doc                       4.3.9-4    zsh documentation - info/HTML form

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to