Skip to content

Instantly share code, notes, and snippets.

@xlab
Created May 1, 2014 06:57
Show Gist options
  • Select an option

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

Select an option

Save xlab/fc895d74a9918c4d3c3a to your computer and use it in GitHub Desktop.
.Interface()
panic: invalid memory address or nil pointer dereference
fatal error: panic during malloc
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x41b8ea]
runtime stack:
runtime.panic(0x4f2980, 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(0x48c63b, 0x8156b0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:149 +0x10c fp=0x8156a4
gopkg.in/qml%2ev0._Cfunc_objectGoAddr(0x32a69fd8, 0x12460368, 0x4d6a40)
C:/Users/Maxim/AppData/Local/Temp/go-build886702483/gopkg.in/qml.v0/_obj/_cgo_defun.c:391 +0x33 fp=0x8156b0
gopkg.in/qml%2ev0.func┬╖017()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/qml.go:480 +0x58 fp=0x8156d0
gopkg.in/qml%2ev0.hookIdleTimer()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/bridge.go:178 +0x53 fp=0x8156e8
----- stack segment boundary -----
runtime.cgocallbackg1()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:296 +0xb4 fp=0x81574c
runtime.cgocallbackg()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:266 +0x7a fp=0x815754
runtime.cgocallback_gofunc(0x403eb0, 0x48c10b, 0x8157a0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/asm_386.s:676 +0x57 fp=0x815764
runtime.asmcgocall(0x48c10b, 0x8157a0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/asm_386.s:584 +0x22 fp=0x815768
runtime.cgocall(0x48c10b, 0x8157a0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/cgocall.c:149 +0x120 fp=0x815794
gopkg.in/qml%2ev0._Cfunc_applicationExec(0x6790e8)
C:/Users/Maxim/AppData/Local/Temp/go-build886702483/gopkg.in/qml.v0/_obj/_cgo_defun.c:58 +0x33 fp=0x8157a0
gopkg.in/qml%2ev0.guiLoop()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/bridge.go:43 +0xe9 fp=0x8157cc
runtime.goexit()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/runtime/proc.c:1394 fp=0x8157d0
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(0x124672c0)
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/bridge.go:76 +0xa4
gopkg.in/qml%2ev0.(*Common).Interface(0x12460300, 0x0, 0x7bc8c8)
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/qml.go:483 +0x93
main.run(0x1, 0xffffffff)
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/examples/customtype/customtype.go:47 +0x15a
main.main()
C:/Users/Maxim/Go/src/gopkg.in/qml.v0/examples/customtype/customtype.go:10 +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