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

[nicolas.george@xxxxxx: Bug#187259: Zsh: segmentation fault with vared]



I can reproduce this on 4.0.6, 4.1.1-test-{1,2} on Debian.
No segfault with 4.1.1-test-1 on Solaris 9.

#0  0x400fe299 in free () from /lib/libc.so.6
#1  0x403bfef4 in zleread () from /usr/lib/zsh/4.0.6/zsh/zle.so
#2  0x403c0ce3 in execzlefunc () from /usr/lib/zsh/4.0.6/zsh/zle.so
#3  0x08051a37 in execbuiltin ()
#4  0x0805ffeb in execsubst ()
#5  0x0805eb3f in execlist ()
#6  0x0805e125 in execlist ()
#7  0x0805deab in execlist ()
#8  0x0805da23 in execode ()
#9  0x0806e2a6 in loop ()
#10 0x08070770 in zsh_main ()
#11 0x08051477 in main ()
#12 0x400aaa51 in __libc_start_main () from /lib/libc.so.6

----- Forwarded message from Nicolas George <nicolas.george@xxxxxx> -----

Date: Wed, 2 Apr 2003 13:24:50 +0200
From: Nicolas George <nicolas.george@xxxxxx>
To: submit@xxxxxxxxxxxxxxx
Subject: Bug#187259: Zsh: segmentation fault with vared

Package: zsh
Version: 4.0.6-30

cigaes@ssecem ~ $ zsh
cigaes@ssecem ~ $ l=(); vared l
zsh: segmentation fault  zsh

The problem does not depend on my config files, since it is still there
if I disable them all (chmod 700 /etc/zsh and HOME=/dev/null; strace
proves me it really does not find them).

This command works fine with zsh 4.0.6-13 with exactly the same orhers
packages.

Package: debconf
Version: 1.2.32

Package: libc6
Version: 2.3.1-16

Package: libcap1
Version: 1:1.10-12

Package: libncurses5
Version: 5.3.20021109-2

Linux ssecem 2.4.20 #1 Tue Apr 1 14:48:59 CEST 2003 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux

(Yes, I changed my kernel yesterday (ptrace bug), but since 4.0.6-13
does not segfault, I do not think it is the problem)

----- End forwarded message -----



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