Skip to content

Instantly share code, notes, and snippets.

@simonoff
Created July 25, 2015 20:10
Show Gist options
  • Save simonoff/1939da816ad24b1fb20c to your computer and use it in GitHub Desktop.
Save simonoff/1939da816ad24b1fb20c to your computer and use it in GitHub Desktop.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x404241]
goroutine 16 [running]:
runtime.panic(0x706920, 0x8f7f73)
/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
main.createClone(0xc20804c200, 0x0, 0x0)
/home/brad/gocode/src/github.com/drone/drone/cmd/drone-build/main.go:119 +0x411
main.main()
/home/brad/gocode/src/github.com/drone/drone/cmd/drone-build/main.go:40 +0x18a
goroutine 17 [runnable]:
runtime.MHeap_Scavenger()
/usr/local/go/src/pkg/runtime/mheap.c:507
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445
goroutine 18 [runnable]:
bgsweep()
/usr/local/go/src/pkg/runtime/mgc0.c:1976
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445
goroutine 19 [runnable]:
runfinq()
/usr/local/go/src/pkg/runtime/mgc0.c:2606
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment