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
git lfs crash on macOS Sierra 10.12 (Build 16A286a) #1440
Comments
|
Hi @daveanderson -- thanks for opening this. Go 1.6.x has had a number of problems on macOS Sierra. I know that there were some fixes targeted at 1.7.0 that were backported into 1.6.3, but it looks like there are still problems. I'm thinking that this has to do with the underlying channel-range mechanism provided by Go, since two of the goroutines in the dump are halted on I don't have macOS Sierra running on my computer, but if you're interested in compiling Git LFS under Go 1.7rc6 and seeing what happens, that would be |
|
@ttaylorr I did recompile Git LFS under Go 1.7rc6 and I get and no log file is created. It's possible that due to environment issues I'm trying to fetch a branch for which this account doesn't have permissions to access the repo, but with no log file created and just a 255 exit code I'm at a loss (and copied the file over manually...) |
|
Hmm, this is very strange behavior. Are you able to reproduce the problem on El Capitan? My hunch is that this is a macOS Sierra problem, and that the best thing we can do is report compatibility issues back to the Go team. |
|
Hi Dave. Is build 16A286a the beta 4 of Sierra or beta 5? There were a number of issues caused by Go's support for There are currently no open Sierra issues in the Go 1.7 milestone which is due out on Monday if no new issues are reported. https://github.com/golang/go/milestone/31 Also no Sierra related fixes since Go 1.7 rc6 was released. So if indeed there is a issue with Go 1.7, it's important that we get it reported right away if we want to see the fix in 1.7 -- otherwise it may end up waiting for the release of Sierra and a future Go patch release (outside of installing Go from source). I'm currently running El Capitan 10.11.6. Let me know if I can be of assistance tracking this issue down. |
|
The issue is with Sierra Beta 5. I'm using Xcode8b5 and Xcode Server b3 (the latest). This is a pretty complicated setup so I'll see ASAP if I can reduce the setup to something basic and reproducible. |
|
@nathany Thanks for hopping in. @technoweenie and I are setting up a fresh installation of macOS Sierra on a new computer now. We are going to attempt to reproduce this issue both on Sierra and El Capitan, and determine whether or not it's a Go issue, or a LFS one. More soon. |
|
@daveanderson Once you've set up a test case, can you send instructions over on how to reproduce it so we can test side-by-side? |
|
Not sure if this helps, but it seems the exit code 255 would be coming from: However, that would imply a signal of 127 or 0x7F, which I don't see here: Maybe that error code is from somewhere else? It will be much easier to track this down once we have a test case. Thanks for jumping on this @ttaylorr and @technoweenie. |
Though the initial crash was definitely due to a bug in Go (that will require a Go 1.7 build once released), this later issue may just be configuration -- like not finding |
|
ok, I've created a sample repo that includes a 119 MB file that uses git-lfs. Doing a clone of this repo on a VM running Sierra 16A286a using a build of Git LFS using Go 1.7rc6 works fine. The original issue appears to be a go 1.6.3 issue that seems to be resolved with go 1.7rc6. Setting up a test case that replicates the second issue is non-trivial and I may be able to resolve the secondary issue through an alternative means. |
|
We've confirmed that git-lfs's integration tests pass on go 1.7r6 and Sierra beta 5. It doesn't seem like there's a Go 1.7 and macOS Sierra issue that needs to hold up a Go release. @daveanderson: based on your stack trace, I wonder if it's coming from @nathany Thanks for chiming in! Our next LFS release will likely be on go 1.7. |
|
Go 1.7 is out. |
|
Closing this. @daveanderson if you're still having issues, please post more details about what you're doing. Include the full command that's running Git LFS with |
|
Having the same error with I will try to update go |
|
@david6p2 the LFS version that you're running is a few out of date. The latest is 2.0.2, and yours is built against a version of Go that is known to not work with macOS Sierra. Please run |
When I attempt to
git lfs pullon machine running macOS Sierra 10.12 (Build 16A286a) with git-lfs/1.3.1 (GitHub; darwin amd64; go 1.6.3; git 9c9dffb) I get the following crash.I'm not in a position to interpret this stack trace and would appreciate any recommendations for having this work on Sierra.
The text was updated successfully, but these errors were encountered: