Skip to content

Instantly share code, notes, and snippets.

@andrebq
Created February 21, 2014 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrebq/9136143 to your computer and use it in GitHub Desktop.
Save andrebq/9136143 to your computer and use it in GitHub Desktop.
Error when running particle.exe from go-qml.
panic: invalid memory address or nil pointer dereference
fatal error: panic during malloc
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x41ba0a]
runtime stack:
runtime.panic(0x4f2260, 0x677b0f)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist550409343/go/src/pkg/runtime/panic.c:233 +0x2b
runtime: unexpected return pc for runtime.sigpanic called from 0x7577ece2
goroutine 4 [syscall]:
runtime.cgocall(0x48c36b, 0x3f57c4)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist550409343/go/src/pkg/runtime/cgocall.c:149 +0x10c fp=0x3f57b8
github.com/niemeyer/qml._Cfunc_idleTimerInit(0x67f610)
C:/Users/andre/AppData/Local/Temp/go-build769845431/github.com/niemeyer/qml/_obj/_cgo_defun.c:229 +0x33 fp=0x3f57c4
github.com/niemeyer/qml.guiLoop()
C:/gopath/src/github.com/niemeyer/qml/bridge.go:39 +0x41 fp=0x3f57cc
runtime.goexit()
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist550409343/go/src/pkg/runtime/proc.c:1394 fp=0x3f57d0
created by github.com/niemeyer/qml.Init
C:/gopath/src/github.com/niemeyer/qml/qml.go:44 +0x8c
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x67f64c)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist550409343/go/src/pkg/runtime/sema.goc:199 +0x33
sync.(*Mutex).Lock(0x67f648)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist550409343/go/src/pkg/sync/mutex.go:66 +0xcd
github.com/niemeyer/qml.Init(0x0)
C:/gopath/src/github.com/niemeyer/qml/qml.go:45 +0x9c
main.main()
C:/gopath/src/github.com/niemeyer/qml/examples/particle/main.go:10 +0x27
goroutine 3 [syscall]:
runtime.goexit()
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist550409343/go/src/pkg/runtime/proc.c:1394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment