-
-
Save kiko/34fbfec3159b077b1a9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ./8.out | |
panic: runtime error: makeslice: cap out of range | |
panic PC=0xb7109f30 | |
runtime.panic+0x97 /var/abs/local/yaourtbuild/go-lang-hg/src/go/src/pkg/runtime/proc.c:1012 | |
runtime.panic(0x0, 0x808f914) | |
panicstring+0x5e /var/abs/local/yaourtbuild/go-lang-hg/src/go/src/pkg/runtime/runtime.c:83 | |
panicstring(0x808f914, 0xb71064f0) | |
runtime.makeslice+0x6e /var/abs/local/yaourtbuild/go-lang-hg/src/go/src/pkg/runtime/slice.c:21 | |
runtime.makeslice(0x809b5c0, 0xb78ceb60, 0xb7109fa4, 0x0, 0x1, ...) | |
sdl.GetKeyState+0x5c /home/kiko/github/others/Go-SDL/sdl/sdl.cgo1.go:213 | |
sdl.GetKeyState(0x809dcd8, 0x143) | |
main.main+0x184 /home/kiko/projects/go/manv/gist411833-8105f90ac7c4070f87df12c5b23f74db1eab448a/gears.go:267 | |
main.main() | |
mainstart+0xf /var/abs/local/yaourtbuild/go-lang-hg/src/go/src/pkg/runtime/386/asm.s:83 | |
mainstart() | |
goexit /var/abs/local/yaourtbuild/go-lang-hg/src/go/src/pkg/runtime/proc.c:145 | |
goexit() | |
zsh: exit 2 ./8.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ls -l | |
total 4 | |
-rw-r--r-- 1 kiko users 274 May 24 22:39 32bitbug.go | |
> 8g 32bitbug.go | |
registers allocated at | |
AX 0 | |
CX 0 | |
DX 0 | |
BX 0x8054ab7 | |
SP 0 | |
BP 0x8054ab7 | |
SI 0x8054ab7 | |
DI 0x8053c21 | |
32bitbug.go:11: out of fixed registers | |
32bitbug.go:11: internal compiler error: regfree: reg not allocated | |
zsh: exit 1 8g 32bitbug.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment