-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go get github.com/mailhog/MailHog causes segmentation fault #103
Comments
Sorry @cybafelo, I can't reproduce this, could you give more info (OS, go version, etc) I've just pushed some updates to import paths which may have caused a problem, but I'd have expected a My attempt, which seems to work ok: vagrant init hashicorp/precise64
vagrant up
vagrant ssh
# in VM
sudo apt-get install -y git
wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz
tar -xvf go1.6.2.linux-amd64.tar.gz
export GOROOT=/home/vagrant/go
mkdir ~/dev
export GOPATH=/home/vagrant/dev
export PATH=$PATH:/home/vagrant/go/bin:$GOPATH/bin
go get github.com/mailhog/MailHog
MailHog which outputs
|
hey - thanks for the reply - i tried again this morning - with the same results go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3 linux/amd64 Linux version 4.2.0-41-generic (buildd@lgw01-56) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1 i've installed it over a mac - debian version jessie - I got the idea to start a 'fresh' go environment (changing my GOPATH) and running again i don't get the segfault - first time was this output And then - changing the path - trying again ` goroutine 72 [running]:
goroutine 1 [select]: goroutine 3 [syscall]: goroutine 7 [finalizer wait]: goroutine 61 [chan receive]: goroutine 62 [select]: so i don't know - the output is different every time - seems like a concurrency problem - first time it was failing with some executable missing - install it - then get segfault - then get first output - then get different second output - now i'm getting segfault again - we will use capto now - its more in line with our technology stack - i think its a badly written go module (or modules) - or go itself which needs to become more mature - good luck - |
Thanks for the extra info - could you confirm which version of Go you're using as output by The stack trace and errors point to the It could be worth having a look at these possibly related issues: |
its the one in the ubuntu repository - probably its buggy - i will compile from source and try again another day.. thanks for the links they are exactly the same problem i've been having - unpredictable results (i.e. concurrency) - probably related to a buggy go version. |
it worked the first time - complained about bzr not installed
every successive attempt to run 'go get github.com/mailhog/MailHog' produces the following output
Segmentation fault (core dumped)
really annoying. especially since claiming 'mailcatcher - just easier to install' - yeah right.
The text was updated successfully, but these errors were encountered: