Hi, I have the following script: # segfault.sh function foo() { local path= } I source it an execute foo: % source segfault.sh % foo Then zsh segaults. Is this a known bug? If not, can anyone reproduce? My setup: arch-lenovo% uname -a Linux arch-lenovo 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux arch-lenovo% zsh --version zsh 5.1.1 (x86_64-unknown-linux-gnu) I installed zsh using archlinux package manager. I use prezto ( https://github.com/sorin-ionescu/prezto) but I'm able to reproduce with a plain zsh config. Please let me know how I can provide more info, if needed. Cheers, Corentin