zsh-workers
 help / color / mirror / code / Atom feed
* Obscure crash on hash -d
@ 2010-03-12 16:14 Christian Neukirchen
  2010-03-12 16:26 ` Mikael Magnusson
  2010-03-12 20:33 ` Michael Hwang
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Neukirchen @ 2010-03-12 16:14 UTC (permalink / raw)
  To: zsh-workers

Hello,

by accident, I just stumbled over this:

% uname -a
Linux zorya 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 23 19:43:46 CET 2010 x86_64 Genuine Intel(R) CPU U4100 @ 1.30GHz GenuineIntel GNU/Linux

% echo $ZSH_VERSION $ZSH_PATCHLEVEL
4.3.10 1.4705

% hash -d ~=x
hash: invalid character in directory name: ~
zsh: segmentation fault  zsh

(gdb) bt
#0  0x000000000041189b in ?? ()
#1  0x0000000000416596 in bin_hash ()
#2  0x000000000042088f in execbuiltin ()
#3  0x0000000000428b53 in ?? ()
#4  0x0000000000428ed6 in ?? ()
#5  0x0000000000429286 in ?? ()
#6  0x000000000042a577 in execlist ()
#7  0x000000000042a7e3 in execode ()
#8  0x000000000043ce48 in loop ()
#9  0x000000000043dc8e in zsh_main ()
#10 0x00007ffff73c7b6d in __libc_start_main () from /lib/libc.so.6
#11 0x000000000040d8a9 in _start ()

(I tried to see if I could define ~~ to mean something.)

Thanks for your great shell,
-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org


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

* Re: Obscure crash on hash -d
  2010-03-12 16:14 Obscure crash on hash -d Christian Neukirchen
@ 2010-03-12 16:26 ` Mikael Magnusson
  2010-03-12 20:33 ` Michael Hwang
  1 sibling, 0 replies; 3+ messages in thread
From: Mikael Magnusson @ 2010-03-12 16:26 UTC (permalink / raw)
  To: Christian Neukirchen; +Cc: zsh-workers

On 12 March 2010 17:14, Christian Neukirchen <chneukirchen@gmail.com> wrote:
> Hello,
>
> by accident, I just stumbled over this:
>
> % uname -a
> Linux zorya 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 23 19:43:46 CET 2010 x86_64 Genuine Intel(R) CPU U4100 @ 1.30GHz GenuineIntel GNU/Linux
>
> % echo $ZSH_VERSION $ZSH_PATCHLEVEL
> 4.3.10 1.4705
>
> % hash -d ~=x
> hash: invalid character in directory name: ~
> zsh: segmentation fault  zsh
>
> (gdb) bt
> #0  0x000000000041189b in ?? ()
> #1  0x0000000000416596 in bin_hash ()
> #2  0x000000000042088f in execbuiltin ()
> #3  0x0000000000428b53 in ?? ()
> #4  0x0000000000428ed6 in ?? ()
> #5  0x0000000000429286 in ?? ()
> #6  0x000000000042a577 in execlist ()
> #7  0x000000000042a7e3 in execode ()
> #8  0x000000000043ce48 in loop ()
> #9  0x000000000043dc8e in zsh_main ()
> #10 0x00007ffff73c7b6d in __libc_start_main () from /lib/libc.so.6
> #11 0x000000000040d8a9 in _start ()
>
> (I tried to see if I could define ~~ to mean something.)

This is already fixed in cvs, by 27675.
http://www.zsh.org/mla/workers/2010/msg00127.html

-- 
Mikael Magnusson


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

* Re: Obscure crash on hash -d
  2010-03-12 16:14 Obscure crash on hash -d Christian Neukirchen
  2010-03-12 16:26 ` Mikael Magnusson
@ 2010-03-12 20:33 ` Michael Hwang
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Hwang @ 2010-03-12 20:33 UTC (permalink / raw)
  To: Christian Neukirchen; +Cc: zsh-workers

This has been fixed as of patchlevel 1.4883.

Michael Hwang

On Fri, Mar 12, 2010 at 11:14 AM, Christian Neukirchen
<chneukirchen@gmail.com> wrote:
> Hello,
>
> by accident, I just stumbled over this:
>
> % uname -a
> Linux zorya 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 23 19:43:46 CET 2010 x86_64 Genuine Intel(R) CPU U4100 @ 1.30GHz GenuineIntel GNU/Linux
>
> % echo $ZSH_VERSION $ZSH_PATCHLEVEL
> 4.3.10 1.4705
>
> % hash -d ~=x
> hash: invalid character in directory name: ~
> zsh: segmentation fault  zsh
>
> (gdb) bt
> #0  0x000000000041189b in ?? ()
> #1  0x0000000000416596 in bin_hash ()
> #2  0x000000000042088f in execbuiltin ()
> #3  0x0000000000428b53 in ?? ()
> #4  0x0000000000428ed6 in ?? ()
> #5  0x0000000000429286 in ?? ()
> #6  0x000000000042a577 in execlist ()
> #7  0x000000000042a7e3 in execode ()
> #8  0x000000000043ce48 in loop ()
> #9  0x000000000043dc8e in zsh_main ()
> #10 0x00007ffff73c7b6d in __libc_start_main () from /lib/libc.so.6
> #11 0x000000000040d8a9 in _start ()
>
> (I tried to see if I could define ~~ to mean something.)
>
> Thanks for your great shell,
> --
> Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org
>


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

end of thread, other threads:[~2010-03-15 17:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-12 16:14 Obscure crash on hash -d Christian Neukirchen
2010-03-12 16:26 ` Mikael Magnusson
2010-03-12 20:33 ` Michael Hwang

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