zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: Nicolas George <nicolas.george@ens.fr>, 249627-forwarded@bugs.debian.org
Subject: Re: Bug#249627: Alias + LC_CTYPE + function => segmentation fault
Date: Tue, 18 May 2004 11:53:25 -0400	[thread overview]
Message-ID: <20040518155325.GA6069@scowler.net> (raw)
In-Reply-To: <20040518152257.GA11291@clipper.ens.fr>

I can't reproduce this myself.  Does gdb tell you anything?

On Tue, May 18, 2004 at 05:22:57PM +0200, Nicolas George wrote:
> Package: zsh
> Version: 4.2.0-10
> 
> With no config file at all (/etc/zsh removed and HOME=/tmp/empty), I get
> that:
> 
> ssecem% alias frobnicate="LC_CTYPE=en_US.UTF-8"
> ssecem% alias date="frobnicate date"
> ssecem% function date { command date; echo done }
> ssecem% date
> Tue May 18 17:08:42 CEST 2004
> done
> ssecem% date
> zsh: segmentation fault  HOME=/tmp/empty zsh
> 
> (Yes, I do have a real-world case where the bug appears.)
> 
> If I try to type "setopt" before all that to see enabled options (which
> are interactive, monitor, shinstdin and zle), the second date succeeds,
> but a third one sends zsh in an infinite loop eating all CPU.
> 
> 
> Here are details about my configuration:
> 
> debconf		1.4.25
> passwd		1:4.0.3-28
> libc6		2.3.2.ds1-12
> libcap1		1:1.10-14
> libncurses5	5.4-3
> 
> /usr/bin/zsh:
>                 libcap.so.1 => /lib/libcap.so.1 (0x40025000)
>         libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x40029000)
>         libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0x4002d000)
>         libncurses.so.5 => /lib/libncurses.so.5 (0x40042000)
>         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x40081000)
>         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x400a4000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> Linux ssecem 2.6.5 #2 Wed Apr 14 23:36:02 CEST 2004 i686 GNU/Linux



       reply	other threads:[~2004-05-18 15:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040518152257.GA11291@clipper.ens.fr>
2004-05-18 15:53 ` Clint Adams [this message]
2004-05-18 16:39   ` Nicolas George
2004-05-18 18:57     ` Clint Adams
2004-05-18 19:30       ` Nicolas George
2004-05-19  9:57         ` Peter Stephenson
2004-05-19 17:36           ` Nicolas George

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=20040518155325.GA6069@scowler.net \
    --to=schizo@debian.org \
    --cc=249627-forwarded@bugs.debian.org \
    --cc=nicolas.george@ens.fr \
    --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).