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

SIGILL: illegal instruction. Update hub to use Go 1.14.1. #2512

Closed
aryan9600 opened this issue Apr 2, 2020 · 3 comments
Closed

SIGILL: illegal instruction. Update hub to use Go 1.14.1. #2512

aryan9600 opened this issue Apr 2, 2020 · 3 comments
Labels

Comments

@aryan9600
Copy link

aryan9600 commented Apr 2, 2020

Command attempted:
hub --version

What happened:
There was a severe crash. Error:

SIGILL: illegal instruction
PC=0x1065350 m=0 sigcode=1

goroutine 1 [running, locked to thread]:
runtime.asyncPreempt()
        /usr/local/Cellar/go/1.14/libexec/src/runtime/preempt_amd64.s:8 fp=0xc000093e90 sp=0xc000093e88 pc=0x1065350
crypto/tls.init()
        /usr/local/Cellar/go/1.14/libexec/src/crypto/tls/alert.go:47 fp=0xc000093e98 sp=0xc000093e90 pc=0x1231c10
runtime.doInit(0x168b140)
        /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5414 +0x8a fp=0xc000093ec8 sp=0xc000093e98 pc=0x1042a2a
runtime.doInit(0x168b8e0)
        /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000093ef8 sp=0xc000093ec8 pc=0x10429f7
runtime.doInit(0x168b280)
        /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000093f28 sp=0xc000093ef8 pc=0x10429f7
runtime.doInit(0x168c1c0)
        /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000093f58 sp=0xc000093f28 pc=0x10429f7
runtime.doInit(0x16866a0)
        /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000093f88 sp=0xc000093f58 pc=0x10429f7
runtime.main()
        /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:190 +0x1ce fp=0xc000093fe0 sp=0xc000093f88 pc=0x1035f0e
runtime.goexit()
        /usr/local/Cellar/go/1.14/libexec/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000093fe8 sp=0xc000093fe0 pc=0x1063af1

rax    0x168b140
rbx    0x25
rcx    0x0
rdx    0x168b268
rdi    0xc0000227d0
rsi    0x1231c10
rbp    0xc000093eb8
rsp    0xc000093e88
r8     0x11
r9     0x11
r10    0x14631c4
r11    0x1
r12    0xffffffffffffffff
r13    0x7e
r14    0x7d
r15    0x200
rip    0x1065350
rflags 0x10202
cs     0x2b
fs     0x0
gs     0x0

More info:
I am on the latest hub version. The problem can be found here. I am running MacOS 10.13 on a Macbook Pro 7,1 with a Intel Pentium Core 2 Duo Processor. Updating hub to use Go 1.14.1 should fix this. This affects any Go tool running Go 1.14 on an old Macbook.

@aryan9600 aryan9600 added the bug label Apr 2, 2020
@mislav
Copy link
Owner

mislav commented Apr 2, 2020

Thank you for reporting. I'm guessing you installed hub via Homebrew. Does the issue persist if you use a precompiled binary from our releases page? https://github.com/github/hub/releases/latest

@aryan9600
Copy link
Author

Thanks, @mislav. Downloading a precompiled binary from the releases pages fixes it!

@mislav
Copy link
Owner

mislav commented Aug 2, 2020

Closing this since it will get resolved the next time we cut a hub release and Homebrew prepares a new bottle.

@mislav mislav closed this as completed Aug 2, 2020
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

3 participants
@mislav @aryan9600 and others