Skip to content

Instantly share code, notes, and snippets.

@xlab
Created May 1, 2014 00:39
Show Gist options
  • Select an option

  • Save xlab/e3982b2f44319a44ebb9 to your computer and use it in GitHub Desktop.

Select an option

Save xlab/e3982b2f44319a44ebb9 to your computer and use it in GitHub Desktop.
.ObjectByName("ctrl")
panic: invalid memory address or nil pointer dereference
fatal error: panic during malloc
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x41b60a]
runtime stack:
runtime.panic(0x4f2780, 0x671578)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/panic.c:233 +0x2b
runtime: unexpected return pc for runtime.sigpanic called from 0x6fcaef11
goroutine 4 [syscall]:
runtime.cgocall(0x48c5eb, 0x3e56b4)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:149 +0x10c fp=0x3e56a8
gopkg.in/qml%2ev0._Cfunc_objectFindChild(0x32982220, 0x32a1cda8, 0x124b7250)
C:/Users/Maxim/AppData/Local/Temp/go-build746801743/gopkg.in/qml.v0/_obj/_cgo_defun.c:373 +0x33 fp=0x3e56b4
gopkg.in/qml%2ev0.func┬╖020()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/qml.go:663 +0x7c fp=0x3e56d0
gopkg.in/qml%2ev0.hookIdleTimer()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/bridge.go:178 +0x53 fp=0x3e56e8
----- stack segment boundary -----
runtime.cgocallbackg1()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:296 +0xb4 fp=0x3e574c
runtime.cgocallbackg()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:266 +0x7a fp=0x3e5754
runtime.cgocallback_gofunc(0x403bd0, 0x48c11b, 0x3e57a0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/asm_386.s:676 +0x57 fp=0x3e5764
runtime.asmcgocall(0x48c11b, 0x3e57a0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/asm_386.s:584 +0x22 fp=0x3e5768
runtime.cgocall(0x48c11b, 0x3e57a0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:149 +0x120 fp=0x3e5794
gopkg.in/qml%2ev0._Cfunc_applicationExec(0x6790e8)
C:/Users/Maxim/AppData/Local/Temp/go-build746801743/gopkg.in/qml.v0/_obj/_cgo_defun.c:58 +0x33 fp=0x3e57a0
gopkg.in/qml%2ev0.guiLoop()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/bridge.go:43 +0xe9 fp=0x3e57cc
runtime.goexit()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/proc.c:1394 fp=0x3e57d0
created by gopkg.in/qml%2ev0.Init
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/qml.go:44 +0x8c
goroutine 1 [chan receive]:
gopkg.in/qml%2ev0.RunMain(0x124ca900)
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/bridge.go:76 +0xa4
gopkg.in/qml%2ev0.(*Common).ObjectByName(0x124b02d8, 0x5034e8, 0x4, 0x2ac8c8, 0x124b0298)
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/qml.go:664 +0xdc
main.run(0x1, 0xffffffff)
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/examples/customtype/customtype.go:38 +0x133
main.main()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/examples/customtype/customtype.go:11 +0x20
goroutine 3 [syscall]:
runtime.goexit()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/proc.c:1394
exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment