Skip to content
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

Binary for Mac x64 errors when run with no arguments #43

Open
jmgilman opened this issue May 26, 2020 · 4 comments
Open

Binary for Mac x64 errors when run with no arguments #43

jmgilman opened this issue May 26, 2020 · 4 comments
Labels

Comments

@jmgilman
Copy link

jmgilman commented May 26, 2020

When downloading the latest (0.5.2) binary for MacOS x64 and running the binary with no arguments gives the following error:

panic: runtime error: slice bounds out of range [2:1]

goroutine 1 [running]:
main.wrappedMain(0xc000012200, 0x1, 0x1, 0x0, 0xc000100058)
	/Users/cbednarski/code/hostess/main.go:78 +0xd5b
main.main()
	/Users/cbednarski/code/hostess/main.go:147 +0x45

I'm not sure what source the binary is running, and if its the latest, but I would imagine the issue has something to do with main.go:83 causing an index out of bounds error. If the reference to main.go:78 is accurate, then that's a strange error to me, as I'm not sure how the slice could be out of bounds when the length is greater than 1.

More interesting is the fact that it only happens with the release binary. I can clone and build/run the binary locally and it does not reproduce this error. It only occurs when running the binary retrieved off the release page. Not sure what tool you are using for generating releases, but it appears to be doing something odd with the Mac binary.

@cbednarski cbednarski added the bug label May 26, 2020
@cbednarski
Copy link
Owner

Thanks for the report! I see that this is fixed on master but it seems I did not cut a release. I will need to release 0.5.3. If you build from master it should be resolved. Apologies for the inconvenience!

@jmgilman
Copy link
Author

Ah, that makes sense with what I saw. Glad I could be of help and thanks for this awesome tool!

@fhuitelec
Copy link

Hi 👋 Is the 0.5.3 release still planned?

@jsardev
Copy link

jsardev commented Jan 21, 2021

Bump 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants