Skip to content

Instantly share code, notes, and snippets.

@EvanTheB
Created September 6, 2014 09:03
Show Gist options
  • Save EvanTheB/c5b2051d4b6a85c48f83 to your computer and use it in GitHub Desktop.
Save EvanTheB/c5b2051d4b6a85c48f83 to your computer and use it in GitHub Desktop.
panic
evanb@evanpc:~/Documents/code/go/src/github.com/EvanTheB/SDLGame$ go run game.go
1.5e+11
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x0 pc=0x7f7b707d11c9]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7f7b707d11c9
runtime.throw(0x7df345)
/usr/lib/go/src/pkg/runtime/panic.c:520 +0x69
runtime: unexpected return pc for runtime.sigpanic called from 0x7f7b707d11c9
runtime.sigpanic()
/usr/lib/go/src/pkg/runtime/os_linux.c:222 +0x3d
goroutine 16 [syscall]:
runtime.cgocall(0x412710, 0x7f7b72384c98)
/usr/lib/go/src/pkg/runtime/cgocall.c:143 +0xe5 fp=0x7f7b72384c80 sp=0x7f7b72384c38
github.com/veandco/go-sdl2/sdl._Cfunc_SDL_RenderDrawPoint(0x1645140, 0x19000000190, 0x423d854c4f55898e)
github.com/veandco/go-sdl2/sdl/_obj/_cgo_defun.c:2681 +0x31 fp=0x7f7b72384c98 sp=0x7f7b72384c80
github.com/veandco/go-sdl2/sdl.(*Renderer).DrawPoint(0x1645140, 0x190, 0x190, 0x3f4848abdaa6ca9a)
/home/evanb/Documents/code/go/src/github.com/veandco/go-sdl2/sdl/render.go:245 +0x3d fp=0x7f7b72384cc0 sp=0x7f7b72384c98
main.DrawBodies(0x7f7b72384f28, 0x4, 0x4)
/home/evanb/Documents/code/go/src/github.com/EvanTheB/SDLGame/game.go:90 +0xd4 fp=0x7f7b72384da0 sp=0x7f7b72384cc0
main.main()
/home/evanb/Documents/code/go/src/github.com/EvanTheB/SDLGame/game.go:80 +0x494 fp=0x7f7b72384f50 sp=0x7f7b72384da0
runtime.main()
/usr/lib/go/src/pkg/runtime/proc.c:247 +0x11a fp=0x7f7b72384fa8 sp=0x7f7b72384f50
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445 fp=0x7f7b72384fb0 sp=0x7f7b72384fa8
created by _rt0_go
/usr/lib/go/src/pkg/runtime/asm_amd64.s:97 +0x120
goroutine 19 [finalizer wait]:
runtime.park(0x427940, 0x7ecd98, 0x7e1f29)
/usr/lib/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x7ecd98, 0x7e1f29)
/usr/lib/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/usr/lib/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445
goroutine 17 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445
exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment