Created
October 8, 2012 19:51
-
-
Save scottferg/3854544 to your computer and use it in GitHub Desktop.
Go GL crash OSX
This file contains hidden or 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
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x7fff949b0af4] | |
goroutine 1 [running]: | |
goroutine 2 [syscall]: | |
created by runtime.main | |
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/bindist497693387/go/src/pkg/runtime/proc.c:221 | |
goroutine 3 [syscall]: | |
github.com/go-gl/gl._Cfunc_glBindTexture(0x100000de1, 0x16347) | |
/tmp/go-build270386630/github.com/go-gl/gl/_obj/_cgo_defun.c:3498 +0x2f | |
github.com/go-gl/gl.Texture.Bind(0xde100000001, 0x2d000, 0x2d000) | |
/tmp/go-build270386630/github.com/go-gl/gl/_obj/gl.cgo1.go:430 +0x2b | |
main.(*Video).Render(0x160d80, 0x0) | |
/Users/scottwferg/Dropbox/Projects/nes/video_gl.go:83 +0x188 | |
created by main.main | |
/Users/scottwferg/Dropbox/Projects/nes/machine.go:212 +0x583 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment