-
Notifications
You must be signed in to change notification settings - Fork 18k
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: integer divide by zero check doesn't work on ARM #5805
Labels
Milestone
Comments
Still broken for me. $ uname -a Linux nsa310 3.5.1 #1 Mon Sep 24 19:17:28 CEST 2012 armv5tel GNU/Linux $ go version go version devel +77a4d225cc7e Wed Sep 11 10:50:56 2013 +1000 linux/arm $ cat issue5805.go package main func main() { a := 0 b := 1 / a _ = b } $ go run issue5805.go runtime: unknown argument frame size for udiv called from 0x10c38 [main.main] fatal error: invalid stack goroutine 1 [garbage collection]: runtime.gc(0x0) /home/ceh/src/go/src/pkg/runtime/mgc0.c:2020 +0x1a0 fp=0xb6f37eac runtime.mallocgc(0x8, 0x0, 0x0) /home/ceh/src/go/src/pkg/runtime/malloc.goc:143 +0x210 fp=0xb6f37ee8 runtime.mal(0x8) /home/ceh/src/go/src/pkg/runtime/malloc.goc:700 +0x38 fp=0xb6f37ef8 copyin(0x37150, 0xb6f37f38, 0xb6f37f44) /home/ceh/src/go/src/pkg/runtime/iface.c:153 +0x6c fp=0xb6f37f14 runtime.convT2E(0x37150, 0x64368, 0x16, 0x37150, 0x16) /home/ceh/src/go/src/pkg/runtime/iface.c:221 +0x44 fp=0xb6f37f30 runtime.newErrorString(0x64368, 0x16, 0xb6f37f60) /home/ceh/src/go/src/pkg/runtime/error.go:74 +0x3c fp=0xb6f37f48 runtime.panicstring(0x64368) /home/ceh/src/go/src/pkg/runtime/panic.c:519 +0x84 fp=0xb6f37f68 runtime.panicdivide() /home/ceh/src/go/src/pkg/runtime/vlrt_arm.c:42 +0x2c fp=0xb6f37f70 runtime: unknown argument frame size for udiv called from 0x10c38 [main.main] udiv() /home/ceh/src/go/src/pkg/runtime/vlop_arm.s:171 +0x9c fp=0xb6f37f70 main.main() /home/ceh/src/issue5805.go:5 +0x38 fp=0xb6f37f7c runtime: unexpected return pc for main.main called from 0x0 main.main() /home/ceh/src/issue5805.go:5 +0x38 fp=0xb6f37f88 goroutine 2 [runnable]: runtime.MHeap_Scavenger() /home/ceh/src/go/src/pkg/runtime/mheap.c:439 runtime.goexit() /home/ceh/src/go/src/pkg/runtime/proc.c:1386 exit status 2 |
This issue was closed by revision b2794a1. Status changed to Fixed. |
CL https://golang.org/cl/13632048 references this issue. |
CL https://golang.org/cl/13632048 references this issue. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by capnm9:
The text was updated successfully, but these errors were encountered: