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
runtime: crash in time.Sleep when killing a process #28874
Comments
I don't think kernels that old are supported, but I could be wrong. |
@agnivade |
@hongliang5316 Pure Go programs don't use glibc at all. There is no particular minimum version of glibc for programs that use cgo, though of course the cgo code may itself require some minimum glibc version. |
The bug report says you used |
@ianlancetaylor |
@agnivade |
|
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
go version go1.11.1 linux/amd64
What operating system and processor architecture are you using (
go env
)?Centos
Linux 2.6.32-754.6.3.el6.x86_64 #1 SMP Tue Oct 9 17:27:49 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
go env
OutputWhat did you do?
Go program was running. After few seconds killed the go process using kill -9
What did you expect to see?
Go process must be killed without any error.
What did you see instead?
SIGFPE: floating-point exception
PC=0x4531c3 m=0 sigcode=0
goroutine 4 [syscall]:
runtime.notetsleepg(0x53f060, 0x3b9aa802, 0x1)
/usr/lib/golang/src/runtime/lock_futex.go:227 +0x37 fp=0xc000035f58 sp=0xc000035f28 pc=0x4095e7
runtime.timerproc(0x53f040)
/usr/lib/golang/src/runtime/time.go:288 +0x30e fp=0xc000035fd8 sp=0xc000035f58 pc=0x442e5e
runtime.goexit()
/usr/lib/golang/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc000035fe0 sp=0xc000035fd8 pc=0x451371
created by runtime.(*timersBucket).addtimerLocked
/usr/lib/golang/src/runtime/time.go:170 +0x114
goroutine 1 [sleep]:
time.Sleep(0x3b9aca00)
/usr/lib/golang/src/runtime/time.go:105 +0x14f
main.main()
/home/cloudera/go/src/github.com/filechecker/main.go:23 +0x32
rax 0xfffffffffffffffc
rbx 0x3b9aa802
rcx 0xffffffffffffffff
rdx 0x0
rdi 0x53f060
rsi 0x80
rbp 0xc000035ee0
rsp 0xc000035e98
r8 0x0
r9 0x0
r10 0xc000035ed0
r11 0x202
r12 0xc
r13 0x32
r14 0x4be4d6
r15 0x0
rip 0x4531c3
rflags 0x202
cs 0x33
fs 0x0
gs 0x0
The text was updated successfully, but these errors were encountered: