dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
34.82k stars 9.84k forks source link

segmentation fault `source kvm.sh` OSX (possibly zsh) #166

Closed alexgorbatchev closed 9 years ago

alexgorbatchev commented 9 years ago

On OSX with ZSH

$ zsh
$ source kvm.sh
[1]    84682 segmentation fault  zsh

However the following works fine

$ bash
$ source kvm.sh
$ kvm
K Runtime Environment Version Manager - Build 10017

USAGE: kvm <command> [options]
megamaddu commented 9 years ago

Same here. I posted my details on this issue since I thought it was related: https://github.com/aspnet/Home/issues/130#issuecomment-59444625

Just tested again after updating mono to 3.10

pkosel commented 9 years ago

Same here.

brendanjerwin commented 9 years ago

Porting the changes from #182 into my brew installed copy stopped the segfault. But, it seems quite a bit of the thing isn't happy with ZSH... It just doesn't work very well at all in ZSH.

natemcmaster commented 9 years ago

Likewise. Just did a clean install on OSX using aspnet/homebrew-k. Still getting "segmentation fault: 11" error in ZSH. It works in bash though.

Praburaj commented 9 years ago

@natemcmaster this looks like a dup of https://github.com/aspnet/kvm/issues/83. Home repo now kvm scripts contains all the fixes. Could you try updating the kvm script (I think you could reinstall the brew formula to get the latest).

natemcmaster commented 9 years ago

@Praburaj appears to be fixed, at least for OS X 10.9.5 :smiley:

Praburaj commented 9 years ago

Great. Thanks @natemcmaster for confirming :smiley: